From 51955445f8cbe9407aab823f342a89fd7775e637 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 8 Sep 2009 10:48:48 +0000 Subject: [PATCH] * binutils-all/objdump.exp (cpus_expected): Add ms1. 2009-09-07 Jan Kratochvil * binutils-all/testranges.s (.debug_info): Pad the only CU. * binutils-all/testranges.s: Replace all .long by .4byte. --- binutils/testsuite/ChangeLog | 12 ++++++++++++ binutils/testsuite/binutils-all/objdump.exp | 2 +- binutils/testsuite/binutils-all/testranges.s | 20 ++++++++++++-------- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index a87670a0b43..bbee66a5799 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2009-09-08 Alan Modra + + * binutils-all/objdump.exp (cpus_expected): Add ms1. + +2009-09-07 Jan Kratochvil + + * binutils-all/testranges.s (.debug_info): Pad the only CU. + +2009-09-07 Jan Kratochvil + + * binutils-all/testranges.s: Replace all .long by .4byte. + 2009-09-04 DJ Delorie * binutils-all/objdump.exp: Add m16c and m32c to the list of diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp index 258ebf743aa..d5879aaa404 100644 --- a/binutils/testsuite/binutils-all/objdump.exp +++ b/binutils/testsuite/binutils-all/objdump.exp @@ -39,7 +39,7 @@ set cpus_expected [list] lappend cpus_expected alpha arc arm cris lappend cpus_expected d10v d30v fr30 fr500 fr550 h8 hppa i386 i860 i960 ip2022 lappend cpus_expected m16c m32c m32r m68hc11 m68hc12 m68k m88k MCore -lappend cpus_expected mips mn10200 mn10300 msp ns32k pj powerpc pyramid +lappend cpus_expected mips mn10200 mn10300 ms1 msp ns32k pj powerpc pyramid lappend cpus_expected romp rs6000 s390 sh sparc lappend cpus_expected tahoe tic54x tic80 tms320c30 tms320c4x tms320c54x v850 lappend cpus_expected vax we32k x86-64 xscale xtensa z8k z8001 z8002 diff --git a/binutils/testsuite/binutils-all/testranges.s b/binutils/testsuite/binutils-all/testranges.s index b7fd7bbf270..e1f9931b999 100644 --- a/binutils/testsuite/binutils-all/testranges.s +++ b/binutils/testsuite/binutils-all/testranges.s @@ -12,26 +12,30 @@ end: range: range_sub: - .long sub, end - .long 0, 0 ;# range terminator + .4byte sub, end + .4byte 0, 0 ;# range terminator range_cu: - .long start, end - .long 0, 0 ;# range terminator + .4byte start, end + .4byte 0, 0 ;# range terminator .section .debug_info,"",%progbits - .long debugE - debugS ;# Length of Compilation Unit Info + .4byte debugE - debugS ;# Length of Compilation Unit Info debugS: .short 0x2 ;# DWARF version number - .long abbrev0 ;# Offset Into Abbrev. Section + .4byte abbrev0 ;# Offset Into Abbrev. Section .byte 0x4 ;# Pointer Size (in bytes) .uleb128 0x1 ;# (DIE (0xb) DW_TAG_compile_unit) - .long range_cu - range ;# DW_AT_ranges + .4byte range_cu - range ;# DW_AT_ranges .uleb128 0x2 ;# (DIE (0x6d) DW_TAG_subprogram) .ascii "A\0" ;# DW_AT_name - .long range_sub - range ;# DW_AT_ranges + .4byte range_sub - range ;# DW_AT_ranges + + ;# minimal section alignment on alpha-* is 2, ensure no new invalid CU + ;# will be started. + .balign 2 debugE: .section .debug_abbrev,"",%progbits -- 2.47.3