diff options
author | Richard Henderson <rth@redhat.com> | 2014-12-18 15:40:25 -0600 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2014-12-18 15:40:25 -0600 |
commit | 04c6a44c7c74d9e60ca47373a0d7d51209d93dbc (patch) | |
tree | 7ab6f3cc37df1f3d804322bdf06b20a18cffd42f /bfd | |
parent | db7a9bcd53534a32abf4d75a93838c6bdbf876fa (diff) | |
download | gdb-04c6a44c7c74d9e60ca47373a0d7d51209d93dbc.zip gdb-04c6a44c7c74d9e60ca47373a0d7d51209d93dbc.tar.gz gdb-04c6a44c7c74d9e60ca47373a0d7d51209d93dbc.tar.bz2 |
Set ppc COMMONPAGESIZE to 64k
bfd/
* elf32-ppc.c (ELF_COMMONPAGESIZE): Set to 64k.
* elf64-ppc.c (ELF_COMMONPAGESIZE): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 3 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6152f51..eec359f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 8429e8f..1ebb2c7 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 26ae9ed..88ae80c 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 |