summaryrefslogtreecommitdiffstats
path: root/mm/failslab.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-11-23 17:41:40 +0100
committerMichal Marek <mmarek@suse.com>2016-11-29 15:58:57 +0100
commit9da2f584b54fa4bf0df4db220cd89b6c7e691c6e (patch)
tree1c3d6d0a7af3e5425d203738c91e45caab7f7e80 /mm/failslab.c
parentgenksyms: Regenerate parser (diff)
downloadlinux-9da2f584b54fa4bf0df4db220cd89b6c7e691c6e.tar.xz
linux-9da2f584b54fa4bf0df4db220cd89b6c7e691c6e.zip
kbuild: improve linker compatibility with lib-ksyms.o build
lib-ksyms.o is created by linking an empty input file with a linker script containing the interesting bits. Currently the empty input file is an archive containing nothing, however this causes the gold linker to segfault. I have opened a bug against gold https://sourceware.org/bugzilla/show_bug.cgi?id=20767 However this can be worked around by assembling an empty file to link with instead. The resulting lib-ksyms.o is slightly larger (seemingly due to empty .text, .data, .bss setions added), but final linked output should not be changed. Reported-by: Anton Blanchard <anton@samba.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions