[patch] Support unordered .debug_info references to .debug_ranges
Dave Korn
dave.korn.cygwin@googlemail.com
Thu Jul 16 02:27:00 GMT 2009
Jan Kratochvil wrote:
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ binutils/testsuite/binutils-all/testranges.s 13 Jul 2009 08:49:22 -0000
> + .section .debug_ranges,"",@progbits
> + .section .debug_info,"",@progbits
> + .section .debug_abbrev,"",@progbits
These forms of the .section directive are ELF-specific and cause the test to
fail on all COFF targets. (Also, the test relies on readelf.) The attached
patch moves the line that invokes the "testranges" testcase up a couple of
lines to where it's under the control of an existing "if [is_elf_format]" clause.
binutils/testsuite/ChangeLog:
* binutils-all/objcopy.exp: Only run testranges if is_elf_format.
Tested on i686-pc-cygwin; Jan, would you mind verifying it still runs (and
passes) the test on your linux target?
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testrange-elf-only.diff
Type: text/x-c
Size: 585 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090716/4e32edfc/attachment.bin>
More information about the Binutils
mailing list