[ia64-tools] Re: Re: RE: Re: R_IA64_* in elf.h

Ulrich Drepper drepper@redhat.com
Mon Oct 16 15:09:00 GMT 2000


Jim Wilson <wilson@cygnus.com> writes:

> include/elf/
> 1999-01-09  David Mosberger-Tang  <David.Mosberger@acm.org>
> 
> 	* ia64.h (R_IA64_GPREL32MSB): Add R_IA64_GPREL32LSB and R_IA64_GPREL32MSB.

The question is: do we use them anywhere?  They are present in bfd,
they are printed, but are they generated?


While looking at this is important of much bigger concern are the LTV
relocations.  BFD currently has:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  RELOC_NUMBER (R_IA64_LTV32MSB, 0x70)  /* symbol + addend, data4 MSB */
  RELOC_NUMBER (R_IA64_LTV32LSB, 0x71)  /* symbol + addend, data4 LSB */
  RELOC_NUMBER (R_IA64_LTV64MSB, 0x72)  /* symbol + addend, data8 MSB */
  RELOC_NUMBER (R_IA64_LTV64LSB, 0x73)  /* symbol + addend, data8 LSB */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

while the psABI contains the equivalent of

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define R_IA64_LTV32MSB		0x74	/* symbol + addend, data4 MSB */
#define R_IA64_LTV32LSB		0x75	/* symbol + addend, data4 LSB */
#define R_IA64_LTV64MSB		0x76	/* symbol + addend, data8 MSB */
#define R_IA64_LTV64LSB		0x77	/* symbol + addend, data8 LSB */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note the different numbers.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list