aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-06-12 11:35:45 +0000
committerThiemo Seufer <ths@networkno.de>2006-06-12 11:35:45 +0000
commit7fd91fe0bb0c693070dcfb0f1dcc5a91f393d440 (patch)
tree706a18703acf512a08da27d470cb50c36fca79c4 /bfd/elf64-mips.c
parentd07676f875b3fa1a3d527b4040c36740e6f3c395 (diff)
downloadbinutils-7fd91fe0bb0c693070dcfb0f1dcc5a91f393d440.zip
binutils-7fd91fe0bb0c693070dcfb0f1dcc5a91f393d440.tar.gz
binutils-7fd91fe0bb0c693070dcfb0f1dcc5a91f393d440.tar.bz2
[ bfd/ChangeLog ]
* elf32-mips.c: Expand comment about ABI-mandated pagesize values. (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): define in a more obvious way. * elf64-mips.c, elfn32-mips.c (ELF_MAXPAGESIZE): Fix value for IRIX6. Delete old comments. (ELF_COMMONPAGESIZE): Define in a more obvious way. [ ld/ChangeLog ] * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE): Define. [ ld/testsuite/ChangeLog ] * ld-mips-elf/multi-got-no-shared.d: Adjust for recent change of ELF_MAXPAGESIZE.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r--bfd/elf64-mips.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index c8f3127..ee5bce6 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -3152,10 +3152,8 @@ extern bfd_boolean bfd_elf64_archive_write_armap
#define TARGET_BIG_SYM bfd_elf64_bigmips_vec
#define TARGET_BIG_NAME "elf64-bigmips"
-/* The SVR4 MIPS ABI says that this should be 0x10000, but Irix 5 uses
- a value of 0x1000, and we are compatible.
- FIXME: How does this affect NewABI? */
-#define ELF_MAXPAGESIZE 0x1000
+#define ELF_MAXPAGESIZE 0x10000
+#define ELF_COMMONPAGESIZE 0x1000
#include "elf64-target.h"
@@ -3166,15 +3164,15 @@ extern bfd_boolean bfd_elf64_archive_write_armap
#undef TARGET_BIG_NAME
#undef ELF_MAXPAGESIZE
+#undef ELF_COMMONPAGESIZE
#define TARGET_LITTLE_SYM bfd_elf64_tradlittlemips_vec
#define TARGET_LITTLE_NAME "elf64-tradlittlemips"
#define TARGET_BIG_SYM bfd_elf64_tradbigmips_vec
#define TARGET_BIG_NAME "elf64-tradbigmips"
-/* The SVR4 MIPS ABI says that this should be 0x10000, and Linux uses
- page sizes of up to that limit, so we need to respect it. */
#define ELF_MAXPAGESIZE 0x10000
+#define ELF_COMMONPAGESIZE 0x1000
#define elf64_bed elf64_tradbed
/* Include the target file again for this target. */