From: Arnaud Charlet <charlet@ACT-Europe.FR>
To: Richard Henderson <rth@redhat.com>,
Arnaud Charlet <charlet@ACT-Europe.FR>,
gcc@gcc.gnu.org
Subject: Re: Use of -fPIC on Tru64
Date: Thu, 13 Dec 2001 03:35:00 -0000 [thread overview]
Message-ID: <20011213104446.A14306@dublin.int.act-europe.fr> (raw)
In-Reply-To: <20011213014003.C1122@redhat.com>; from rth@redhat.com on Thu, Dec 13, 2001 at 01:40:03AM -0800
> -fPIC affects assumptions about how names bind.
Thanks. So -fPIC has indeed an effect on Tru64, and generates, I guess,
less efficient code.
> Without pic, it is assumed that
>
> void foo() { ... }
> void bar() { foo(); }
>
> bar calls the version of foo immediately above. With pic, this
> is not a valid assumption, because the name foo may bind from
> another library earlier in the search order.
But then, why does libgcc need to be compiled with -fPIC on Tru64 ?
Arno
next prev parent reply other threads:[~2001-12-13 9:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-13 1:35 Arnaud Charlet
2001-12-13 1:44 ` Richard Henderson
2001-12-13 3:35 ` Arnaud Charlet [this message]
2001-12-13 9:26 ` Richard Henderson
2001-12-13 9:40 ` Arnaud Charlet
2001-12-13 9:49 ` Richard Henderson
2001-12-13 9:57 ` Arnaud Charlet
2001-12-17 11:54 ` Joerg Faschingbauer
2001-12-17 15:22 ` Arnaud Charlet
2001-12-18 12:12 ` Joerg Faschingbauer
2001-12-18 14:03 ` Arnaud Charlet
2001-12-18 12:45 ` Jeff Sturm
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=20011213104446.A14306@dublin.int.act-europe.fr \
--to=charlet@act-europe.fr \
--cc=gcc@gcc.gnu.org \
--cc=rth@redhat.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).