Skip to content

Commit db7359a

Browse files
LinusUevmar
authored andcommitted
Update linker args for the Rust lld linker
1 parent 8ff30f8 commit db7359a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/build-linux-64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
set -e
99

10-
linker_args="-Ttext-segment=0x7f000000"
10+
linker_args="--image-base=0x7f000000"
1111
# It appears the rest gets laid out immediately after.
1212
# All we really care about is it not being earlier.
1313
#linker_args="$linker_args -Trodata-segment=0x7f400000"

0 commit comments

Comments
 (0)