Lines Matching refs:alt
73 struct special_alt *alt) in get_alt_entry() argument
80 alt->group = entry->group; in get_alt_entry()
81 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry()
83 if (alt->group) { in get_alt_entry()
84 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
86 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
102 alt->skip_orig = true; in get_alt_entry()
115 alt->skip_orig = true; in get_alt_entry()
117 alt->skip_alt = true; in get_alt_entry()
132 alt->orig_sec = orig_rela->sym->sec; in get_alt_entry()
133 alt->orig_off = orig_rela->addend; in get_alt_entry()
135 if (!entry->group || alt->new_len) { in get_alt_entry()
143 alt->new_sec = new_rela->sym->sec; in get_alt_entry()
144 alt->new_off = (unsigned int)new_rela->addend; in get_alt_entry()
147 if (alt->new_off >= 0x7ffffff0) in get_alt_entry()
148 alt->new_off -= 0x7ffffff0; in get_alt_entry()
164 struct special_alt *alt; in special_get_alts() local
183 alt = malloc(sizeof(*alt)); in special_get_alts()
184 if (!alt) { in special_get_alts()
188 memset(alt, 0, sizeof(*alt)); in special_get_alts()
190 ret = get_alt_entry(elf, entry, sec, idx, alt); in special_get_alts()
194 list_add_tail(&alt->list, alts); in special_get_alts()