This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Section garbage collection problem


Hi,

On Sunday 16 September 2007 20:20, Michael Hennebry wrote:
> Would a two-step link work?
> The first step lets ld gc what it wants.
> The second step links the output of the first with the
> lock section and lives with the unresolved references.

I don't understand you fully, sorry...

NB: ld -r and --gc-sections don't mix. Thus first link
in two-stage link should not use -r then.
I am not sure how to use the result of
"ld --gc-sections without -r" in the second stage.
--
vda


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]