Skip to content

Commit

Permalink
Attempt to fix a test for Alt Linux
Browse files Browse the repository at this point in the history
Fixes #1073
  • Loading branch information
rui314 committed Jul 30, 2023
1 parent ec10452 commit f2b278c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/elf/exception.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $CXX -c -o $t/c.o $t/a.cc -fno-PIC
$CXX -B. -o $t/exe1 $t/b.o $static
$QEMU $t/exe1

$CXX -B. -o $t/exe2 $t/c.o $static
$CXX -B. -o $t/exe2 $t/c.o -no-pie $static
$QEMU $t/exe2

$CXX -B. -o $t/exe3 $t/b.o -pie
Expand All @@ -38,7 +38,7 @@ $QEMU $t/exe4
$CXX -B. -o $t/exe5 $t/b.o -pie -Wl,--gc-sections
$QEMU $t/exe5

$CXX -B. -o $t/exe6 $t/c.o $static -Wl,--gc-sections
$CXX -B. -o $t/exe6 $t/c.o -no-pie $static -Wl,--gc-sections
$QEMU $t/exe6

if [ $MACHINE = x86_64 ]; then
Expand Down

0 comments on commit f2b278c

Please sign in to comment.