diff options
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index c47a9db..7852890 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -1061,7 +1061,7 @@ if { [istarget *-*-linux*] ] \ [list \ "Build pr19579a.o" \ - "" "-fPIE" \ + "" "-fPIE -fcommon" \ {pr19579a.c} \ {} \ "libpr19579a.a" \ @@ -1069,7 +1069,7 @@ if { [istarget *-*-linux*] [list \ "Build libpr19579.so" \ "-shared" \ - "-fPIC" \ + "-fPIC -fcommon" \ {pr19579b.c} \ {} \ "libpr19579.so" \ @@ -1077,7 +1077,7 @@ if { [istarget *-*-linux*] [list \ "Build libpr19579now.so" \ "-shared -Wl,-z,now" \ - "-fPIC" \ + "-fPIC -fcommon" \ {pr19579b.c} \ {} \ "libpr19579.so" \ |