linux-mips
[Top] [All Lists]

Is the new generic KGDB patch in upstream-akpm?

To: "Ralf Baechle" <ralf@linux-mips.org>
Subject: Is the new generic KGDB patch in upstream-akpm?
From: "Daniel Laird" <daniel.j.laird@nxp.com>
Date: Fri, 25 Jul 2008 17:21:33 +0100
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=s2QPkfvtT2f9SlJNgdBPz7pEa95zh5BmDo9mam+2U8c=; b=J4AtZz2nsqjHxMn/KGLzsxDCgUUhZFZXF9cOMSTUi6yQnjDsLCVz9loNbOWCR4RyuI SKRe78KJSM1g+qVe+eoxNNBQy4Lfk9SfFfCKz37G1OXnh9knyC5ReBqIfSs6FPy5FV61 PP3UIEjWoRkviTVJ/X3k+GfWUcEnCSEzlgM0M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=eQygZmlsTAcFHBbSwS1sUMjM1d6nJjiNtmQCVxFKy37LU6kRFGo/JbN1NJjZ1CBhmW mZD274DTpYF4sf8j5Y82gVKHyD5ukHygwHmms5WZlij7AzqN0pI/tsXwEs8TFAj6iqjq Q8WVoWpACYxGPAHN0Q3PYtOtIprZGeQFRZbW0=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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>