summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorNicholas Piggin2016-09-14 04:24:03 +0200
committerMichal Marek2016-09-22 14:37:14 +0200
commit0f4c4af06eec5717041d6fe568b80ee4cf3c1475 (patch)
tree6e6960b1b8fdda70d042f4edda0001818db0c8e3 /lib/lcm.c
parentkbuild: add arch specific post-link Makefile (diff)
downloadkernel-qcow2-linux-0f4c4af06eec5717041d6fe568b80ee4cf3c1475.tar.gz
kernel-qcow2-linux-0f4c4af06eec5717041d6fe568b80ee4cf3c1475.tar.xz
kernel-qcow2-linux-0f4c4af06eec5717041d6fe568b80ee4cf3c1475.zip
kbuild: -ffunction-sections fix for archs with conflicting sections
Enabling -ffunction-sections modified the generic linker script to pull .text.* sections into regular TEXT_TEXT section, conflicting with some architectures. Revert that change and require archs that enable the option to ensure they have no conflicting section names, and do the appropriate merging. Reported-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Fixes: b67067f1176d ("kbuild: allow archs to select link dead code/data elimination") Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions