aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-07-29 20:17:17 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-07-29 20:17:17 +0000
commit83a27a96d4040509dd939341f6961646d4e337b2 (patch)
tree5490756bc184e9de55115f29d0fd7ba613fcc41c /ld/scripttempl
parent2445335eea2f5fd3ad6dc07027db6baef2814c52 (diff)
downloadgdb-83a27a96d4040509dd939341f6961646d4e337b2.zip
gdb-83a27a96d4040509dd939341f6961646d4e337b2.tar.gz
gdb-83a27a96d4040509dd939341f6961646d4e337b2.tar.bz2
* scripttempl/elfm68hc12.sc: Add gcc_except_table.
* scripttempl/elfm68hc11.sc: Likewise.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfm68hc11.sc5
-rw-r--r--ld/scripttempl/elfm68hc12.sc5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/scripttempl/elfm68hc11.sc b/ld/scripttempl/elfm68hc11.sc
index 5188982..f4977f6 100644
--- a/ld/scripttempl/elfm68hc11.sc
+++ b/ld/scripttempl/elfm68hc11.sc
@@ -328,6 +328,11 @@ SECTIONS
KEEP (*(.eh_frame))
} ${RELOCATING+ > ${TEXT_MEMORY}}
+ .gcc_except_table ${RELOCATING-0} :
+ {
+ *(.gcc_except_table)
+ } ${RELOCATING+ > ${TEXT_MEMORY}}
+
.rodata ${RELOCATING-0} :
{
*(.rodata)
diff --git a/ld/scripttempl/elfm68hc12.sc b/ld/scripttempl/elfm68hc12.sc
index 94f10c9..876aff0 100644
--- a/ld/scripttempl/elfm68hc12.sc
+++ b/ld/scripttempl/elfm68hc12.sc
@@ -326,6 +326,11 @@ SECTIONS
KEEP (*(.eh_frame))
} ${RELOCATING+ > ${TEXT_MEMORY}}
+ .gcc_except_table ${RELOCATING-0} :
+ {
+ *(.gcc_except_table)
+ } ${RELOCATING+ > ${TEXT_MEMORY}}
+
.rodata ${RELOCATING-0} :
{
*(.rodata)