From: Richard Henderson Date: Thu, 18 Dec 2014 21:40:25 +0000 (-0600) Subject: Set ppc COMMONPAGESIZE to 64k X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04c6a44c7c74d9e60ca47373a0d7d51209d93dbc;p=binutils-gdb.git Set ppc COMMONPAGESIZE to 64k bfd/ * elf32-ppc.c (ELF_COMMONPAGESIZE): Set to 64k. * elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6152f510c38..eec359f4d91 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2014-12-18 Richard Henderson + + * elf32-ppc.c (ELF_COMMONPAGESIZE): Set to 64k. + * elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise. + 2014-12-16 Nick Clifton PR binutils/17512 diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 8429e8f95b7..1ebb2c77fa1 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -10327,11 +10327,12 @@ ppc_elf_finish_dynamic_sections (bfd *output_bfd, #define ELF_MACHINE_CODE EM_PPC #ifdef __QNXTARGET__ #define ELF_MAXPAGESIZE 0x1000 +#define ELF_COMMONPAGESIZE 0x1000 #else #define ELF_MAXPAGESIZE 0x10000 +#define ELF_COMMONPAGESIZE 0x10000 #endif #define ELF_MINPAGESIZE 0x1000 -#define ELF_COMMONPAGESIZE 0x1000 #define elf_info_to_howto ppc_elf_info_to_howto #ifdef EM_CYGNUS_POWERPC diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 26ae9ed6571..88ae80c77cc 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -64,7 +64,7 @@ static bfd_vma opd_entry_value #define ELF_TARGET_ID PPC64_ELF_DATA #define ELF_MACHINE_CODE EM_PPC64 #define ELF_MAXPAGESIZE 0x10000 -#define ELF_COMMONPAGESIZE 0x1000 +#define ELF_COMMONPAGESIZE 0x10000 #define elf_info_to_howto ppc64_elf_info_to_howto #define elf_backend_want_got_sym 0