On 09/04/2012 02:25 PM, Jens Rosenboom wrote: > Hello All, > > Do you maybe know how to find out (in legitimize_pic_address() and in > arm_assemble_integer()) whether an address (rtx) is in text/rodata or > in data?
You need to catch this much earlier than this. See the encode_section_info
hook,
where you can set all sorts of bits in SYMBOL_REF_FLAG{,S}.
Indeed it looks as if the bits you want may already be examined.
r~
