[Bug target/20045] gcc.dg/ia64-fptr-1.c fails on ia64-hpux
wilson at specifixinc dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 20 10:54:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list