This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: NetBSD testsuite patch (revised)
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ben Elliston <bje at wasabisystems dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Nov 2003 23:24:06 -0500
- Subject: Re: NetBSD testsuite patch (revised)
- References: <87he0v1lbu.fsf@wasabisystems.com>
On Sun, Nov 23, 2003 at 08:32:52PM +1100, Ben Elliston wrote:
> Here is a more complete patch that gets the asm-source.exp tests
> passing on NetBSD/i386. The rationale behind this change is to force
> the linker to pass `--entry _start' for all target systems, since the
> asmsrc.1 file hardwires the symbol name to `_start'. This simplifies
> things and makes it possible to remove the duplicated label __start in
> mips.inc.
>
> This patch supersedes my previous patch. Okay to commit?
I don't suppose you could test this on a mips-elf simulator target? I
believe asm-source works OK there. If it still does, this is OK.
> 2003-11-23 Ben Elliston <bje@wasabisystems.com>
>
> * gdb.asm/asm-source.exp: Make sure the final link succeeds on
> NetBSD as it does on FreeBSD. Modelled on a similar change by
> Mark Kettenis on 2003-05-30.
> (link-flags): Set to "--entry _start" regardless of target.
> Special linker flags are to be appended to $link-flags.
> * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer