Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Oct 13, 2022
1 parent 0d205aa commit c45db5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/elf/preinit-array.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

# We should not create a PREINIT_ARRAY .dynamic entry by default
cat <<EOF | $CC -o $t/a.o -c -xc -
int main() {}
void _start() {}
EOF

$CC -B. -o $t/exe1 $t/a.o
./mold -o $t/exe1 $t/a.o
readelf -W --dynamic $t/exe1 > $t/log1
! grep -q PREINIT_ARRAY $t/log1 || false

Expand Down

0 comments on commit c45db5c

Please sign in to comment.