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]

SYMBOL_REF_FLAG


The ARM backend has some kind of support for referencing static globals
in PIC code using (GOTOFF) relocs rather than (GOT).  In practice though
this is never triggering because it lacks enough information to do
anything useful.  Other backends seem to encode the knowledge of whether
a SYMBOL_REF has global linkage using SYMBOL_REF_FLAG (ie rtx->volatil),
but the arm backend is already using this for other purposes.

Are there any other flag bits in SYMBOL_REFs that could be safely
pressed into service for this?

p.



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