[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/18288] linker -s output suboptimal
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gold/18288] linker -s output suboptimal |
Date: |
Thu, 23 Apr 2015 13:56:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18288
--- Comment #11 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to address@hidden from comment #10)
> I installed ld and gold from master (commit 8900d71e3880)
>
> After compiling with ld (master) the resulting binary is 471 648 bytes and
> strip does not change its size. Doing readelf --all on the unstripped and
> stripped binary has this diffs:
So ld is OK.
> --- stripped 2015-04-23 13:36:57.879247346 +0000
> +++ unstripped 2015-04-23 13:36:49.264247644 +0000
> @@ -41,7 +41,7 @@
> [ 8] .rela.dyn RELA 0000000000403aa0 00003aa0
> 00000000000000c0 0000000000000018 A 4 0 8
> [ 9] .rela.plt RELA 0000000000403b60 00003b60
> - 0000000000001ff8 0000000000000018 AI 4 11 8
> + 0000000000001ff8 0000000000000018 AI 4 23 8
> [10] .init PROGBITS 0000000000405b58 00005b58
> 0000000000000024 0000000000000000 AX 0 0 4
> [11] .plt PROGBITS 0000000000405b80 00005b80
I will take a look at this.
> Using gold from master produces binary of size 475 880 bytes -> suboptimal
> size. The size is the same, when I use gold 2.25/1.11
>
So gold has the size issue, not ld. Is this correct?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/18288] linker -s output suboptimal, (continued)
- [Bug binutils/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/22
- [Bug binutils/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/23
- [Bug binutils/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/23
- [Bug gold/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/23
- [Bug gold/18288] linker -s output suboptimal,
hjl.tools at gmail dot com <=
- [Bug gold/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/23
- [Bug gold/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/23
- [Bug gold/18288] linker -s output suboptimal, dilyan.palauzov at aegee dot org, 2015/04/23
- [Bug gold/18288] linker -s output suboptimal, hjl.tools at gmail dot com, 2015/04/23