public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "wilson at specifixinc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/20045] gcc.dg/ia64-fptr-1.c fails on ia64-hpux
Date: Sun, 20 Feb 2005 10:54:00 -0000	[thread overview]
Message-ID: <20050219233113.961.qmail@sourceware.org> (raw)
In-Reply-To: <20050218001856.20045.jsm28@gcc.gnu.org>


------- Additional Comments From wilson at specifixinc dot com  2005-02-19 23:31 -------
Subject: Re:  New: gcc.dg/ia64-fptr-1.c fails on ia64-hpux

jsm28 at gcc dot gnu dot org wrote:
> ld: Unsatisfied symbol "_GLOBAL_OFFSET_TABLE_" in file /var/tmp//ccU3vrUt.o

DT_PLTGOT will hold the gp value if the program was dynamically linked, 
but it might be too inconvenient to get to this value.  I am not sure 
how to get it other than by running objdump and grepping the output. 
Otherwise, I don't believe the ABI provides a way to get at the value.

Another solution is to use an asm to grab the value from r1.  This 
should work fine as the functions are in the same module, and hence will 
use the same gp value.

Or we could just make this a linux specific testcase.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20045


  parent reply	other threads:[~2005-02-19 23:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-18 12:20 [Bug target/20045] New: " jsm28 at gcc dot gnu dot org
2005-02-18 20:53 ` [Bug target/20045] " pinskia at gcc dot gnu dot org
2005-02-20 10:54 ` wilson at specifixinc dot com [this message]
2005-03-31 16:53 ` cvs-commit at gcc dot gnu dot org
2005-03-31 17:04 ` sje at cup dot hp dot com

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=20050219233113.961.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).