aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
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/scripttempl
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/scripttempl')
-rw-r--r--ld/scripttempl/sh.sc5
1 files changed, 5 insertions, 0 deletions
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 :