2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Oct 2004 17:14:38 +0000 (17:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 19 Oct 2004 17:14:38 +0000 (17:14 +0000)
* ld-elf/exclude.exp: Allow cris-*-elf.

* ld-elf/exclude1.s: Add ".data". Remove "- include_sym".
* ld-elf/exclude2.s: Add ".data".

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/exclude.exp
ld/testsuite/ld-elf/exclude1.s
ld/testsuite/ld-elf/exclude2.s

index 34fa6ea548ef5bec201d2e02446fa0c97b96c84b..5bc834c73c0102fa602cc0d0aacc679df15c02c3 100644 (file)
@@ -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.
index 6d7df1cbc74e2a2eb1fdb12e808c1909d00fdbbe..ffe6b028e7efcc5d93d01607cae5289e75d63395 100644 (file)
@@ -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
 }
 
index 45583a35fdf0b4c0188c8e4c16f4e7050d6e8e3e..515d078315e2c9b263616192d7c14e733e02b34c 100644 (file)
@@ -1,3 +1,4 @@
        .globl include_sym
+       .data
 include_sym:
-       .long   exclude_sym - include_sym
+       .long   exclude_sym
index 401aa22a522710ebdca5d2b771c21e03c120cd90..e9b5819dadfea4b3dba1ffdf93ad5da95d54a3bf 100644 (file)
@@ -1,3 +1,4 @@
        .globl exclude_sym
+       .data
 exclude_sym:
        .long   0