linux-mips
[Top] [All Lists]

Re: Is the new generic KGDB patch in upstream-akpm?

To: "Daniel Laird" <daniel.j.laird@nxp.com>
Subject: Re: Is the new generic KGDB patch in upstream-akpm?
From: <danieljlaird@hotmail.com>
Date: Fri, 25 Jul 2008 18:42:39 +0100
Cc: <linux-mips@linux-mips.org>
Importance: Normal
In-reply-to: <64660ef00807250921h75ec4e48v92ef964e1c1185f4@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <64660ef00807250921h75ec4e48v92ef964e1c1185f4@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Ignore, suffering from friday stupidity, sorting it now Cheers
Dan

--------------------------------------------------
From: "Daniel Laird" <daniel.j.laird@nxp.com>
Sent: Friday, July 25, 2008 5:21 PM
To: "Ralf Baechle" <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Subject: Is the new generic KGDB patch in upstream-akpm?

I am trying to respin the patch to add pnx833x support to linux 2.6.27.
I wanted to patch against the new generic kernel KGDB patch.
So I removed gdb-hook etc.

However when I compile I get
arch/mips/kernel/built-in.o: In function `early_console_write':
early_printk.c:(.init.text+0x1450): undefined reference to `prom_putchar'
early_printk.c:(.init.text+0x1450): relocation truncated to fit:
R_MIPS_26 against `prom_putchar'
early_printk.c:(.init.text+0x145c): undefined reference to `prom_putchar'
early_printk.c:(.init.text+0x145c): relocation truncated to fit:
R_MIPS_26 against `prom_putchar'
make[1]: *** [.tmp_vmlinux1] Error 1

These functions were defined in my gdb-hook.c.  Do I need to move
these somewhere else now? Or just not support EARLY_PRINTK etc.

Is this true?
Cheers
Daniel Laird



<Prev in Thread] Current Thread [Next in Thread>