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: Fri, 12 Feb 1999 19:04:42 -0800 (PST) > From: Linus Torvalds <torvalds@transmeta.com> > To: Mike Stump <mrs@wrs.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> Ok, sounds like we are on good terms again. Sure, go ahead and use them, there can't be _any_ bugs in those two really cutting edge features, can there? Naw, we're studs. Rth Rules! :-) Ok, that aside, I have used them in trivial cases, and observed they did exactly what I wanted. If your willing to bleed, welcome to the edge!