Messages in this thread | | | Date | Sun, 26 Oct 2008 19:32:54 +0100 (CET) | From | Geert Uytterhoeven <> | Subject | Re: discarded `.exit.text' debugging? |
| |
On Mon, 20 Oct 2008, Geert Uytterhoeven wrote: > Last night I got these in my build logs: > > | `.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o > | `.exit.text' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o > > i.e. not much context. Is there an easy way to find out who's the > offender?
I also didn't get any section mismatch warnings about them with CONFIG_DEBUG_SECTION_MISMATCH=y.
So I went the hard way (i.e. maual bisection on CONFIG symbols) and found 2 bogus __exit marks in drivers/rtc/rtc-ds3234.c and drivers/hwmon/w83781d.c.
Patches to fix them have been sent.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |