This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/testcase] gdb.asm/m32r.inc: fix compile error
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Kei Sakamoto <sakamoto dot kei at renesas dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 5 Aug 2003 14:02:35 -0400
- Subject: Re: [patch/testcase] gdb.asm/m32r.inc: fix compile error
- References: <028801c35a51$47db96d0$5169910a@KEI>
On Mon, Aug 04, 2003 at 03:26:03PM +0900, Kei Sakamoto wrote:
> Thank you, everyone. Now m32r is back! :-)
>
> The attached fixes compile errors of asm-source.exp for m32r-elf.
> There are several missing symbols.
>
> It also replaces ld24 instruction with seth/add3 instruction.
> ld24 can handle only 24bit address, so ld24 fails to set sp when
> _stack is located at a large address.
>
> Kei Sakamoto
>
> ===
>
> 2003-08-04 Kei Sakamoto <sakamoto.kei@renesas.com>
>
> * gdb.asm/m32r.inc : Add several missing symbols. Replace ld24
> with seth/add3.
Two minor things:
- You accidentally sent a reversed diff.
- ChangeLog formatting. It should be:
2003-08-04 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.asm/m32r.inc: Add several missing symbols. Replace ld24
with seth/add3.
One less minor thing: no other port needs to declare symbols. It looks
like part of libc is being dragged in somehow on m32r; could you
explain why the symbols are necessary?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer