diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
commit | b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b (patch) | |
tree | 69d40fbef2c0c4ee32fe97b7a28b510f2e3c2dbc /ld/emulparams/criself.sh | |
parent | 7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (diff) | |
download | src-b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b.tar.gz src-b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b.zip |
Import the binutils master branch from the sourceware CVS repository,vendor/binutils/binutils-master-20070703-075419vendor/binutils
exactly as it was on Tue, 3 Jul 2007 07:54:19 +0000.
Corresponds to git commit 397a64b350470350c8e0adb2af84439ea0f89272,
which was the last commit before switching to GPLv3.
Notes
Notes:
svn path=/vendor/binutils/dist/; revision=214571
svn path=/vendor/binutils/binutils-master-20070703-075419/; revision=214573; tag=vendor/binutils/binutils-master-20070703-075419
Diffstat (limited to 'ld/emulparams/criself.sh')
-rw-r--r-- | ld/emulparams/criself.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/emulparams/criself.sh b/ld/emulparams/criself.sh index 0478f345af42..1d374ae44bbc 100644 --- a/ld/emulparams/criself.sh +++ b/ld/emulparams/criself.sh @@ -13,7 +13,12 @@ ALIGNMENT=32 TEXT_START_ADDR=0 # Put crt0 for flash/eprom etc. in this section. -INITIAL_READONLY_SECTIONS='.startup : { KEEP(*(.startup)) }' +INITIAL_READONLY_SECTIONS= +if test -z "${CREATE_SHLIB}"; then + INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp) }" +fi +INITIAL_READONLY_SECTIONS="${INITIAL_READONLY_SECTIONS} + .startup : { KEEP(*(.startup)) }" # Setting __Stext to . in TEXT_START_SYMBOLS doesn't get what we want # most of the time, which is the start of all read-only sections; |