This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH ld] ARM FreeBSD increase TEXT_START_ADDR


Hi,

this patch is a follow up of the one which increases the TEXT_START_ADDR for armelf_linux.sh.

The same is needed for armelf_freebsd.sh otherwise all executables fail with: Exec format error. Binary file not executable.


Ok?

Thanks,
Andreas


2014-08-20  Andreas Tobler  <andreast@fgznet.ch>

	* emulparams/armelf_fbsd.sh (TEXT_START_ADDR): Increase alignment to
	64kB boundary like in armelf_linux.sh.

diff --git a/ld/emulparams/armelf_fbsd.sh b/ld/emulparams/armelf_fbsd.sh
index 5b3ccc6..b2a3921 100644
--- a/ld/emulparams/armelf_fbsd.sh
+++ b/ld/emulparams/armelf_fbsd.sh
@@ -1,5 +1,8 @@
 . ${srcdir}/emulparams/armelf.sh
 . ${srcdir}/emulparams/elf_fbsd.sh
+
+TEXT_START_ADDR=0x00010000
+
 TARGET2_TYPE=got-rel
 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
 GENERATE_PIE_SCRIPT=yes


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]