public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Modules without unwind data
@ 2002-04-06 16:15 Andreas Schwab
  2002-04-08 20:27 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2002-04-06 16:15 UTC (permalink / raw)
  To: linux-ia64

The kernel cannot cope with modules without unwind data, which happens
with data-only modules like the fs/nls modules when compiling with gcc
3.1.

--- linux/include/asm-ia64/module.h.~1~	2002-03-19 21:51:32.000000000 +0100
+++ linux/include/asm-ia64/module.h	2002-04-06 18:08:41.000000000 +0200
@@ -51,6 +51,9 @@
 		return 0;
 	archdata = (struct archdata *)(mod->archdata_start);
 
+	if (archdata->unw_start = 0)
+		return 0;
+
 	/*
 	 * Make sure the unwind pointers are sane.
 	 */

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-ia64] Modules without unwind data
  2002-04-06 16:15 [Linux-ia64] Modules without unwind data Andreas Schwab
@ 2002-04-08 20:27 ` David Mosberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2002-04-08 20:27 UTC (permalink / raw)
  To: linux-ia64

>>>>> On Sat, 06 Apr 2002 18:15:42 +0200, Andreas Schwab <schwab@suse.de> said:

  Andreas> The kernel cannot cope with modules without unwind data,
  Andreas> which happens with data-only modules like the fs/nls
  Andreas> modules when compiling with gcc 3.1.

Applied, thanks.

	--david


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-08 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-06 16:15 [Linux-ia64] Modules without unwind data Andreas Schwab
2002-04-08 20:27 ` David Mosberger

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