summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-02-23 19:01:17 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-02-23 19:01:17 +0000
commita2f873f7a729711552fd59bc0ccb0740acac48d7 (patch)
tree328ecf93efb88cabb6d34e05181fc412527c0c59 /gnu
parent66c4973318718ddd69f77d8bde5ca4d77fbabef9 (diff)
Set ELF_MAXPAGESIZE to 64k, to match lld(1). Also define ELF_MINPAGESIZE.
ok patrick@, jsg@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/elf64-aarch64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/bfd/elf64-aarch64.c b/gnu/usr.bin/binutils-2.17/bfd/elf64-aarch64.c
index d463419948a..aae468a6d4d 100644
--- a/gnu/usr.bin/binutils-2.17/bfd/elf64-aarch64.c
+++ b/gnu/usr.bin/binutils-2.17/bfd/elf64-aarch64.c
@@ -61,7 +61,8 @@ elf_generic_info_to_howto_rel (bfd *abfd ATTRIBUTE_UNUSED,
#define TARGET_LITTLE_NAME "elf64-aarch64"
#define ELF_ARCH bfd_arch_aarch64
#define ELF_MACHINE_CODE EM_AARCH64
-#define ELF_MAXPAGESIZE 0x1000
+#define ELF_MAXPAGESIZE 0x10000
+#define ELF_MINPAGESIZE 0x1000
#define bfd_elf64_bfd_reloc_type_lookup bfd_default_reloc_type_lookup
#define elf_info_to_howto elf_generic_info_to_howto
#define elf_info_to_howto_rel elf_generic_info_to_howto_rel