bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: 'ld -s' not stripping (2.12, mips-dec-ultrix4.4)


From: Nick Clifton
Subject: Re: 'ld -s' not stripping (2.12, mips-dec-ultrix4.4)
Date: 14 Mar 2002 10:03:30 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

Hi Bert,

> Apparently 'ld -s' (version 2.12) does nothing under Ultrix 4.4.  On
> the other hand 'strip' works perfectly.  This was also the case in
> several earlier versions of the loader.  Anyone has an idea where to
> start looking?

Well it depends upon exactly what you are expecting 'ld -s' to strip.
For example the function lang_add_section() in ld/ldlang.c is supposed
to strip debugging sections, so if these are appearing in your output
then that would be a good place to start.

If it is not striping symbols, then find out which function the macro
bfd_link_add_symbols() goes to and examine that code.

Cheers
        Nick




reply via email to

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