bug-binutils
[Top][All Lists]
Advanced

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

Re: GNU strip fails to set sh_link and sh_info on Solaris SPARC64


From: Nick Clifton
Subject: Re: GNU strip fails to set sh_link and sh_info on Solaris SPARC64
Date: Fri, 5 Mar 2021 11:11:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

Hi Libor,

thank you for ideas. Obviously, the biggest problem is that we know too late 
whether the symbol section is empty and it is difficult to remove already created 
output sections (requires hacks). In that case, a safer and cleaner solution (but 
slow) is to call strip in two phases> Not sure whether I should attempt to 
implement it since this performance bottleneck could be no-go.

Safe and slow but working is better than fast and broken...

I forgot whther you said that having these sections present in a file when the 
symbol table is missing actually causes problems with their execution.  If it 
does not then the simplest solution is to do nothing and just leave them in.  
(A slightly better solution would be to add a comment to the code explaining 
why the sections are not removed).

Cheers
  Nick




reply via email to

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