diff options
-rw-r--r-- | ld/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/exclude.exp | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/exclude1.s | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/exclude2.s | 1 |
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 |