PATCH to libgloss/sparc/elfsim.ld

J. Johnston jjohnstn@redhat.com
Thu Feb 28 09:43:00 GMT 2002


Jason Merrill wrote:
> 
> Something I noticed; I don't know if this was actually breaking anything.
> OK to check in?
> 
> 2002-02-28  Jason Merrill  <jason@redhat.com>
> 
>         * sparc/elfsim.ld (.text): Fix __EH_FRAME_BEGIN__ definition.
>         * sparc/sparc86x.ld (.text): Likewise.
> 
>

Yes.  Makes sense.  I assume you have run some sort of exception handling
test to verify this isn't hiding another bug.

-- Jeff J.
  
--------------------------------------------------------------------------------
> *** elfsim.ld.~1~       Thu Feb 28 10:44:49 2002
> --- elfsim.ld   Wed Feb 13 10:26:36 2002
> *************** SECTIONS
> *** 95,101 ****
>     {
>       _stext = .;
>       PROVIDE (stext = .);
> -     __EH_FRAME_BEGIN__ = .;
>       *(.text)
>       _etext = .;
>       PROVIDE (etext = .);
> --- 95,100 ----
> *************** SECTIONS
> *** 123,128 ****
> --- 122,128 ----
>       *(.lit)
>       *(.rodata)
>       *(.shdata)
> +     __EH_FRAME_BEGIN__ = .;
>       *(.eh_frame)
>       *(.gnu.linkonce.t*)
>       *(.gnu.linkonce.r*)
> *** sparc86x.ld.~1~     Thu Feb 28 10:44:49 2002
> --- sparc86x.ld Wed Feb 13 10:26:37 2002
> *************** SECTIONS
> *** 82,88 ****
>     .text : {
>       stext = .;
>       _stext = .;
> -     __EH_FRAME_BEGIN__ = .;
> 
>       CREATE_OBJECT_SYMBOLS
>       *(.text)
> --- 82,87 ----
> *************** SECTIONS
> *** 108,113 ****
> --- 107,113 ----
>       *(.lit)
>       *(.rodata)
>       *(.shdata)
> +     __EH_FRAME_BEGIN__ = .;
>       *(.eh_frame)
>       *(.gnu.linkonce.t*)
>       *(.gnu.linkonce.r*)



More information about the Newlib mailing list