This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Optimize protected call for i386


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]