Commit 512dd2ee authored by Kees Cook's avatar Kees Cook Committed by Ingo Molnar

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: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://lore.kernel.org/r/20200821194310.3089815-18-keescook@chromium.org
parent 3b14aefb
...@@ -59,7 +59,9 @@ ...@@ -59,7 +59,9 @@
#define ARM_STUBS_TEXT \ #define ARM_STUBS_TEXT \
*(.gnu.warning) \ *(.gnu.warning) \
*(.glue_7) \ *(.glue_7) \
*(.glue_7t) *(.glue_7t) \
*(.vfp11_veneer) \
*(.v4_bx)
#define ARM_TEXT \ #define ARM_TEXT \
IDMAP_TEXT \ IDMAP_TEXT \
......
...@@ -150,6 +150,7 @@ SECTIONS ...@@ -150,6 +150,7 @@ SECTIONS
_end = .; _end = .;
STABS_DEBUG STABS_DEBUG
DWARF_DEBUG
ARM_DETAILS ARM_DETAILS
} }
......
...@@ -149,6 +149,7 @@ SECTIONS ...@@ -149,6 +149,7 @@ SECTIONS
_end = .; _end = .;
STABS_DEBUG STABS_DEBUG
DWARF_DEBUG
ARM_DETAILS ARM_DETAILS
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment