aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sh.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-sh.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-sh.c')
-rw-r--r--bfd/elf32-sh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index 5306a25..004aeef 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -7331,7 +7331,11 @@ elf32_shlin_grok_psinfo (abfd, note)
#define TARGET_LITTLE_NAME "elf32-shl"
#define ELF_ARCH bfd_arch_sh
#define ELF_MACHINE_CODE EM_SH
-#define ELF_MAXPAGESIZE 128
+#ifdef __QNXTARGET__
+#define ELF_MAXPAGESIZE 0x1000
+#else
+#define ELF_MAXPAGESIZE 0x80
+#endif
#define elf_symbol_leading_char '_'