aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2014-12-18 15:40:25 -0600
committerRichard Henderson <rth@redhat.com>2014-12-18 15:40:25 -0600
commit04c6a44c7c74d9e60ca47373a0d7d51209d93dbc (patch)
tree7ab6f3cc37df1f3d804322bdf06b20a18cffd42f /bfd/elf32-ppc.c
parentdb7a9bcd53534a32abf4d75a93838c6bdbf876fa (diff)
downloadgdb-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/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c3
1 files changed, 2 insertions, 1 deletions
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