Home | History | Annotate | Download | only in backends

Lines Matching refs:reloc

1 /* Common code for ebl reloc functions.
39 #define RELOC_TYPES STRINGIFIED_PASTE (BACKEND, reloc.def)
44 /* Provide a table of reloc type names, in a PIC-friendly fashion. */
86 EBLHOOK(reloc_type_name) (int reloc,
91 reloc = RELOC_TYPE_ID (reloc);
94 if (reloc >= 0 && reloc < nreloc && EBLHOOK(reloc_nameidx)[reloc] != 0)
95 return &reloc_namestr[EBLHOOK(reloc_nameidx)[reloc]];
100 EBLHOOK(reloc_type_check) (int reloc)
103 reloc = RELOC_TYPE_ID (reloc);
106 return reloc >= 0 && reloc < nreloc && EBLHOOK(reloc_nameidx)[reloc] != 0;
110 EBLHOOK(reloc_valid_use) (Elf *elf, int reloc)
120 reloc = RELOC_TYPE_ID (reloc);
123 uses = EBLHOOK(reloc_valid)[reloc];
129 EBLHOOK(copy_reloc_p) (int reloc)
131 return reloc == R_TYPE (COPY);
135 EBLHOOK(none_reloc_p) (int reloc)
137 return reloc == R_TYPE (NONE);
142 EBLHOOK(relative_reloc_p) (int reloc)
144 return reloc == R_TYPE (RELATIVE);