Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist Change ARM ELF_MAXPAGESIZE to 0x...



details:   https://anonhg.NetBSD.org/src/rev/b4d9208f3363
branches:  trunk
changeset: 330180:b4d9208f3363
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 26 22:55:23 2014 +0000

description:
Change ARM ELF_MAXPAGESIZE to 0x10000 and also change TEXT_START_ADDR for
nbsd to 0x10000.

diffstat:

 external/gpl3/binutils/dist/bfd/elf32-arm.c              |  5 +----
 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh |  2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 27211d15eecb -r b4d9208f3363 external/gpl3/binutils/dist/bfd/elf32-arm.c
--- a/external/gpl3/binutils/dist/bfd/elf32-arm.c       Thu Jun 26 20:14:32 2014 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-arm.c       Thu Jun 26 22:55:23 2014 +0000
@@ -15644,7 +15644,7 @@
 #ifdef __QNXTARGET__
 #define ELF_MAXPAGESIZE                        0x1000
 #else
-#define ELF_MAXPAGESIZE                        0x8000
+#define ELF_MAXPAGESIZE                        0x10000
 #endif
 #define ELF_MINPAGESIZE                        0x1000
 #define ELF_COMMONPAGESIZE             0x1000
@@ -15773,9 +15773,6 @@
 #undef elf_backend_modify_program_headers
 #define        elf_backend_modify_program_headers      nacl_modify_program_headers
 
-#undef ELF_MAXPAGESIZE
-#define ELF_MAXPAGESIZE                        0x10000
-
 #include "elf32-target.h"
 
 /* Reset to defaults.  */
diff -r 27211d15eecb -r b4d9208f3363 external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh
--- a/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh  Thu Jun 26 20:14:32 2014 +0000
+++ b/external/gpl3/binutils/dist/ld/emulparams/armelf_nbsd.sh  Thu Jun 26 22:55:23 2014 +0000
@@ -1,6 +1,6 @@
 . ${srcdir}/emulparams/armelf.sh
 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
-TEXT_START_ADDR=0x00008000
+TEXT_START_ADDR=0x00010000
 TARGET2_TYPE=got-rel
 
 unset DATA_START_SYMBOLS



Home | Main Index | Thread Index | Old Index