diff --git a/ld/ChangeLog b/ld/ChangeLog index c77b0873dc..33bdae1501 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-07-29 Stephane Carrez + + * scripttempl/elfm68hc12.sc: Add gcc_except_table. + * scripttempl/elfm68hc11.sc: Likewise. + 2003-07-28 Alan Modra * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. diff --git a/ld/scripttempl/elfm68hc11.sc b/ld/scripttempl/elfm68hc11.sc index 5188982e73..f4977f67ac 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 94f10c959f..876aff0a7f 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)