aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-09-25 17:06:09 +0000
committerDaniel Jacobowitz <drow@false.org>2002-09-25 17:06:09 +0000
commitff3268267c4317623b32ad875344914633e7adc4 (patch)
tree62c7e3e2e208dedd1f2daa2e273de29f898d3a87 /ld
parent14a2a2f196f08aff351fd98a27e77f492ad0cdc6 (diff)
downloadgdb-ff3268267c4317623b32ad875344914633e7adc4.zip
gdb-ff3268267c4317623b32ad875344914633e7adc4.tar.gz
gdb-ff3268267c4317623b32ad875344914633e7adc4.tar.bz2
From "Anita Kulkarni" <AnitaK@kpit.com>
* scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* sections.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/scripttempl/sh.sc5
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 6eff379..8bec409 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-25 Daniel Jacobowitz <drow@mvista.com>
+
+ From "Anita Kulkarni" <AnitaK@kpit.com>
+ * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
+ sections.
+
2002-09-25 Alan Modra <amodra@bigpond.net.au>
* genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
diff --git a/ld/scripttempl/sh.sc b/ld/scripttempl/sh.sc
index 036dd21..e7f049f 100644
--- a/ld/scripttempl/sh.sc
+++ b/ld/scripttempl/sh.sc
@@ -29,6 +29,11 @@ SECTIONS
.data :
{
*(.data)
+ ${RELOCATING+*(.gcc_exc*)}
+ ${RELOCATING+___EH_FRAME_BEGIN__ = . ;}
+ ${RELOCATING+*(.eh_fram*)}
+ ${RELOCATING+___EH_FRAME_END__ = . ;}
+ ${RELOCATING+LONG(0);}
${RELOCATING+ _edata = . ; }
} ${RELOCATING+ > ram}
.bss :