This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch 1/3] unordered FAILs: 64bit targets (alpha-linux-gnu)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 7 Sep 2009 05:32:33 +0200
- Subject: [patch 1/3] unordered FAILs: 64bit targets (alpha-linux-gnu)
Hi,
at least alpha-linux-gnu has .long 64-bit, clearly a testcase bug.
readelf: Warning: Bogus end-of-siblings marker detected at offset b in .debug_info section
readelf: Warning: DIE at offset c refers to abbreviation number 4 which does not exist
readelf: Warning: Unable to load/parse the .debug_info section, so cannot interpret the .debug_ranges section.
Thanks,
Jan
readelf: Warning: Bogus end-of-siblings marker detected at offset b in .debug_info section
readelf: Warning: DIE at offset c refers to abbreviation number 4 which does not exist
readelf: Warning: Unable to load/parse the .debug_info section, so cannot interpret the .debug_ranges section.
binutils/testsuite/
2009-08-31 Jan Kratochvil <jan.kratochvil@redhat.com>
* binutils-all/testranges.s: Replace all .long by .4byte.
--- binutils/testsuite/binutils-all/testranges.s 7 Aug 2009 19:32:06 -0000 1.3
+++ binutils/testsuite/binutils-all/testranges.s 31 Aug 2009 17:44:29 -0000
@@ -12,26 +12,26 @@ 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
debugE:
.section .debug_abbrev,"",%progbits