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: How do I get pc-relative constant loads?


On Mon, Mar 25, 2002 at 06:34:01PM -0500, Alan Lehotsky wrote:
> I believe that a lot of your questions could be answered by studying the ARM
> target.  It uses PC-relative addressing for constants.

Indeed.  The key here is to treat CONSTANT_POOL_ADDRESS_P
SYMBOL_REFs specially.


r~


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