summaryrefslogtreecommitdiff
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
commitc109a75bfa237865bf5fac8ab45a1d813f7ef597 (patch)
tree134869f3e96e19c3d21d1d39b07fa787d21f2ea7 /bfd/elf32-sh.c
parente56b5b82ae1f084de152d7efdba1bf5cb5ddddb2 (diff)
downloadbinutils-redhat-c109a75bfa237865bf5fac8ab45a1d813f7ef597.tar.gz
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 5306a2534f..004aeefcfc 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 '_'