PATCH: Optimize protected call for i386

Richard Henderson rth@redhat.com
Thu May 15 00:42:00 GMT 2003


On Thu, May 15, 2003 at 09:21:07AM +0930, Alan Modra wrote:
> How is the linker supposed to distinguish
> this reloc from an R_386_PC32 on ".long foo - ."?

Who cares?  You can't generate this from C.  As for assembly,
"don't do that if you care about pointer equality".

Indeed, I can think of reasons to use this pcrel form if you
_don't_ want pointer equality.  Such as in .eh_frame data.


r~



More information about the Gcc mailing list