aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-08-24 18:20:40 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-08-24 18:20:40 +0000
commit5cc5186427193bf6f65ba896ba4a67778be53321 (patch)
tree2e771e25ba46263f9275e5536668db379a2a879a
parente772203522289a4380e9ed4edccaeb24e714071f (diff)
downloadgdb-5cc5186427193bf6f65ba896ba4a67778be53321.zip
gdb-5cc5186427193bf6f65ba896ba4a67778be53321.tar.gz
gdb-5cc5186427193bf6f65ba896ba4a67778be53321.tar.bz2
Add Solaris/x86-64 support to eh[1-4] test
* ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/elf.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index cb94d3c..dbca5ed 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/elf.exp: Add Solaris/x86-64 support to eh[1-4] test.
+
2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* ld-arm/arm-elf.exp: Add new testcases.
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index 9964ccd..1780b50 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -44,6 +44,11 @@ if { [istarget "*-*-nacl*"] } {
set options_regsub(ld) {-melf_x86_64 -melf_x86_64_nacl}
}
+if { [istarget "*-*-solaris*"] } {
+ # Same for Solaris
+ set options_regsub(ld) {-melf_x86_64 -melf_x86_64_sol2}
+}
+
if { [is_remote host] } then {
remote_download host merge.ld
}