+2023-04-13 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * testsuite/ld-arc/arc.exp: Update execution predicate.
+ * testsuite/ld-arc/nps-1a.d: Add linker script option.
+ * testsuite/ld-arc/nps-1b.d: Likewise.
+ * testsuite/ld-arc/relax-local-pic.d: Update matching patterns.
+
2023-04-12 Nick Clifton <nickc@redhat.com>
* ld.texi (--enable-non-contiguous-regions): Fix typos in script
# MA 02110-1301, USA.
#
-if { ![istarget arc*-*-*] } {
+if { ![istarget arc-*-*] } {
return
}
#source: nps-1.s
#as: -mcpu=arc700 -mnps400
-#ld: -defsym=foo=0x57f03000
+#ld: -defsym=foo=0x57f03000 -T sda-relocs.ld
#objdump: -d
.*: +file format .*arc.*
#source: nps-1.s
#as: -mcpu=arc700 -mnps400
-#ld: -defsym=foo=0x56f03000
+#ld: -defsym=foo=0x56f03000 -T sda-relocs.ld
#error_output: nps-1b.err
#ld: -q -A elf32-arclittle -relax
#objdump: -dr
-[^:]+: file format elf32-.*arc
+[^:]+: file format elf.*arc
Disassembly of section \.text:
[0-9a-f]+ <__start>:
\s+[0-9a-f]+: 2700 7f84 0000 [0-9a-f]+\s+add\s+r4,pcl,.*
- [0-9a-f]+: R_ARC_PC32 a_in_other_thread
+\s+[0-9a-f]+: R_ARC_PC32 a_in_other_thread
\s+[0-9a-f]+: 1c00 [0-9a-f\s]+ st\s+.*