aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2016-04-05 13:46:44 +0200
committerClaudiu Zissulescu <claziss@synopsys.com>2016-04-05 13:46:44 +0200
commita9fa4610b8b6dbd8dd91d0ea37141b1182c1837c (patch)
tree1c3f09e549481bb4f6b63a8fc80ad3a0171ab148 /ld/testsuite/ld-scripts
parent5be33403c378ceb9487ad14a1309392dc03a1263 (diff)
downloadgdb-a9fa4610b8b6dbd8dd91d0ea37141b1182c1837c.zip
gdb-a9fa4610b8b6dbd8dd91d0ea37141b1182c1837c.tar.gz
gdb-a9fa4610b8b6dbd8dd91d0ea37141b1182c1837c.tar.bz2
[ARC] Fix ld testsuite failures.
ld/ 016-04-05 Cupertino Miranda <cmiranda@synopsys.com> * testsuite/ld-discard/extern.d: Removed xfail for ARC. * testsuite/ld-discard/start.d: Likewise. * testsuite/ld-discard/static.d: Likewise. * testsuite/ld-elf/group1.d: Likewise. * testsuite/ld-elf/group3b.d: Likewise. * testsuite/ld-elf/orphan-region.d: Likewise. * testsuite/ld-elf/orphan.d: Likewise. * testsuite/ld-elf/orphan3.d: Likewise. * testsuite/ld-elf/pr349.d: Likewise. * testsuite/ld-elf/warn1.d: Likewise. * testsuite/ld-elf/warn2.d: Likewise. * testsuite/ld-elf/warn3.d: Likewise. * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol through linker flags. * testsuite/ld-srec/srec.exp: Set as xfail.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/crossref.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/crossref.exp b/ld/testsuite/ld-scripts/crossref.exp
index 0b56d3f..7244b90 100644
--- a/ld/testsuite/ld-scripts/crossref.exp
+++ b/ld/testsuite/ld-scripts/crossref.exp
@@ -79,6 +79,11 @@ if [istarget sh64*-*-elf] {
set flags "-mshelf32"
}
+# arc-elf32 requires the symbol __SDATA_BEGIN__ to always be present.
+if [istarget arc*-*-elf32] {
+ set flags "$flags --defsym=__SDATA_BEGIN__=0"
+}
+
# IA64 has both ordered and unordered sections in an input file.
setup_xfail ia64-*-*