Re: discarded `.exit.text' debugging?

From: linux-os (Dick Johnson)
Date: Mon Oct 20 2008 - 16:54:16 EST


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?
>
> Thx!
>
> Gr{oetje,eeting}s,
>
> Geert
>

Look in .built-in.o.cmd for the files included in that object
file. It's a start. Something like

../drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c

With an exit(EX_SOFTWARE) or similar that was not supposed to
be included in the kernel build because it is for user-mode
build code.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.25.17 on an i686 machine (4787.24 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@xxxxxxxxxxxx - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/