.eh_frame should be readonly

Jason Merrill jason@cygnus.com
Wed Sep 24 09:45:00 GMT 1997


>>>>> Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:

> Teemu Torma <tot@Trema.COM> writes:
> |>     From:  Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
> |>     Date:  24 Sep 1997 11:23:54 +0200

> |>     As far as i can see there is nothing that wants to write to the .eh_frame
> |>     section at runtime.  Thus this section should be marked as readonly.
    
> |> Dynamic linker maybe?  

> What do you mean?  If you mean relocations, then, no, there are no
> runtime relocations in .eh_frame.

What do you mean?  Of course there are relocations, to the beginnings of
functions and to the exception range table.

Jason



More information about the Gcc mailing list