$$mulI missing
I enabled "CONFIG_MODULES" to build a 64-bit kernel
and got the following link error:
arch/parisc64/kernel/kernel.o(__ksymtab+0x300): undefined reference to `$$mulI'
I'll try to work around it by using HPUX's 64-bit libmilli.a.
grant
= I enabled "CONFIG_MODULES" to build a 64-bit kernel
= and got the following link error:
= arch/parisc64/kernel/kernel.o(__ksymtab+0x300): undefined reference to `$$mul I'
=
= I'll try to work around it by using HPUX's 64-bit libmilli.a.
I didn't think the 64-bit compiler used mulI so didn't include it in the millicode routines. I'm curious what's using it. I can port the HP multiply routines if needed but want to make sure it's really needed...
-P
Quoted 2 lines · Paul Bame
I didn't think the 64-bit compiler used mulI so didn't include it in the millicode routines. I'm curious what's using it.
arch/parisc/kernel/parisc_ksyms.c
Exported for (guess what?) CONFIG_MODULE support. :^/
I've committed the following patch. Paul tells me on 64 bit, millicode looks to be limited to div* and rem*.
grant
02/01 20:16:08 renamed from 12/31 01:42:06 1.11 +0 -4
@@ -97,8 +97,6 @@ extern void $$divI(void); extern void $$divU(void); extern void $$remI(void); extern void $$remU(void); -extern void $$mulI(void); -extern void $$mulU(void); extern void $$divU_3(void); extern void $$divU_5(void); extern void $$divU_6(void);
@@ -122,8 +120,6 @@ EXPORT_SYMBOL_NOVERS($$divI); EXPORT_SYMBOL_NOVERS($$divU); EXPORT_SYMBOL_NOVERS($$remI); EXPORT_SYMBOL_NOVERS($$remU); -EXPORT_SYMBOL_NOVERS($$mulI); -EXPORT_SYMBOL_NOVERS($$mulU); EXPORT_SYMBOL_NOVERS($$divU_3); EXPORT_SYMBOL_NOVERS($$divU_5); EXPORT_SYMBOL_NOVERS($$divU_6);
Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253
Quoted 10 lines · Grant Grundler
Quoted 2 lines · Paul Bame
I didn't think the 64-bit compiler used mulI so didn't include it in the millicode routines. I'm curious what's using it.
arch/parisc/kernel/parisc_ksyms.cExported for (guess what?)
CONFIG_MODULEsupport. :^/I've committed the following patch. Paul tells me on 64 bit, millicode looks to be limited to div* and rem*.
Errm. 32 bit might still want them. #ifndef __LP64__ ?
Alan
Signature · 1 line
Linuxcare.
Quoted 1 line · Alan Modra
Errm. 32 bit might still want them. #ifndef
__LP64__?
Ahh, missed seeing your second commit :-)
Quoted 5 lines · Alan Modra
Quoted 1 line · Alan Modra
Errm. 32 bit might still want them. #ifndef
__LP64__?Ahh, missed seeing your second commit :-)
Exactly. My oversight. Thanks to Paul (Bame) for asking me the same question. And the answer was: doh! of course! :^)
grant
Grant Grundler
parisc-linux {PCI|IOMMU|SMP} hacker
+1.408.447.7253