Re: [PATCH modules 1/2] module: allow arch overrides for .exit section names

2019-06-06 Thread Matthias Schiffer
On Thu, 2019-06-06 at 17:09 +0200, Jessica Yu wrote: > +++ Matthias Schiffer [03/06/19 12:57 +0200]: > > Some archs like ARM store unwind information for .exit.text in > > sections > > with unusual names. As this unwind information refers to > > .exit.text, it > > must not be loaded when

Re: [PATCH modules 1/2] module: allow arch overrides for .exit section names

2019-06-06 Thread Jessica Yu
+++ Matthias Schiffer [03/06/19 12:57 +0200]: Some archs like ARM store unwind information for .exit.text in sections with unusual names. As this unwind information refers to .exit.text, it must not be loaded when .exit.text is not loaded (when CONFIG_MODULE_UNLOAD is unset); otherwise, loading

[PATCH modules 1/2] module: allow arch overrides for .exit section names

2019-06-03 Thread Matthias Schiffer
Some archs like ARM store unwind information for .exit.text in sections with unusual names. As this unwind information refers to .exit.text, it must not be loaded when .exit.text is not loaded (when CONFIG_MODULE_UNLOAD is unset); otherwise, loading a module can fail due to relocation failures.