diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 230b15f0198..dedc5f226d4 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2010-11-02 H.J. Lu + + * binutils-all/libdw2.out: Also accept MIPS_DWARF. + 2010-10-29 H.J. Lu * binutils-all/compress.exp: New. diff --git a/binutils/testsuite/binutils-all/libdw2.out b/binutils/testsuite/binutils-all/libdw2.out index 899e6f8dc8a..457774c05dd 100644 --- a/binutils/testsuite/binutils-all/libdw2.out +++ b/binutils/testsuite/binutils-all/libdw2.out @@ -1,13 +1,13 @@ #... - \[[ 0-9]+\] \.debug_info[ ]+PROGBITS[ 0-9a-z]+ [^Z]* + \[[ 0-9]+\] \.debug_info[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ [^Z]* #... - \[[ 0-9]+\] \.debug_line[ ]+PROGBITS[ 0-9a-z]+ [^Z]* + \[[ 0-9]+\] \.debug_line[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ [^Z]* #... - \[[ 0-9]+\] \.debug_abbrev[ ]+PROGBITS[ 0-9a-z]+ [^Z]* + \[[ 0-9]+\] \.debug_abbrev[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ [^Z]* #... - \[[ 0-9]+\] \.debug_info[ ]+PROGBITS[ 0-9a-z]+ [^Z]* + \[[ 0-9]+\] \.debug_info[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ [^Z]* #... - \[[ 0-9]+\] \.debug_line[ ]+PROGBITS[ 0-9a-z]+ [^Z]* + \[[ 0-9]+\] \.debug_line[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ [^Z]* #... - \[[ 0-9]+\] \.debug_abbrev[ ]+PROGBITS[ 0-9a-z]+ [^Z]* + \[[ 0-9]+\] \.debug_abbrev[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ [^Z]* #pass diff --git a/ld/ChangeLog b/ld/ChangeLog index 17d2d95b8dc..6382b83f64d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,28 @@ +2010-11-02 H.J. Lu + + * scripttempl/armbpabi.sc: Include compressed DWARF debug + sections. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32cr16.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + 2010-10-29 H.J. Lu * ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after diff --git a/ld/scripttempl/armbpabi.sc b/ld/scripttempl/armbpabi.sc index 8b3ea0a95a1..3049f36452c 100644 --- a/ld/scripttempl/armbpabi.sc +++ b/ld/scripttempl/armbpabi.sc @@ -335,27 +335,27 @@ cat < + + * ld-elf/compress1a.d: Also check MIPS_DWARF. + * ld-elf/compress1b.d: Likewise. + * ld-elf/compress1c.d: Likewise. + 2010-10-29 Joseph Myers * ld-tic6x/attr-compatibility-gnu-gnu.d, diff --git a/ld/testsuite/ld-elf/compress1a.d b/ld/testsuite/ld-elf/compress1a.d index 963623c50e8..a8eac404cf2 100644 --- a/ld/testsuite/ld-elf/compress1a.d +++ b/ld/testsuite/ld-elf/compress1a.d @@ -2,8 +2,9 @@ #as: --compress-debug-sections #ld: -e func_cu2 #readelf: -S --wide +#notarget: alpha-* #failif #... - \[[ 0-9]+\] \.zdebug_.*[ ]+PROGBITS[ 0-9a-z]+ .* + \[[ 0-9]+\] \.zdebug_.*[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ .* #... diff --git a/ld/testsuite/ld-elf/compress1b.d b/ld/testsuite/ld-elf/compress1b.d index 02109d53e2b..f3428d4580b 100644 --- a/ld/testsuite/ld-elf/compress1b.d +++ b/ld/testsuite/ld-elf/compress1b.d @@ -5,5 +5,5 @@ #failif #... - \[[ 0-9]+\] \.zdebug_.*[ ]+PROGBITS[ 0-9a-z]+ .* + \[[ 0-9]+\] \.zdebug_.*[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ .* #... diff --git a/ld/testsuite/ld-elf/compress1c.d b/ld/testsuite/ld-elf/compress1c.d index 7be7cfbde3e..50426942af6 100644 --- a/ld/testsuite/ld-elf/compress1c.d +++ b/ld/testsuite/ld-elf/compress1c.d @@ -6,5 +6,5 @@ #failif #... - \[[ 0-9]+\] \.zdebug_.*[ ]+PROGBITS[ 0-9a-z]+ .* + \[[ 0-9]+\] \.zdebug_.*[ ]+(PROGBITS|MIPS_DWARF)[ 0-9a-z]+ .* #...