This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 28 Apr 2015 21:36:09 +0200
- Subject: Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOr2tu2v033H0HjfXTCaKbHCtMbXqXsqfoafCimUR_fZ9A at mail dot gmail dot com> <20150415005524 dot GB31531 at bubble dot grove dot modra dot org> <CAMe9rOrDsmL-NfuiuFewEvmO=LLCmafxaVqCo+VMW2aaztaEww at mail dot gmail dot com> <20150415035850 dot GA30136 at bubble dot grove dot modra dot org> <CAMe9rOoWJQf-_101GEHHz_xW0K62r3Y0OYRCEnOPsBPfMfM1Ew at mail dot gmail dot com>
tmpdir/normal.out tmpdir/gnunormal.out differ.
FAIL: Link with zlib-gnu compressed debug output
--- tmpdir/normal.out 2015-04-28 21:33:33.668537097 +0200
+++ tmpdir/gnunormal.out 2015-04-28 21:33:57.804523964 +0200
@@ -136,7 +136,7 @@ Contents of the .debug_aranges section:
Segment Size: 0
Address Length
- 00000000004004e0 0000000000000015
+ 00000000004004d8 0000000000000015
00000000004006c4 0000000000000004
0000000000000000 0000000000000000
Length: 28
@@ -181,7 +181,7 @@ Contents of the .debug_aranges section:
Segment Size: 0
Address Length
- 00000000004004f5 0000000000000005
+ 00000000004004ed 0000000000000005
00000000004006c8 0000000000000005
0000000000000000 0000000000000000
@@ -1745,14 +1745,14 @@ Raw dump of debug contents of section .d
1 1 0 0 crti.S
Line Number Statements:
- [0x000000bd] Extended opcode 2: set Address to 0x4004e0
+ [0x000000bd] Extended opcode 2: set Address to 0x4004d8
[0x000000c8] Advance Line by 63 to 64
[0x000000ca] Copy
- [0x000000cb] Special opcode 63: advance Address by 4 to 0x4004e4 and Line by 2 to 66
- [0x000000cc] Special opcode 104: advance Address by 7 to 0x4004eb and Line by 1 to 67
- [0x000000cd] Special opcode 48: advance Address by 3 to 0x4004ee and Line by 1 to 68
- [0x000000ce] Special opcode 34: advance Address by 2 to 0x4004f0 and Line by 1 to 69
- [0x000000cf] Advance PC by 5 to 0x4004f5
+ [0x000000cb] Special opcode 63: advance Address by 4 to 0x4004dc and Line by 2 to 66
+ [0x000000cc] Special opcode 104: advance Address by 7 to 0x4004e3 and Line by 1 to 67
+ [0x000000cd] Special opcode 48: advance Address by 3 to 0x4004e6 and Line by 1 to 68
+ [0x000000ce] Special opcode 34: advance Address by 2 to 0x4004e8 and Line by 1 to 69
+ [0x000000cf] Advance PC by 5 to 0x4004ed
[0x000000d1] Extended opcode 1: End of Sequence
[0x000000d4] Extended opcode 2: set Address to 0x4006c4
@@ -1986,11 +1986,11 @@ Raw dump of debug contents of section .d
1 1 0 0 crtn.S
Line Number Statements:
- [0x0000040f] Extended opcode 2: set Address to 0x4004f5
+ [0x0000040f] Extended opcode 2: set Address to 0x4004ed
[0x0000041a] Advance Line by 39 to 40
[0x0000041c] Copy
- [0x0000041d] Special opcode 62: advance Address by 4 to 0x4004f9 and Line by 1 to 41
- [0x0000041e] Advance PC by 1 to 0x4004fa
+ [0x0000041d] Special opcode 62: advance Address by 4 to 0x4004f1 and Line by 1 to 41
+ [0x0000041e] Advance PC by 1 to 0x4004f2
[0x00000420] Extended opcode 1: End of Sequence
[0x00000423] Extended opcode 2: set Address to 0x4006c8
@@ -2124,7 +2124,7 @@ Contents of the .debug_ranges section:
Offset Begin End
00000000 ffffffffffffffff 0000000000000000 (base address)
- 00000000 00000000004004e0 00000000004004f5
+ 00000000 00000000004004d8 00000000004004ed
00000000 00000000004006c4 00000000004006c8
00000000 <End of list>
00000040 0000000000400540 0000000000400555
@@ -2135,7 +2135,7 @@ Contents of the .debug_ranges section:
00000060 0000000000400683 00000000004006a6
00000060 <End of list>
000000b0 ffffffffffffffff 0000000000000000 (base address)
- 000000b0 00000000004004f5 00000000004004fa
+ 000000b0 00000000004004ed 00000000004004f2
000000b0 00000000004006c8 00000000004006cd
000000b0 <End of list>
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."