diff options
author | Kees Cook <keescook@chromium.org> | 2020-08-21 12:42:58 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-09-01 10:03:18 +0200 |
commit | 512dd2eebe5585893412e0c8bec8dbfe2dead6c8 (patch) | |
tree | fcb11b9709294393b6e5593d2d668f1bc8491033 /arch/arm/include | |
parent | 3b14aefb84320ac430cecbdc87b680317916b2bd (diff) | |
download | linux-512dd2eebe5585893412e0c8bec8dbfe2dead6c8.tar.bz2 |
arm/build: Add missing sections
Add missing text stub sections .vfp11_veneer and .v4_bx, as well as
missing DWARF sections, when present in the build.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://lore.kernel.org/r/20200821194310.3089815-18-keescook@chromium.org
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/vmlinux.lds.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/vmlinux.lds.h b/arch/arm/include/asm/vmlinux.lds.h index c4af5182ab48..6624dd97475c 100644 --- a/arch/arm/include/asm/vmlinux.lds.h +++ b/arch/arm/include/asm/vmlinux.lds.h @@ -59,7 +59,9 @@ #define ARM_STUBS_TEXT \ *(.gnu.warning) \ *(.glue_7) \ - *(.glue_7t) + *(.glue_7t) \ + *(.vfp11_veneer) \ + *(.v4_bx) #define ARM_TEXT \ IDMAP_TEXT \ |