summaryrefslogtreecommitdiff
path: root/bl2/bl2.ld.S
diff options
context:
space:
mode:
Diffstat (limited to 'bl2/bl2.ld.S')
-rw-r--r--bl2/bl2.ld.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/bl2/bl2.ld.S b/bl2/bl2.ld.S
index 5935a64b..6d26cdb2 100644
--- a/bl2/bl2.ld.S
+++ b/bl2/bl2.ld.S
@@ -32,6 +32,15 @@ SECTIONS
__TEXT_END__ = .;
} >RAM
+ /* .ARM.extab and .ARM.exidx are only added because Clang need them */
+ .ARM.extab . : {
+ *(.ARM.extab* .gnu.linkonce.armextab.*)
+ } >RAM
+
+ .ARM.exidx . : {
+ *(.ARM.exidx* .gnu.linkonce.armexidx.*)
+ } >RAM
+
.rodata . : {
__RODATA_START__ = .;
*(.rodata*)