diff options
author | Alan Modra <amodra@gmail.com> | 2022-01-01 13:50:37 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-01-01 14:22:09 +1030 |
commit | bb67763979c2084af185a8bf6ead4a05a50e7b9d (patch) | |
tree | fe600f7afbc8c77775ef6bcd9488a19ebb5e1f43 /bfd/elf64-x86-64.c | |
parent | f01e6568a892beb841da00fcb18556fe75e74e39 (diff) | |
download | fsf-binutils-gdb-bb67763979c2084af185a8bf6ead4a05a50e7b9d.zip fsf-binutils-gdb-bb67763979c2084af185a8bf6ead4a05a50e7b9d.tar.gz fsf-binutils-gdb-bb67763979c2084af185a8bf6ead4a05a50e7b9d.tar.bz2 |
Remove unnecessary ELF_MINPAGESIZE defines
The idea of this patch is to make it easy to see which targets (just
sparc) have ELF_MINPAGESIZE != ELF_COMMONPAGESIZE.
* elf32-arm.c (ELF_MINPAGESIZE): Don't define.
* elf32-metag.c: Likewise.
* elfnn-aarch64.c: Likewise.
* elf64-x86-64.c: Likewise. Also don't redefine a bunch of other
macros for l1om elf64-target.h use that are unchanged from default.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r-- | bfd/elf64-x86-64.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 6d201df..f6f0271 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -5229,7 +5229,6 @@ elf_x86_64_special_sections[]= #else # define ELF_MAXPAGESIZE 0x200000 #endif -#define ELF_MINPAGESIZE 0x1000 #define ELF_COMMONPAGESIZE 0x1000 #define elf_backend_can_gc_sections 1 @@ -5414,18 +5413,6 @@ elf64_l1om_elf_object_p (bfd *abfd) #define elf_backend_object_p elf64_l1om_elf_object_p /* Restore defaults. */ -#undef ELF_MAXPAGESIZE -#undef ELF_MINPAGESIZE -#undef ELF_COMMONPAGESIZE -#if DEFAULT_LD_Z_SEPARATE_CODE -# define ELF_MAXPAGESIZE 0x1000 -#else -# define ELF_MAXPAGESIZE 0x200000 -#endif -#define ELF_MINPAGESIZE 0x1000 -#define ELF_COMMONPAGESIZE 0x1000 -#undef elf_backend_plt_alignment -#define elf_backend_plt_alignment 4 #undef ELF_TARGET_OS #include "elf64-target.h" |