summaryrefslogtreecommitdiff
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
commit808d7b5dc75f0297347de4a5c2ec5ec9785dda06 (patch)
tree7de09a249e2fed4c25d45adefaa8e53f38a3e991 /bfd/elf32-ppc.c
parent40c94ad4bc3327df309bca7f825070fd9639a3a1 (diff)
downloadgdb-808d7b5dc75f0297347de4a5c2ec5ec9785dda06.tar.gz
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 0f38e115a7a..a2eec938b9e 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