aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2004-10-19 17:14:38 +0000
committerH.J. Lu <hjl.tools@gmail.com>2004-10-19 17:14:38 +0000
commit0e99ae0cc27bcd7e772d1842a503d4175ee02174 (patch)
treec129bf1dd3b468a778a269c09387471dcc7b2877
parent532345f2da56538e8288e3fdc343f452ea7754f8 (diff)
downloadgdb-0e99ae0cc27bcd7e772d1842a503d4175ee02174.zip
gdb-0e99ae0cc27bcd7e772d1842a503d4175ee02174.tar.gz
gdb-0e99ae0cc27bcd7e772d1842a503d4175ee02174.tar.bz2
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/exclude.exp: Allow cris-*-elf. * ld-elf/exclude1.s: Add ".data". Remove "- include_sym". * ld-elf/exclude2.s: Add ".data".
-rw-r--r--ld/testsuite/ChangeLog7
-rw-r--r--ld/testsuite/ld-elf/exclude.exp4
-rw-r--r--ld/testsuite/ld-elf/exclude1.s3
-rw-r--r--ld/testsuite/ld-elf/exclude2.s1
4 files changed, 12 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 34fa6ea..5bc834c 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/exclude.exp: Allow cris-*-elf.
+
+ * ld-elf/exclude1.s: Add ".data". Remove "- include_sym".
+ * ld-elf/exclude2.s: Add ".data".
+
2004-10-19 Hans-Peter Nilsson <hp@bitrange.com>
* ld-elf/exclude.exp: Don't run for cris-*-elf.
diff --git a/ld/testsuite/ld-elf/exclude.exp b/ld/testsuite/ld-elf/exclude.exp
index 6d7df1c..ffe6b02 100644
--- a/ld/testsuite/ld-elf/exclude.exp
+++ b/ld/testsuite/ld-elf/exclude.exp
@@ -23,8 +23,8 @@ if ![is_elf_format] {
return
}
-# No shared lib support on these targets.
-if { [istarget "mcore-*-*"] || [istarget "cris-*-elf"] } {
+# No shared lib support on this target.
+if { [istarget "mcore-*-*"] } {
return
}
diff --git a/ld/testsuite/ld-elf/exclude1.s b/ld/testsuite/ld-elf/exclude1.s
index 45583a3..515d078 100644
--- a/ld/testsuite/ld-elf/exclude1.s
+++ b/ld/testsuite/ld-elf/exclude1.s
@@ -1,3 +1,4 @@
.globl include_sym
+ .data
include_sym:
- .long exclude_sym - include_sym
+ .long exclude_sym
diff --git a/ld/testsuite/ld-elf/exclude2.s b/ld/testsuite/ld-elf/exclude2.s
index 401aa22..e9b5819 100644
--- a/ld/testsuite/ld-elf/exclude2.s
+++ b/ld/testsuite/ld-elf/exclude2.s
@@ -1,3 +1,4 @@
.globl exclude_sym
+ .data
exclude_sym:
.long 0