https://sourceware.org/bugzilla/show_bug.cgi?id=19446
--- Comment #11 from David Li ---
No problem with this as long as ld does not throw away note sections.
thanks,
--
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-
https://sourceware.org/bugzilla/show_bug.cgi?id=19446
--- Comment #9 from David Li ---
(In reply to Nick Clifton from comment #8)
> Hi David,
>
> Right - I think that I have got a handle on what it going on here.
>
> So what happens is this - g0 is a data symbol. In your case it is a
> com
https://sourceware.org/bugzilla/show_bug.cgi?id=19446
--- Comment #6 from David Li ---
(In reply to H.J. Lu from comment #5)
> (In reply to David Li from comment #4)
> > (In reply to H.J. Lu from comment #3)
> > > (In reply to David Li from comment #2)
> > > > (In reply to H.J. Lu from comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=19446
--- Comment #4 from David Li ---
(In reply to H.J. Lu from comment #3)
> (In reply to David Li from comment #2)
> > (In reply to H.J. Lu from comment #1)
> > > Since UNREF section is not referenced, it should be GCed. Am I missing
> > > somet
https://sourceware.org/bugzilla/show_bug.cgi?id=19446
--- Comment #2 from David Li ---
(In reply to H.J. Lu from comment #1)
> Since UNREF section is not referenced, it should be GCed. Am I missing
> something?
Note that the section does not have 'a' bit -- just like debug sections. Linker
won'
https://sourceware.org/bugzilla/show_bug.cgi?id=19446
David Li changed:
What|Removed |Added
CC||ccoutant at gmail dot com,
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: xinliangli at gmail dot com
Target Milestone: ---
If a section is not marked with SHF_ALLOC attribute and when --gc-sections is
on, the BFD linker only
https://sourceware.org/bugzilla/show_bug.cgi?id=19161
--- Comment #3 from David Li ---
(In reply to H.J. Lu from comment #2)
> Created attachment 8737 [details]
> A patch
>
> Try this.
Verified the fix works fine.
--
You are receiving this mail because:
You are on the CC list for the bug.
__
,
||hjl.tools at gmail dot com,
||xinliangli at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: xinliangli at gmail dot com
Target Milestone: ---
Here is a small reproducible:
// Failed with gnu ld
gcc -fuse-ld=bfd -fdata-sections -Wl,--gc-sections gctest.c
10 matches
Mail list logo