Lines Matching refs:alt
57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt)
70 struct special_alt *alt)
77 alt->group = entry->group;
78 alt->jump_or_nop = entry->jump_or_nop;
80 if (alt->group) {
81 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset +
83 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset +
94 arch_handle_alternative(feature, alt);
103 reloc_to_sec_off(orig_reloc, &alt->orig_sec, &alt->orig_off);
105 if (!entry->group || alt->new_len) {
113 reloc_to_sec_off(new_reloc, &alt->new_sec, &alt->new_off);
116 if (alt->new_off >= 0x7ffffff0)
117 alt->new_off -= 0x7ffffff0;
129 alt->key_addend = reloc_addend(key_reloc);
145 struct special_alt *alt;
164 alt = malloc(sizeof(*alt));
165 if (!alt) {
169 memset(alt, 0, sizeof(*alt));
171 ret = get_alt_entry(elf, entry, sec, idx, alt);
177 list_add_tail(&alt->list, alts);