Browse Source

binutils/testsuite/

* binutils-all/testranges.s: Use %progbits.  Use ";#" for comments.
gdb_7_0-branch
Daniel Jacobowitz 17 years ago
parent
commit
cf2a6cfab6
  1. 4
      binutils/testsuite/ChangeLog
  2. 54
      binutils/testsuite/binutils-all/testranges.s

4
binutils/testsuite/ChangeLog

@ -1,3 +1,7 @@
2009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
* binutils-all/testranges.s: Use %progbits. Use ";#" for comments.
2009-08-06 H.J. Lu <hongjiu.lu@intel.com> 2009-08-06 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/10492 PR binutils/10492

54
binutils/testsuite/binutils-all/testranges.s

@ -8,50 +8,50 @@ sub:
.byte 2 .byte 2
end: end:
.section .debug_ranges,"",@progbits .section .debug_ranges,"",%progbits
range: range:
range_sub: range_sub:
.long sub, end .long sub, end
.long 0, 0 # range terminator .long 0, 0 ;# range terminator
range_cu: range_cu:
.long start, end .long start, end
.long 0, 0 # range terminator .long 0, 0 ;# range terminator
.section .debug_info,"",@progbits .section .debug_info,"",%progbits
.long debugE - debugS # Length of Compilation Unit Info .long debugE - debugS ;# Length of Compilation Unit Info
debugS: debugS:
.short 0x2 # DWARF version number .short 0x2 ;# DWARF version number
.long abbrev0 # Offset Into Abbrev. Section .long abbrev0 ;# Offset Into Abbrev. Section
.byte 0x4 # Pointer Size (in bytes) .byte 0x4 ;# Pointer Size (in bytes)
.uleb128 0x1 # (DIE (0xb) DW_TAG_compile_unit) .uleb128 0x1 ;# (DIE (0xb) DW_TAG_compile_unit)
.long range_cu - range # DW_AT_ranges .long range_cu - range ;# DW_AT_ranges
.uleb128 0x2 # (DIE (0x6d) DW_TAG_subprogram) .uleb128 0x2 ;# (DIE (0x6d) DW_TAG_subprogram)
.ascii "A\0" # DW_AT_name .ascii "A\0" ;# DW_AT_name
.long range_sub - range # DW_AT_ranges .long range_sub - range ;# DW_AT_ranges
debugE: debugE:
.section .debug_abbrev,"",@progbits .section .debug_abbrev,"",%progbits
abbrev0: abbrev0:
.uleb128 0x1 # (abbrev code) .uleb128 0x1 ;# (abbrev code)
.uleb128 0x11 # (TAG: DW_TAG_compile_unit) .uleb128 0x11 ;# (TAG: DW_TAG_compile_unit)
.byte 0x0 # DW_children_no .byte 0x0 ;# DW_children_no
.uleb128 0x55 # (DW_AT_ranges) .uleb128 0x55 ;# (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4) .uleb128 0x6 ;# (DW_FORM_data4)
.byte 0x0 .byte 0x0
.byte 0x0 .byte 0x0
.uleb128 0x2 # (abbrev code) .uleb128 0x2 ;# (abbrev code)
.uleb128 0x2e # (TAG: DW_TAG_subprogram) .uleb128 0x2e ;# (TAG: DW_TAG_subprogram)
.byte 0x0 # DW_children_no .byte 0x0 ;# DW_children_no
.uleb128 0x3 # (DW_AT_name) .uleb128 0x3 ;# (DW_AT_name)
.uleb128 0x8 # (DW_FORM_string) .uleb128 0x8 ;# (DW_FORM_string)
.uleb128 0x55 # (DW_AT_ranges) .uleb128 0x55 ;# (DW_AT_ranges)
.uleb128 0x6 # (DW_FORM_data4) .uleb128 0x6 ;# (DW_FORM_data4)
.byte 0x0 .byte 0x0
.byte 0x0 .byte 0x0
.byte 0x0 # abbrevs terminator .byte 0x0 ;# abbrevs terminator

Loading…
Cancel
Save