This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [PATCH] Support %r_disp{8,16,32,64} and %r_plt{32,64} on SPARC


On Fri, Dec 21, 2001 at 10:25:42AM -0800, Richard Henderson wrote:
> On Fri, Dec 21, 2001 at 01:23:06PM -0500, DJ Delorie wrote:
> > What's the advantage of this big %r_disp32 patch over just using
> > DW_EH_PE_aligned?
> 
> No dynamic relocations.

That (most important), plus wasted space due to alignment (3 bytes for every
LSDA (resp 7 bytes for 64-bit)), plus with %r_disp* we can use 32-bit
encodings (ie. 8 bytes saved for FDE initloc + range and additionaly 4
bytes saved for LSDA (if current CIE has FDEs).

	Jakub


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