diff options
| author | Petr Pavlu <petr.pavlu@suse.com> | 2026-03-27 08:59:02 +0100 |
|---|---|---|
| committer | Sami Tolvanen <samitolvanen@google.com> | 2026-05-26 20:45:59 +0000 |
| commit | 9cb4d4dc82272538de1b7edb6e8cf91597ed00b0 (patch) | |
| tree | 50aa8a599bfa1c1cec12baeb3638e9c189589a8b /include/linux/timerqueue.h | |
| parent | c5553deb577fe433f770e270fd9582b8325f12d9 (diff) | |
module, m68k: force sh_addr=0 for arch-specific sections
When linking modules with 'ld.bfd -r', sections defined without an address
inherit the location counter, resulting in non-zero sh_addr values in the
resulting .ko files. Relocatable objects are expected to have sh_addr=0 for
all sections. Non-zero addresses are confusing in this context, typically
worse compressible, and may cause tools to misbehave [1].
Force sh_addr=0 for all m68k-specific module sections.
Link: https://sourceware.org/bugzilla/show_bug.cgi?id=33958 [1]
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
