summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2017-12-13 15:57:04 +0100
committerJoakim Sindholt <opensource@zhasha.com>2017-12-13 15:57:04 +0100
commitac16f2ae5feabde1979193588fbeda17f25f2f18 (patch)
tree437d0db9e21b1dce1452e7f423dd1d1c0508b6df
parent5660055f6c9bf720d79836d5760ab759a1d6f3f8 (diff)
p9l: don't link in dynamic symbol table
-rw-r--r--bin/p9l.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/p9l.sh b/bin/p9l.sh
index 6730ec3..0b7bdf3 100644
--- a/bin/p9l.sh
+++ b/bin/p9l.sh
@@ -156,7 +156,7 @@ if [[ $USE_LTO == true ]]; then
OPTS+=("-plugin-opt=-march=$MARCH")
fi
ld.gold \
- --gc-sections -pie -Bstatic -Bsymbolic -E -X -e "$START_SYM" \
+ --gc-sections -pie -Bstatic -x -e "$START_SYM" \
-z now -z nodlopen -z nodump -z nodelete -z noexecstack -z text \
-nostdlib -L"$LIBDIR" "${OPTS[@]}" $STRIP_FLAG -o "$OUTPUT_NAME" \
"${CRTSTART[@]}" '-(' "${FARGS[@]}" "${LIBS[@]}" '-)' "${CRTEND[@]}" ||