bug-binutils
[Top][All Lists]
Advanced

[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 14:53:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18288



H.J. Lu <hjl.tools at gmail dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|WAITING                     |NEW



--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> ---

(In reply to H.J. Lu from comment #11)

> (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.

> 



I can't reproduce it with strip from master branch.  Please provide unstrip
ped.



-- 

You are receiving this mail because:

You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]