ARM: Fix ld bloat introduced between binutils-2.38 and 2.39
Alan Modra
amodra@gmail.com
Tue Jan 3 08:12:17 GMT 2023
On Tue, Jan 03, 2023 at 03:41:19AM +0100, Hans-Peter Nilsson wrote:
> So, let's do like x86-64 in a2267dbfc9e1 "x86-64: Use only
> one default max-page-size" and set ELF_MAXPAGESIZE to 4096.
No objections here, but should be acked by one of the ARM maintainers.
>
> bfd:
> * elf32-arm.c (ELF_COMMONPAGESIZE): Always set to 0x1000.
> ---
> bfd/elf32-arm.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
> index 0cd3aec14368..b83c43c741c9 100644
> --- a/bfd/elf32-arm.c
> +++ b/bfd/elf32-arm.c
> @@ -20261,11 +20261,7 @@ elf32_arm_backend_symbol_processing (bfd *abfd, asymbol *sym)
> #define ELF_ARCH bfd_arch_arm
> #define ELF_TARGET_ID ARM_ELF_DATA
> #define ELF_MACHINE_CODE EM_ARM
> -#ifdef __QNXTARGET__
> #define ELF_MAXPAGESIZE 0x1000
> -#else
> -#define ELF_MAXPAGESIZE 0x10000
> -#endif
> #define ELF_COMMONPAGESIZE 0x1000
>
> #define bfd_elf32_mkobject elf32_arm_mkobject
> --
> 2.30.2
>
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list