Keith Owens wrote:
>
> Sections marked __exit get discarded when the code is linked into the
> kernel, they are kept when the code is a module. But the spin lock
> code is kept (in another section) and relocation from .text.lock back
> to .text.exit fails. Possible fixes:
>
> Use RTC as a mod
Thank you Keith!
I simply deleted "__exit" from below in my
/usr/src/linux/drivers/char/rtc.c file
static void __exit rtc_exit (void)
{
/* interrupts and maybe timer disabled at this point by
rtc_release */
/* FIXME: Maybe??? */
if (rtc_status & RTC_TIMER_ON) {
On Mon, 18 Sep 2000 22:51:42 -0700,
"Armand" <[EMAIL PROTECTED]> wrote:
>drivers/char/rtc.o: file format elf32-i386
>--
> b9: 7e f5 jleb0 <.text.lock+0xb0>
> bb: e9 b6 00 00 00 jmp176
>bc: R_386_PC32 .text.init
> c0: 80 3d
On Mon, 18 Sep 2000 21:28:20 -0700,
"Armand" <[EMAIL PROTECTED]> wrote:
>drivers/char/char.o(.text.lock+0x66a): relocation truncated to fit:
>R_386_PC32 text.exit
>make: *** [vmlinux] Error 1
>
>I've upgraded to modutils-2.3.16-1 with Caldera OpenLinux LTP run
Hello,
I end up getting this error when I make bzImage:
drivers/char/char.o(.text.lock+0x66a): relocation truncated to fit:
R_386_PC32 text.exit
make: *** [vmlinux] Error 1
I've upgraded to modutils-2.3.16-1 with Caldera OpenLinux LTP running on
a SuperMicro P6DNF with dual Penti
5 matches
Mail list logo