* [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
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