summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/shared
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-05-07 10:16:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-05-07 10:31:51 +0200
commitf6895c6d552772cd16f36c20551bfa84190bb5b9 (patch)
tree8a1ef2963bbe76ba7409445d6b224433e960dde6 /bsps/powerpc/shared
parentbsp/motorola_powerpc: Fix bootloader output (diff)
downloadrtems-f6895c6d552772cd16f36c20551bfa84190bb5b9.tar.bz2
bsps/powerpc: Fix C++ exception handling
Close #3736.
Diffstat (limited to 'bsps/powerpc/shared')
-rw-r--r--bsps/powerpc/shared/start/linkcmds.share5
1 files changed, 3 insertions, 2 deletions
diff --git a/bsps/powerpc/shared/start/linkcmds.share b/bsps/powerpc/shared/start/linkcmds.share
index 7bf7279a02..365a84953f 100644
--- a/bsps/powerpc/shared/start/linkcmds.share
+++ b/bsps/powerpc/shared/start/linkcmds.share
@@ -134,7 +134,8 @@ SECTIONS
. += 1;
PROVIDE (__SBSS2_END__ = .);
} >CODE
- .eh_frame : { *(.eh_frame) } >CODE
+ .eh_frame_hdr : { *(.eh_frame_hdr) } >CODE
+ .eh_frame : { KEEP (*(.eh_frame)) } >CODE
/* NOTE: if the BSP uses page tables, the correctness of
* '_etext' (and __DATA_START__) is CRUCIAL - otherwise,
@@ -171,7 +172,7 @@ SECTIONS
} > CODE
.data1 : { *(.data1) } > CODE
PROVIDE (__EXCEPT_START__ = .);
- .gcc_except_table : { *(.gcc_except_table*) } > CODE
+ .gcc_except_table : { *(.gcc_except_table .gcc_except_table.*) } > CODE
PROVIDE (__EXCEPT_END__ = .);
.got1 : { *(.got1) } > CODE
/* Put .ctors and .dtors next to the .got2 section, so that the pointers