diff options
author | Alan Modra <amodra@gmail.com> | 2022-02-08 10:33:17 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-02-13 14:00:56 +1030 |
commit | 7d6aa4b321f2722512be7422394629eec526448b (patch) | |
tree | 7d133ad767ab4844a056e2682ed5eccc9ab2e4bf /bfd/elf-bfd.h | |
parent | 31b4d3a16f200bf04db8439a63b72bba7af4e1be (diff) | |
download | gdb-7d6aa4b321f2722512be7422394629eec526448b.zip gdb-7d6aa4b321f2722512be7422394629eec526448b.tar.gz 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/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 1d3ae76..889a474 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -946,9 +946,6 @@ struct elf_backend_data /* The common page size for this backend. */ bfd_vma commonpagesize; - /* The value of commonpagesize to use when -z relro for this backend. */ - bfd_vma relropagesize; - /* The p_align value for this backend. If it is set, p_align of PT_LOAD alignment will be to p_align by default. */ bfd_vma p_align; |