summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-06-26 15:23:31 +0100
committerWill Newton <will.newton@linaro.org>2014-07-08 15:00:12 +0100
commit7572ca8989ead4c3425a1500bc241eaaeffa2c89 (patch)
tree4b705caf0c3065950e8df7cb2cb01f8bea230a25 /bfd
parent8335d6aa34b88ce31b62e1b578d54ab4aa364435 (diff)
downloadbinutils-gdb-7572ca8989ead4c3425a1500bc241eaaeffa2c89.tar.gz
ld/ARM: Increase maximum page size to 64kB
Increase the maximum page size to 64kB and align the TEXT_START_ADDR to a 64kB boundary. This brings AArch32 in line with AArch64 and improves compatability under certain conditions. bfd/ChangeLog: 2014-07-08 Will Newton <will.newton@linaro.org> * elf32-arm.c (ELF_MAXPAGESIZE): Increase the default value to 64kB and remove custom setting for NaCl. ld/ChangeLog: 2014-07-08 Will Newton <will.newton@linaro.org> * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase alignment to 64kB boundary. ld/testsuite/ChangeLog: 2014-07-08 Will Newton <will.newton@linaro.org> * ld-arm/arm-lib.ld: Increase MAXPAGESIZE value to match bfd. * ld-arm/cortex-a8-fix-bl-rel-plt.d: Update offsets to take into account increased segment alignment. * ld-arm/ifunc-gdesc.r: Likewise. * ld-arm/tls-lib.d: Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 48280c49195..edf983ae319 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-08 Will Newton <will.newton@linaro.org>
+
+ * elf32-arm.c (ELF_MAXPAGESIZE): Increase the default
+ value to 64kB and remove custom setting for NaCl.
+
2014-07-08 Alan Modra <amodra@gmail.com>
* elflink.c (_bfd_elf_copy_link_hash_symbol_type): Copy st_other
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 1c6965eb117..e6f4a9f884c 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -16100,7 +16100,7 @@ elf32_arm_get_synthetic_symtab (bfd *abfd,
#ifdef __QNXTARGET__
#define ELF_MAXPAGESIZE 0x1000
#else
-#define ELF_MAXPAGESIZE 0x8000
+#define ELF_MAXPAGESIZE 0x10000
#endif
#define ELF_MINPAGESIZE 0x1000
#define ELF_COMMONPAGESIZE 0x1000
@@ -16250,8 +16250,6 @@ elf32_arm_nacl_plt_sym_val (bfd_vma i, const asection *plt,
#undef elf_backend_plt_sym_val
#define elf_backend_plt_sym_val elf32_arm_nacl_plt_sym_val
-#undef ELF_MAXPAGESIZE
-#define ELF_MAXPAGESIZE 0x10000
#undef ELF_MINPAGESIZE
#undef ELF_COMMONPAGESIZE