Set ppc COMMONPAGESIZE to 64k
authorRichard Henderson <rth@redhat.com>
Thu, 18 Dec 2014 21:40:25 +0000 (15:40 -0600)
committerRichard Henderson <rth@redhat.com>
Thu, 18 Dec 2014 21:40:25 +0000 (15:40 -0600)
bfd/
* elf32-ppc.c (ELF_COMMONPAGESIZE): Set to 64k.
* elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.

bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c

index 6152f510c3809af053db549fec8e6426a78f89b7..eec359f4d91a0f70c01aeffedf5e53e071cc8940 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-18  Richard Henderson  <rth@redhat.com>
+
+       * elf32-ppc.c (ELF_COMMONPAGESIZE): Set to 64k.
+       * elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.
+
 2014-12-16  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/17512
index 8429e8f95b7ff23764b3118482f2c218d654205a..1ebb2c77fa1f06091dcb8ab1e704a10b733ef21f 100644 (file)
@@ -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
index 26ae9ed65719b3323c2b0922d1835138f68707de..88ae80c77cc3bd1515bb6ff830ec49cb633124ae 100644 (file)
@@ -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