public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Geoff Keating <geoffk@ozemail.com.au>
To: drepper@cygnus.com
Cc: roland@frob.com, libc-hacker@sourceware.cygnus.com
Subject: Re: more ELF changes
Date: Sun, 25 Jul 1999 06:50:00 -0000	[thread overview]
Message-ID: <199907251349.XAA00772@geoffk.wattle.id.au> (raw)
In-Reply-To: <m39085tvwy.fsf@cygnus.com>

> From: Ulrich Drepper <drepper@cygnus.com>
> Date: 24 Jul 1999 17:28:29 -0700

> But I want to overhaul the init handling anyhow.  There is no reason
> to do that much in assembly.

My suggestion would be to do it in _dl_start.  Pass all init functions
argc, argv, and envp.  This is what dlopen does anyway, so there is no
point trying to do anything tricky in the startup code, because it
won't work properly when the library is dlopen()ed (and we don't in
fact do anything tricky now, anyway).  Then you can eliminate
init_first.h, which requires assembler on most targets for no
particular reason; ld.so has already worked out where argv etc. are
before init-first.h is run.

-- 
Geoffrey Keating <geoffk@cygnus.com>

  reply	other threads:[~1999-07-25  6:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-24 15:20 Ulrich Drepper
1999-07-24 15:59 ` Roland McGrath
1999-07-24 17:28   ` Ulrich Drepper
1999-07-25  6:50     ` Geoff Keating [this message]
1999-07-25  9:53       ` Roland McGrath

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=199907251349.XAA00772@geoffk.wattle.id.au \
    --to=geoffk@ozemail.com.au \
    --cc=drepper@cygnus.com \
    --cc=libc-hacker@sourceware.cygnus.com \
    --cc=roland@frob.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).