Skip to content

Commit

Permalink
Merge pull request #1345 from andreas-schwab/main
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Sep 19, 2024
2 parents 5be5ea9 + f5f14d3 commit 87c9929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/absolute-symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

cat <<EOF | $CC -o $t/a.o -c -x assembler -
.globl foo
foo = 0x800008
foo = 0xa00008
EOF

cat <<EOF | $CC -o $t/b.o -c -fno-PIC -xc -
Expand Down Expand Up @@ -36,4 +36,4 @@ int main() {
EOF

$CC -B. -o $t/exe -no-pie $t/a.o $t/b.o
$QEMU $t/exe | grep -q '^ip=0x80000.$'
$QEMU $t/exe | grep -q '^ip=0xa0000.$'

0 comments on commit 87c9929

Please sign in to comment.