This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: S/390: Avoid relocations in .eh_frame section


On Wed, Nov 20, 2002 at 08:58:03PM +0100, Ulrich Weigand wrote:
> > Well, there is of course also the possibility to move the work
> > to the linker optimization, ie. start with DW_EH_PE_sdata8 | DW_EH_PE_pcrel
> > and if linker sees the shared library or binary is smaller than 2GB,
> > rewrite it into DW_EH_PE_sdata4 | DW_EH_PE_pcrel.
> > In fact this would be a IMO good idea for all 64-bit arches.
> 
> I like this idea much better ;-)  Would this is be a common-code
> optimization in binutils or platform-dependent?

Common code. Shouldn't be too hard, will look at it soon.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]