public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: yunfeng zhang <zyf.zeroos@gmail.com>
Cc: Jie Zhang <jie.zhang@analog.com>,
	Richard Henderson <rth@redhat.com>,
	        gcc@gcc.gnu.org, Andrew Haley <aph@redhat.com>
Subject: Re: No .got section in ELF
Date: Fri, 27 Nov 2009 14:16:00 -0000	[thread overview]
Message-ID: <mcrk4xc59zn.fsf@dhcp-172-17-9-151.mtv.corp.google.com> (raw)
In-Reply-To: <4df04b840911262242o246547e6y95a40f5a65700ead@mail.gmail.com> (yunfeng zhang's message of "Fri\, 27 Nov 2009 14\:42\:08 +0800")

yunfeng zhang <zyf.zeroos@gmail.com> writes:

> Sorry! I've made a mistake! But using LD_PRELOAD to force to reposition a
> variable/function from a module is violating software engineer. And the more
> important is, as the result, all user *all* pay the bill for this even they
> make sure they don't need the feature, such as, glibc itself.

Correct.  That is how ELF is defined and implemented.

If you want to propose a change to the ELF definition, please do that
in the appropriate forum--which is not here.  You will be told that it
has worked that way for some 20 years now, and will not be changed
today.  There are ways to change the default, which people here have
already explained.

Ian

  reply	other threads:[~2009-11-27 14:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  1:58 yunfeng zhang
2009-11-24 10:00 ` Andrew Haley
2009-11-24 17:10 ` Richard Henderson
2009-11-26  2:24 ` yunfeng zhang
2009-11-26  3:11   ` Richard Henderson
2009-11-26  6:04     ` yunfeng zhang
2009-11-26  7:55       ` Alexandre Oliva
2009-11-27  2:18         ` yunfeng zhang
2009-11-27  4:12           ` Dave Korn
2009-11-27  4:43             ` yunfeng zhang
2009-11-27  4:46               ` Dave Korn
2009-11-27 13:35           ` Alexandre Oliva
2009-11-30 11:10             ` Yunfeng ZHANG
2009-11-27  4:58       ` Jie Zhang
2009-11-27  6:42         ` yunfeng zhang
2009-11-27 14:16           ` Ian Lance Taylor [this message]
2009-11-27  4:51 Dmitry Gorbachev

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=mcrk4xc59zn.fsf@dhcp-172-17-9-151.mtv.corp.google.com \
    --to=iant@google.com \
    --cc=aph@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=jie.zhang@analog.com \
    --cc=rth@redhat.com \
    --cc=zyf.zeroos@gmail.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).