From 6dd9ec6c589d9b75cae74046d2a1e0e1c59b950f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 14 May 2005 05:07:15 +0000 Subject: [PATCH] include/elf/ * ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK. bfd/ * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT, not DT_PPC_GLINK. (ppc_elf_finish_dynamic_sections): Likewise. binutils/ * readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not DT_PPC_GLINK. --- include/elf/ChangeLog | 4 ++++ include/elf/ppc.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index d9d736059..ab6c3c8dc 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2005-05-14 Alan Modra + + * ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK. + 2005-05-11 Alan Modra * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT, diff --git a/include/elf/ppc.h b/include/elf/ppc.h index 1ccbda347..ca5035274 100644 --- a/include/elf/ppc.h +++ b/include/elf/ppc.h @@ -145,8 +145,8 @@ END_RELOC_NUMBERS (R_PPC_max) #define IS_PPC_TLS_RELOC(R) \ ((R) >= R_PPC_TLS && (R) <= R_PPC_GOT_DTPREL16_HA) -/* Specify the start of the .glink section. */ -#define DT_PPC_GLINK DT_LOPROC +/* Specify the value of _GLOBAL_OFFSET_TABLE_. */ +#define DT_PPC_GOT DT_LOPROC /* Processor specific flags for the ELF header e_flags field. */