From bb67763979c2084af185a8bf6ead4a05a50e7b9d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 1 Jan 2022 13:50:37 +1030 Subject: 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. --- bfd/elf32-arm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bfd/elf32-arm.c') diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 1655d52..faf14e9 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -20234,7 +20234,6 @@ elf32_arm_backend_symbol_processing (bfd *abfd, asymbol *sym) #else #define ELF_MAXPAGESIZE 0x10000 #endif -#define ELF_MINPAGESIZE 0x1000 #define ELF_COMMONPAGESIZE 0x1000 #define bfd_elf32_mkobject elf32_arm_mkobject @@ -20410,7 +20409,6 @@ elf32_arm_nacl_plt_sym_val (bfd_vma i, const asection *plt, #undef elf_backend_final_write_processing #define elf_backend_final_write_processing elf32_arm_final_write_processing #undef ELF_MINPAGESIZE -#define ELF_MINPAGESIZE 0x1000 #undef ELF_COMMONPAGESIZE #define ELF_COMMONPAGESIZE 0x1000 -- cgit v1.1