aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-07-12 11:16:46 +0000
committerNick Clifton <nickc@redhat.com>2003-07-12 11:16:46 +0000
commitd0facd1b4264f0954c40321ece50b06f0e20f0f5 (patch)
tree197c7a8df652fde7bc1cfe2f11bf51f2afc3e903 /bfd/elf32-ppc.c
parentbcb9b88db6ae400046a3243b12e65ca4815a1ab8 (diff)
downloadgdb-d0facd1b4264f0954c40321ece50b06f0e20f0f5.zip
gdb-d0facd1b4264f0954c40321ece50b06f0e20f0f5.tar.gz
gdb-d0facd1b4264f0954c40321ece50b06f0e20f0f5.tar.bz2
Set maxpagesize for NTO targets to 4k
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 0f38e11..a2eec93 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -6026,7 +6026,11 @@ ppc_elf_final_write_processing (bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED)
#define TARGET_BIG_NAME "elf32-powerpc"
#define ELF_ARCH bfd_arch_powerpc
#define ELF_MACHINE_CODE EM_PPC
+#ifdef __QNXTARGET__
+#define ELF_MAXPAGESIZE 0x1000
+#else
#define ELF_MAXPAGESIZE 0x10000
+#endif
#define elf_info_to_howto ppc_elf_info_to_howto
#ifdef EM_CYGNUS_POWERPC