* testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIE on sparc.
* testsuite/ld-elf/tls.exp: Add -Av9 to AFLAGS_PIC on sparc.
+2020-09-16 Mikael Pettersson <mikpelinux@gmail.com>
+
+ * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIE on sparc.
+ * testsuite/ld-elf/tls.exp: Add -Av9 to AFLAGS_PIC on sparc.
+
2020-09-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26583
|| [istarget "x86_64-*-*"] } {
set AFLAGS_PIE "-mrelax-relocations=yes"
}
+if [istarget "sparc*-*-*"] {
+ set AFLAGS_PIE "-Av9"
+}
if { ([istarget "*-*-linux*"]
|| [istarget "*-*-nacl*"]
# This target requires extra GAS options when building PIC/PIE code.
set AFLAGS_PIC ""
if [istarget "sparc*-*-*"] {
- append AFLAGS_PIC " -K PIC"
+ append AFLAGS_PIC " -K PIC -Av9"
}
run_ld_link_tests [list \