public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: "Richard B. Johnson" <root@chaos.analogic.com>
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Shared Library starter, ld.so
Date: Fri, 6 Jun 2003 14:10:42 -0700	[thread overview]
Message-ID: <20030606211042.GA30867@twiddle.net> (raw)
In-Reply-To: <Pine.LNX.4.53.0306060721400.4852@chaos>

On Fri, Jun 06, 2003 at 07:34:50AM -0400, Richard B. Johnson wrote:
> .section .text
> .global _start
> .type	_start,@function
> _start:	call	*%edx
> 	pushl	$0
> 	call	exit
> .end
...
> On the Red Hat 9 system, it will segfault.

[vsop:~] gcc -nostartfiles zz.s
[vsop:~] ./a.out
[vsop:~] echo $?
0
[vsop:~] cat /etc/redhat-release 
Red Hat Linux release 9 (Shrike)

Works For Me.


r~

      reply	other threads:[~2003-06-06 20:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-05 14:46 Shared Library starter, ld.so Richard B. Johnson
2003-06-06 10:13 ` Richard Henderson
2003-06-06 11:34   ` Richard B. Johnson
2003-06-06 21:10     ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030606211042.GA30867@twiddle.net \
    --to=rth@twiddle.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox