How do I get pc-relative constant loads?

Richard Henderson rth@redhat.com
Mon Mar 25 19:49:00 GMT 2002


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~



More information about the Gcc mailing list