public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* mptscsih.c: discarded in section `.exit.text' from drivers/built-in.o
@ 2004-02-05 19:53 Alex Williamson
  0 siblings, 0 replies; only message in thread
From: Alex Williamson @ 2004-02-05 19:53 UTC (permalink / raw)
  To: Emoore; +Cc: linux-scsi


   The MPT Fusion driver seems to have developed a linker problem on
ia64.  The latest linux-2.5 bk tree gives me the following:

  LD      .tmp_vmlinux1
local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1

Running the reference discard checking tool:

$ ~/reference_discarded.pl 
Finding objects, 858 objects, ignoring 0 module(s)
Finding conglomerates, ignoring 81 conglomerate(s)
Scanning objects
Error: ./drivers/message/fusion/mptscsih.o .init.text refers to 00000000000001e2 PCREL21B          .exit.text
Done

And, sure enough, if I remove the __exits from mptscsih_exit() I get a
linkable kernel.  Looks like the __exits ought to be removed.  Thanks,

	Alex

-- 
Alex Williamson                             HP Linux & Open Source Lab


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-05 19:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-05 19:53 mptscsih.c: discarded in section `.exit.text' from drivers/built-in.o Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox