Subject: Re: changing Makfiles to use ld -X not -S ?
To: matthew green <mrg@eterna.com.au>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: tech-kern
Date: 02/05/1998 20:12:01
On Fri, 6 Feb 1998, matthew green wrote:

> 
> hi..
> 
> one thing that chuck cranor has made me realise is that if you build one
> kernel object with -g, the default link target removes the debugging
> info for it because it includes -S.
> 
> does anyone object to changing these -S's to -X's in the Makefile.<arch>
> files ?

-X looks rather silly from the man page I looked at. It strips all local
symbols in the input files which start with the letter 'L'. Assuming we
want to be getting rid of stuff, wouldn't -x be better (discard all local
symbols irregardles of their starting letter)?

Or would a large number of symbols start with an 'L' at present? Or did I
miss something?

Confused,

Bill