diff options
Diffstat (limited to 'gcc/config/mips/mips-protos.h')
-rw-r--r-- | gcc/config/mips/mips-protos.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index 78cdc1ae669..94fe227d190 100644 --- a/gcc/config/mips/mips-protos.h +++ b/gcc/config/mips/mips-protos.h @@ -82,7 +82,11 @@ Boston, MA 02110-1301, USA. */ SYMBOL_64_LOW For a 64-bit symbolic address X, this is the value of - (%hi(X) << 16) + %lo(X). */ + (%hi(X) << 16) + %lo(X). + + SYMBOL_HALF + An UNSPEC wrapper around any kind of address. It represents the + low 16 bits of that address. */ enum mips_symbol_type { SYMBOL_GENERAL, SYMBOL_SMALL_DATA, @@ -101,9 +105,10 @@ enum mips_symbol_type { SYMBOL_TPREL, SYMBOL_64_HIGH, SYMBOL_64_MID, - SYMBOL_64_LOW + SYMBOL_64_LOW, + SYMBOL_HALF }; -#define NUM_SYMBOL_TYPES (SYMBOL_64_LOW + 1) +#define NUM_SYMBOL_TYPES (SYMBOL_HALF + 1) /* Identifiers a style of $gp initialization sequence. @@ -119,12 +124,16 @@ enum mips_symbol_type { by .cpsetup). LOADGP_ABSOLUTE - The GNU absolute sequence, as generated by loadgp_absolute. */ + The GNU absolute sequence, as generated by loadgp_absolute. + + LOADGP_RTP + The VxWorks RTP PIC sequence, as generated by loadgp_rtp. */ enum mips_loadgp_style { LOADGP_NONE, LOADGP_OLDABI, LOADGP_NEWABI, - LOADGP_ABSOLUTE + LOADGP_ABSOLUTE, + LOADGP_RTP }; extern bool mips_symbolic_constant_p (rtx, enum mips_symbol_type *); |