diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 34fa6ea548..5bc834c73c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-10-19 H.J. Lu + + * 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 * 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 6d7df1cbc7..ffe6b028e7 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 45583a35fd..515d078315 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 401aa22a52..e9b5819dad 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