* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,

R_PPC_RELAX32PC_PLT) Adjust.
	(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
	(DT_PPC_GLINK): Define.
This commit is contained in:
Alan Modra 2005-05-11 14:08:45 +00:00
parent 6791e1b14a
commit 2df98d85f8
2 changed files with 24 additions and 9 deletions

View file

@ -1,3 +1,10 @@
2005-05-11 Alan Modra <amodra@bigpond.net.au>
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT) Adjust.
(R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define.
(DT_PPC_GLINK): Define.
2005-05-10 Nick Clifton <nickc@redhat.com> 2005-05-10 Nick Clifton <nickc@redhat.com>
* Update the address and phone number of the FSF organization in * Update the address and phone number of the FSF organization in

View file

@ -120,12 +120,17 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115) RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115)
RELOC_NUMBER (R_PPC_EMB_RELSDA, 116) RELOC_NUMBER (R_PPC_EMB_RELSDA, 116)
/* Fake relocations for branch stubs. This will keep them /* Fake relocations for branch stubs, only used internally by ld. */
together. */ #define R_PPC_RELAX32 245
#define R_PPC_RELAX32 249 #define R_PPC_RELAX32PC 246
#define R_PPC_RELAX32PC 250 #define R_PPC_RELAX32_PLT 247
#define R_PPC_RELAX32_PLT 251 #define R_PPC_RELAX32PC_PLT 248
#define R_PPC_RELAX32PC_PLT 252
/* These are GNU extensions used in PIC code sequences. */
RELOC_NUMBER (R_PPC_REL16, 249)
RELOC_NUMBER (R_PPC_REL16_LO, 250)
RELOC_NUMBER (R_PPC_REL16_HI, 251)
RELOC_NUMBER (R_PPC_REL16_HA, 252)
/* These are GNU extensions to enable C++ vtable garbage collection. */ /* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_PPC_GNU_VTINHERIT, 253) RELOC_NUMBER (R_PPC_GNU_VTINHERIT, 253)
@ -140,6 +145,9 @@ END_RELOC_NUMBERS (R_PPC_max)
#define IS_PPC_TLS_RELOC(R) \ #define IS_PPC_TLS_RELOC(R) \
((R) >= R_PPC_TLS && (R) <= R_PPC_GOT_DTPREL16_HA) ((R) >= R_PPC_TLS && (R) <= R_PPC_GOT_DTPREL16_HA)
/* Specify the start of the .glink section. */
#define DT_PPC_GLINK DT_LOPROC
/* Processor specific flags for the ELF header e_flags field. */ /* Processor specific flags for the ELF header e_flags field. */
#define EF_PPC_EMB 0x80000000 /* PowerPC embedded flag. */ #define EF_PPC_EMB 0x80000000 /* PowerPC embedded flag. */