Skip to contentSkip to conversation

Modules without unwind data

Linux-ia64 Applied Andreas Schwab 2 participants 2 messages Apr 6, 2002 – Apr 8, 2002

lore
Share & tools
lore
#0 lore raw

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.

include/asm-ia64/module.h renamed from include/asm-ia64/module.h.~1~ +3 -0
@@ -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.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
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."
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab

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