aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-02-08 10:33:17 +1030
committerAlan Modra <amodra@gmail.com>2022-02-13 14:00:56 +1030
commit7d6aa4b321f2722512be7422394629eec526448b (patch)
tree7d133ad767ab4844a056e2682ed5eccc9ab2e4bf /bfd/elf32-ppc.c
parent31b4d3a16f200bf04db8439a63b72bba7af4e1be (diff)
downloadfsf-binutils-gdb-7d6aa4b321f2722512be7422394629eec526448b.zip
fsf-binutils-gdb-7d6aa4b321f2722512be7422394629eec526448b.tar.gz
fsf-binutils-gdb-7d6aa4b321f2722512be7422394629eec526448b.tar.bz2
Remove bfd ELF_RELROPAGESIZE
Now that ld properly aligns the end of the relro segment, the hack to make relro work on powerpc can disappear. bfd/ * bfd.c (bfd_emul_get_commonpagesize): Remove relro param. Don't return bed->relropagesize. * elf-bfd.h (struct elf_backend_data): Remove relropagesize. * elfxx-target.h (ELF_RELROPAGESIZE): Remove. * elf32-ppc.c (ELF_RELROPAGESIZE): Don't define. * elf64-ppc.c: Likewise. * bfd-in2.h: Regenerate. ld/ * ldemul.c (after_parse_default): Adjust bfd_emul_get_commonpagesize call.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 5305130..42273ca 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -10373,7 +10373,6 @@ ppc_elf_finish_dynamic_sections (bfd *output_bfd,
#define ELF_MACHINE_CODE EM_PPC
#define ELF_MAXPAGESIZE 0x10000
#define ELF_COMMONPAGESIZE 0x1000
-#define ELF_RELROPAGESIZE ELF_MAXPAGESIZE
#define elf_info_to_howto ppc_elf_info_to_howto
#ifdef EM_CYGNUS_POWERPC