aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/hppaelf.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-09 11:59:14 +0000
committerAlan Modra <amodra@gmail.com>2009-09-09 11:59:14 +0000
commit596d6d9145d7b285b1bd1afde953bb49d3cdbeff (patch)
treea2ee31b36c7eb98a756e3fa1117cb779180557d3 /ld/scripttempl/hppaelf.sc
parent9384f2ffd0864b49f201c3fd887492acba3c0c55 (diff)
downloadfsf-binutils-gdb-596d6d9145d7b285b1bd1afde953bb49d3cdbeff.zip
fsf-binutils-gdb-596d6d9145d7b285b1bd1afde953bb49d3cdbeff.tar.gz
fsf-binutils-gdb-596d6d9145d7b285b1bd1afde953bb49d3cdbeff.tar.bz2
Only provide ENTRY on final link.
Diffstat (limited to 'ld/scripttempl/hppaelf.sc')
-rw-r--r--ld/scripttempl/hppaelf.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/hppaelf.sc b/ld/scripttempl/hppaelf.sc
index 941ce08..a96ad54 100644
--- a/ld/scripttempl/hppaelf.sc
+++ b/ld/scripttempl/hppaelf.sc
@@ -3,7 +3,7 @@ test "$LD_FLAG" = "N" && DATA_ADDR=.
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
-ENTRY("\$START\$")
+${RELOCATING+ENTRY("\$START\$")}
${RELOCATING+${LIB_SEARCH_DIRS}}
SECTIONS
{