http://sourceware.org/bugzilla/show_bug.cgi?id=13947
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #15 from cvs-commit at gcc dot gnu.org 2012-04-13 23:20:11 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-04-13 23:20:01
Modified files:
bfd: ChangeLog elflink.c
ld/
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #14 from cvs-commit at gcc dot gnu.org 2012-04-13 02:52:39 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:h...@sourceware.org2012-04-13 02:52:35
Modified files:
binutils : ChangeLog objcopy.c
bin
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #13 from Ignacy Gawędzki 2012-04-12
10:22:55 UTC ---
(In reply to comment #12)
> Created attachment 6337 [details]
> A patch
>
> This patch removes the empty relocation sections.
I confirm that both patches together fix the bug.
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #12 from H.J. Lu 2012-04-12 01:07:54
UTC ---
Created attachment 6337
--> http://sourceware.org/bugzilla/attachment.cgi?id=6337
A patch
This patch removes the empty relocation sections.
--
Configure bugmail: http://sourceware.o
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #11 from H.J. Lu 2012-04-12 00:33:30
UTC ---
The problem is strip removes relocation while keeping
an empty relocation section:
[hjl@gnu-6 pr13947]$ cat foo.s
.text
.globl _start
_start:
.dc.a foo
.data
.globl
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #10 from Ignacy Gawędzki 2012-04-11
18:52:25 UTC ---
Created attachment 6335
--> http://sourceware.org/bugzilla/attachment.cgi?id=6335
The executable unstripped
This is the executable as output by ld.
--
Configure bugmail: htt
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #9 from H.J. Lu 2012-04-11 16:33:50
UTC ---
(In reply to comment #8)
> (In reply to comment #7)
> > Please provide outputs of "readelf -Sl" on each ld/strip result.
>
> Sure, here you are. After building the executable:
>
Pleas
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #8 from Ignacy Gawędzki 2012-04-11
16:19:13 UTC ---
(In reply to comment #7)
> Please provide outputs of "readelf -Sl" on each ld/strip result.
Sure, here you are. After building the executable:
There are 34 section headers, sta
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #7 from H.J. Lu 2012-04-11 14:54:19
UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > (In reply to comment #3)
> > > > Created attachment 6333 [details]
> > > > A patch
> > >
> > > I ju
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
--- Comment #6 from Ignacy Gawędzki 2012-04-11
11:40:52 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Created attachment 6333 [details]
> > > A patch
> >
> > I just tried this patch and it does
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
H.J. Lu changed:
What|Removed |Added
Component|binutils|ld
--- Comment #5 from H.J. Lu 2012-04-10 2
12 matches
Mail list logo