target/5399: arm/thumb: pointer indirections when using -fpic

Adrian von Bidder avbidder@acter.ch
Wed Jan 16 04:36:00 GMT 2002


On Wed, 2002-01-16 at 12:13, Phil Blundell wrote:
> Adrian, the return address on your GNATS reports seems to be all screwed
> up.

Yes, saw that when I got my bug report. Sorry about that - please use
avbidder@acter.ch.

> Try something like this. [...]

Will try. thanks.

btw: I couldn't find info on what GOTOFF exactly is - so do I understand
this correctly:

a memory reference with (GOT) like .L23(GOT) means that the resulting
value is the offset into the GOT that contains a pointer to the "real"
value of .L23 - whereas an expression .L2(GOTOFF) is the offset of .L2
relative to the start of the GOT, but no GOT entry for .L2 is created.

greets
-- vbi




More information about the Gcc-bugs mailing list