This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NetBSD testsuite patch (revised)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]