bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/19446] BFD linker discards section without alloc section a


From: xinliangli at gmail dot com
Subject: [Bug binutils/19446] BFD linker discards section without alloc section attribute under certain conditions
Date: Mon, 11 Jan 2016 23:07:22 +0000

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

--- Comment #2 from David Li <xinliangli at gmail dot com> ---
(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't GC debug sections, right?

Also there is inconsistent behavior here -- when g0 is not referenced by UNREF,
UNREF will be kept by the linker.

-- 
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]