From ff3268267c4317623b32ad875344914633e7adc4 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Wed, 25 Sep 2002 17:06:09 +0000 Subject: [PATCH] From "Anita Kulkarni" * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* sections. --- ld/ChangeLog | 6 ++++++ ld/scripttempl/sh.sc | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 6eff3797035..8bec4095312 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2002-09-25 Daniel Jacobowitz + + From "Anita Kulkarni" + * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* + sections. + 2002-09-25 Alan Modra * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before diff --git a/ld/scripttempl/sh.sc b/ld/scripttempl/sh.sc index 036dd216db2..e7f049fb0ec 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 : -- 2.30.2