This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)
- To: Mike Stump <mrs at wrs dot com>
- Subject: Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)
- From: Linus Torvalds <torvalds at transmeta dot com>
- Date: Fri, 12 Feb 1999 19:04:42 -0800 (PST)
- cc: zack at rabi dot columbia dot edu, egcs at egcs dot cygnus dot com
On Fri, 12 Feb 1999, Mike Stump wrote:
>
> You like the bleeding edge... Use -ffunction-sections, and
> -Wl,--gc-sections when you compile. [duck] Make that kernel smaller,
> sure, no problem.
Hey, does that actually work reliably? We've used linker tricks before,
and while I wouldn't like to use them for this particular case, there are
other cases that would be simplified by not having to split up object
files by hand (the string stuff still comes to mind).
Oh, and is it documented and supported without any "maybe" clauses? <evil
grin>
Linus