Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [commit] Use -e instead of --entry for as in testsuite
@ 2005-10-31 20:35 Mark Kettenis
  2005-10-31 20:39 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Kettenis @ 2005-10-31 20:35 UTC (permalink / raw)
  To: gdb-patches

This is much more portable

I threatened to put this in a long, long time ago, and nobody
objected.  Finially did it.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* gdb.asm/asm-source.exp: Use -e instead of --entry.

Index: gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.56
diff -u -p -r1.56 asm-source.exp
--- gdb.asm/asm-source.exp 29 Apr 2005 14:22:27 -0000 1.56
+++ gdb.asm/asm-source.exp 31 Oct 2005 20:32:26 -0000
@@ -34,7 +34,7 @@ set bug_id 0
 set asm-arch ""
 set asm-note "empty"
 set asm-flags ""
-set link-flags "--entry _start"
+set link-flags "-e _start"
 set debug-flags ""
 
 switch -glob -- [istarget] {


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [commit] Use -e instead of --entry for as in testsuite
  2005-10-31 20:35 [commit] Use -e instead of --entry for as in testsuite Mark Kettenis
@ 2005-10-31 20:39 ` Daniel Jacobowitz
  2005-11-01  7:40   ` Mark Kettenis
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2005-10-31 20:39 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: gdb-patches

On Mon, Oct 31, 2005 at 09:34:05PM +0100, Mark Kettenis wrote:
> This is much more portable
> 
> I threatened to put this in a long, long time ago, and nobody
> objected.  Finially did it.
> 
> Mark
> 
> 
> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
> 
> 	* gdb.asm/asm-source.exp: Use -e instead of --entry.

Is this more portable to any one system, in particular?  If so could
you write down in the test which one?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [commit] Use -e instead of --entry for as in testsuite
  2005-10-31 20:39 ` Daniel Jacobowitz
@ 2005-11-01  7:40   ` Mark Kettenis
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Kettenis @ 2005-11-01  7:40 UTC (permalink / raw)
  To: drow; +Cc: gdb-patches

> Date: Mon, 31 Oct 2005 15:35:53 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> > Index: ChangeLog
> > from  Mark Kettenis  <kettenis@gnu.org>
> > 
> > 	* gdb.asm/asm-source.exp: Use -e instead of --entry.
> 
> Is this more portable to any one system, in particular?  If so could
> you write down in the test which one?

No system in particular.  Quite a few linkers have the -e option,
including Solaris, HP-UX, IRIX and of course GNU ld.  The --entry
option is really specific to GNU ld (but really old versions seem to
lack it too).

Mark


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-01  7:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-31 20:35 [commit] Use -e instead of --entry for as in testsuite Mark Kettenis
2005-10-31 20:39 ` Daniel Jacobowitz
2005-11-01  7:40   ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox