summaryrefslogtreecommitdiffstats
path: root/arch/hexagon
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-08-21 12:42:43 -0700
committerIngo Molnar <mingo@kernel.org>2020-09-01 09:50:35 +0200
commitdfbe69689b4dee19021d8c315a5137b4790b5634 (patch)
tree307896ff584b2d099070cb640bc78ca5630aacab /arch/hexagon
parent03c2b85cb7f13e9bd82cbe4201ede52177d433f5 (diff)
downloadlinux-dfbe69689b4dee19021d8c315a5137b4790b5634.tar.gz
linux-dfbe69689b4dee19021d8c315a5137b4790b5634.tar.bz2
linux-dfbe69689b4dee19021d8c315a5137b4790b5634.zip
vmlinux.lds.h: Add .gnu.version* to COMMON_DISCARDS
For vmlinux linking, no architecture uses the .gnu.version* sections, so remove it via the COMMON_DISCARDS macro in preparation for adding --orphan-handling=warn more widely. This is a work-around for what appears to be a bug[1] in ld.bfd which warns for this synthetic section even when none is found in input objects, and even when no section is emitted for an output object[2]. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=26153 [2] https://lore.kernel.org/lkml/202006221524.CEB86E036B@keescook/ Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Fangrui Song <maskray@google.com> Cc: linux-arch@vger.kernel.org Link: https://lore.kernel.org/r/20200821194310.3089815-3-keescook@chromium.org
Diffstat (limited to 'arch/hexagon')
0 files changed, 0 insertions, 0 deletions