]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* binutils-all/objdump.exp (cpus_expected): Add ms1.
authorAlan Modra <amodra@gmail.com>
Tue, 8 Sep 2009 10:48:48 +0000 (10:48 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 8 Sep 2009 10:48:48 +0000 (10:48 +0000)
2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
* binutils-all/testranges.s (.debug_info): Pad the only CU.
* binutils-all/testranges.s: Replace all .long by .4byte.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objdump.exp
binutils/testsuite/binutils-all/testranges.s

index a87670a0b439879a48e9c32a73a9edc2bed68381..bbee66a5799328586db8b26fef3294f561d645c8 100644 (file)
@@ -1,3 +1,15 @@
+2009-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * binutils-all/objdump.exp (cpus_expected): Add ms1.
+
+2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * binutils-all/testranges.s (.debug_info): Pad the only CU.
+
+2009-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * binutils-all/testranges.s: Replace all .long by .4byte.
+
 2009-09-04  DJ Delorie  <dj@redhat.com>
 
        * binutils-all/objdump.exp: Add m16c and m32c to the list of
index 258ebf743aadbafe426ad658518787bc6fbdf331..d5879aaa404bdc85d49d79c478b9183aa423fcdc 100644 (file)
@@ -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
index b7fd7bbf2706e593b560add6e980bc047bc328f4..e1f9931b999f9f2506ffe99b51bfba40b9ebe548 100644 (file)
@@ -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