1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-25 17:34:02 +03:00
This commit is contained in:
Rui Ueyama 2021-05-01 19:34:49 +09:00
parent 7977909c0a
commit 5ec4ffced4

View File

@ -22,9 +22,9 @@ EOF
clang -fuse-ld=`pwd`/../mold $t/a.o $t/b.so -o $t/exe
readelf -a $t/exe > $t/log
fgrep -q '[20] .dynbss.rel.ro' $t/log
fgrep -q '[23] .dynbss' $t/log
fgrep -q '100 OBJECT GLOBAL DEFAULT 20 readonly' $t/log
fgrep -q '100 OBJECT GLOBAL DEFAULT 23 readwrite' $t/log
fgrep -q '[21] .dynbss.rel.ro' $t/log
fgrep -q '[24] .dynbss' $t/log
fgrep -q '100 OBJECT GLOBAL DEFAULT 21 readonly' $t/log
fgrep -q '100 OBJECT GLOBAL DEFAULT 24 readwrite' $t/log
echo OK