PATCH: PR gas/12409: --compress-debug-sections doesn't work on empty DWARF sections
Alan Modra
amodra@gmail.com
Thu Feb 10 05:06:00 GMT 2011
On Tue, Jan 18, 2011 at 10:57:33AM -0800, H.J. Lu wrote:
> We shouldn't compress empty DWARF sections. I checked in this patch as
> an obvious fix.
[snip]
> PR gas/12409
> * gas/elf/dwarf2-4.d: New.
> * gas/elf/dwarf2-4.s: Likewise.
Breaks on arm.
* gas/elf/dwarf2-4.s: Don't use @.
Index: gas/testsuite/gas/elf/dwarf2-4.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/elf/dwarf2-4.s,v
retrieving revision 1.1
diff -u -p -r1.1 dwarf2-4.s
--- gas/testsuite/gas/elf/dwarf2-4.s 18 Jan 2011 18:55:59 -0000 1.1
+++ gas/testsuite/gas/elf/dwarf2-4.s 10 Feb 2011 04:00:02 -0000
@@ -1,9 +1,9 @@
.file "__dn_comp.c"
- .section .debug_abbrev,"",@progbits
+ .section .debug_abbrev,"",%progbits
.Ldebug_abbrev0:
- .section .debug_info,"",@progbits
+ .section .debug_info,"",%progbits
.Ldebug_info0:
- .section .debug_line,"",@progbits
+ .section .debug_line,"",%progbits
.Ldebug_line0:
.text
.Ltext0:
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list