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