Skip to content

Commit

Permalink
Fix a test
Browse files Browse the repository at this point in the history
Fixes #1249
  • Loading branch information
rui314 committed May 6, 2024
1 parent 595f98d commit 74129bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/elf/arm_abs-error.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cat <<EOF | $CC -fPIC -c -o $t/a.o -xassembler - -mthumb
foo = 3;
EOF

cat <<EOF | $CC -fno-PIC -c -o $t/b.o -xc - -mthumb
cat <<EOF | $CC -fno-PIC -c -o $t/b.o -xc - -mthumb 2> /dev/null || skip
#include <stdio.h>
extern char foo;
int main() { printf("foo=%p\n", &foo); }
Expand Down

0 comments on commit 74129bf

Please sign in to comment.