mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
tic6x elf testsuite fix
* testsuite/ld-elf/elf.exp: Set ASFLAGS for tic6x. * testsuite/ld-elf/reloc-discard.d: Remove tic6x xfail.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2020-12-01 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* testsuite/ld-elf/elf.exp: Set ASFLAGS for tic6x.
|
||||||
|
* testsuite/ld-elf/reloc-discard.d: Remove tic6x xfail.
|
||||||
|
|
||||||
2020-12-01 Alan Modra <amodra@gmail.com>
|
2020-12-01 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/ld-elf/pr26979a.s,
|
* testsuite/ld-elf/pr26979a.s,
|
||||||
|
@ -46,6 +46,10 @@ if { [istarget alpha*-*-* ] } {
|
|||||||
set ASFLAGS "$ASFLAGS --defsym NO_SET=1"
|
set ASFLAGS "$ASFLAGS --defsym NO_SET=1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [istarget "tic6x-*-*"] {
|
||||||
|
append ASFLAGS " -mpic -mpid=near"
|
||||||
|
}
|
||||||
|
|
||||||
if { [istarget "*-*-solaris*"] } {
|
if { [istarget "*-*-solaris*"] } {
|
||||||
# Same for Solaris
|
# Same for Solaris
|
||||||
set options_regsub(ld) {-melf_x86_64 -melf_x86_64_sol2}
|
set options_regsub(ld) {-melf_x86_64 -melf_x86_64_sol2}
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
#target: [check_shared_lib_support]
|
#target: [check_shared_lib_support]
|
||||||
#skip: powerpc64*-*-*
|
#skip: powerpc64*-*-*
|
||||||
#source: reloc-discard.s
|
#source: reloc-discard.s
|
||||||
#xfail: tic6x-*-*
|
|
||||||
# Need to figure out how to pass `-fpic' for NDS32 or `-mpic -mpid=near'
|
|
||||||
# for TI C6X targets to GAS for this test.
|
|
||||||
# PowerPC64 warns when discarding dynamic relocs, which is generally
|
# PowerPC64 warns when discarding dynamic relocs, which is generally
|
||||||
# a good thing. See reloc-discard-warn.d test variant.
|
# a good thing. See reloc-discard-warn.d test variant.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user