Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Aug 9, 2024
1 parent 1f53bd5 commit 4164285
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/elf/tlsdesc-initial-exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ EOF
$CC -B. -o $t/exe1 $t/c.o $t/d.o $t/b.so
$QEMU $t/exe1 | grep -q '^5 5 5$'

readelf -Wr $t/exe1 > $t/log1
! grep -Eq 'TLS.?DESC|unrecognized:' $t/log1 || false
$OBJDUMP --dynamic-reloc $t/exe1 > $t/log1
! grep -Eq 'TLS_?DESC' $t/log1 || false

$CC -B. -o $t/exe1 $t/c.o $t/d.o $t/b.so -Wl,--no-relax
$QEMU $t/exe1 | grep -q '^5 5 5$'
$CC -B. -o $t/exe2 $t/c.o $t/d.o $t/b.so -Wl,--no-relax
$QEMU $t/exe2 | grep -q '^5 5 5$'

readelf -Wr $t/exe1 > $t/log2
grep -Eq 'TLS.?DESC|unrecognized:' $t/log2
$OBJDUMP --dynamic-reloc $t/exe2 > $t/log2
grep -Eq 'TLS_?DESC' $t/log2

0 comments on commit 4164285

Please sign in to comment.