This is the mail archive of the
egcs@egcs.cygnus.com
mailing list for the EGCS project. See the EGCS
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)
- To: torvalds@transmeta.com (Linus Torvalds)
- Subject: Re: A final solution. (Was Re: kernel-2.2.1-undefined references.)
- From: Jason Merrill <jason@cygnus.com>
- Date: 12 Feb 1999 22:06:14 -0800
- Cc: egcs@cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: torvalds@transmeta.com's message of 12 Feb 1999 19:06:32 -0800
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- References: <199902130258.SAA20411@kankakee.wrs.com> <Pine.LNX.3.95.990212190247.31280Q-100000.cygnus.egcs@penguin.transmeta.com>
- Sender: owner-egcs@egcs.cygnus.com
>>>>> Linus Torvalds <torvalds@transmeta.com> writes:
> 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?
On Linux, --gc-sections only works if you link statically; using it with a
dynamic link produces a non-functional executable. 'twould be nice for
someone to fix this.
It might work fine for the kernel.
Jason