summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2017-02-23 19:01:16 +0000
committerkettenis <kettenis@openbsd.org>2017-02-23 19:01:16 +0000
commit779c165d495c28602292bb47dd89c790ebdc0fbb (patch)
treeef552033abcff0dcfe21cc49cf5f4462db8e2790
parentPut a common subq pointer in the query struct, rather than one in each (diff)
downloadwireguard-openbsd-779c165d495c28602292bb47dd89c790ebdc0fbb.tar.xz
wireguard-openbsd-779c165d495c28602292bb47dd89c790ebdc0fbb.zip
Set ELF_MAXPAGESIZE to 64k, to match lld(1). Also define ELF_MINPAGESIZE.
ok patrick@, jsg@
-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