Home
last modified time | relevance | path

Searched refs:where (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/toolchain/binutils/binutils-2.25/gas/config/
Dtc-avr.c848 int where, in avr_operand() argument
1016 fix_new_exp (frag_now, where, 3, in avr_operand()
1024 fix_new_exp (frag_now, where, opcode->insn_size * 2, in avr_operand()
1030 fix_new_exp (frag_now, where, opcode->insn_size * 2, in avr_operand()
1036 fix_new_exp (frag_now, where, opcode->insn_size * 2, in avr_operand()
1042 fix_new_exp (frag_now, where + 2, opcode->insn_size * 2, in avr_operand()
1048 fix_new_exp (frag_now, where, opcode->insn_size * 2, in avr_operand()
1059 fix_new_exp (frag_now, where, 3, in avr_operand()
1078 fix_new_exp (frag_now, where, 3, in avr_operand()
1097 fix_new_exp (frag_now, where, opcode->insn_size * 2, in avr_operand()
[all …]
Dtc-msp430.c1547 int where; in try_encode_mova() local
1567 where = frag - frag_now->fr_literal; in try_encode_mova()
1577 fix_new_exp (frag_now, where, 4, &(op1->exp), FALSE, in try_encode_mova()
1589 where = frag - frag_now->fr_literal; in try_encode_mova()
1605 fix_new_exp (frag_now, where + 2, 2, &(op1->exp), FALSE, in try_encode_mova()
1624 where = frag - frag_now->fr_literal; in try_encode_mova()
1635 where = frag - frag_now->fr_literal; in try_encode_mova()
1646 fix_new_exp (frag_now, where, 4, &(op2->exp), FALSE, in try_encode_mova()
1655 where = frag - frag_now->fr_literal; in try_encode_mova()
1671 fix_new_exp (frag_now, where + 2, 2, &(op2->exp), FALSE, in try_encode_mova()
[all …]
Dtc-xstormy16.c194 int where, in xstormy16_cons_fix_new() argument
239 fix_new_exp (f, where, nbytes, exp, 0, code); in xstormy16_cons_fix_new()
247 int where, in xstormy16_cgen_record_fixup_exp() argument
260 fixP = gas_cgen_record_fixup_exp (frag, where, insn, length, in xstormy16_cgen_record_fixup_exp()
441 char *where = fixP->fx_frag->fr_literal + fixP->fx_where; in xstormy16_md_apply_fix() local
502 cgen_get_insn_value (cd, (unsigned char *) where, in xstormy16_md_apply_fix()
508 cgen_put_insn_value (cd, (unsigned char *) where, in xstormy16_md_apply_fix()
514 (unsigned char *) where, in xstormy16_md_apply_fix()
547 md_number_to_chars (where, value, 1); in xstormy16_md_apply_fix()
550 md_number_to_chars (where, value, 2); in xstormy16_md_apply_fix()
[all …]
Dtc-xgate.c653 char *where; in md_apply_fix() local
667 where = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
668 opcode = bfd_getl16 (where); in md_apply_fix()
688 number_to_chars_bigendian (where, (opcode | value), 2); in md_apply_fix()
705 number_to_chars_bigendian (where, (opcode | value), 2); in md_apply_fix()
713 bfd_putb16 ((bfd_vma) value | opcode, (void *) where); in md_apply_fix()
721 bfd_putb16 ((bfd_vma) value | opcode, (void *) where); in md_apply_fix()
728 number_to_chars_bigendian (where, (opcode | value), 2); in md_apply_fix()
735 number_to_chars_bigendian (where, (opcode | value), 2); in md_apply_fix()
742 number_to_chars_bigendian (where, (opcode | value), 2); in md_apply_fix()
[all …]
Dtc-epiphany.c278 char *where = fixP->fx_frag->fr_literal + fixP->fx_where; in epiphany_apply_fix() local
279 unsigned char *insn = (unsigned char *)where; in epiphany_apply_fix()
291 where[0] = where[0] | ((value & 1) << 7); in epiphany_apply_fix()
292 where[1] = where[1] | ((value & 6) >> 1); in epiphany_apply_fix()
293 where[2] = (value >> 3) & 0xff; in epiphany_apply_fix()
297 where[0] = where[0] | ((value & 1) << 7); in epiphany_apply_fix()
298 where[1] = where[1] | ((value & 6) >> 1); in epiphany_apply_fix()
299 where[2] = (value >> 3) & 0xff; in epiphany_apply_fix()
303 md_number_to_chars (where+1, value>>1, 1); in epiphany_apply_fix()
307 md_number_to_chars (where+1, value>>1, 3); in epiphany_apply_fix()
[all …]
Dtc-moxie.c241 char *where; in md_assemble() local
259 where = frag_more (4); in md_assemble()
261 (where - frag_now->fr_literal), in md_assemble()
275 char *where; in md_assemble() local
278 where = frag_more (4); in md_assemble()
280 (where - frag_now->fr_literal), in md_assemble()
378 char *where; in md_assemble() local
382 where = frag_more (4); in md_assemble()
384 (where - frag_now->fr_literal), in md_assemble()
731 unsigned char * where = (unsigned char *) buf; in md_chars_to_number() local
[all …]
Dtc-d30v.c592 int i, where; in write_long() local
603 where = f - frag_now->fr_literal; in write_long()
604 fix_new_exp (frag_now, where, fx->fix[i].size, &(fx->fix[i].exp), in write_long()
621 int i, where; in write_1_short() local
662 where = f - frag_now->fr_literal; in write_1_short()
664 where, in write_1_short()
944 int i, j, where; in write_2_short() local
1106 where = (f - frag_now->fr_literal) + 4 * j; in write_2_short()
1109 where, in write_2_short()
1903 char *where; in md_apply_fix() local
[all …]
Dtc-m32c.c570 int where = fragP->fr_opcode - fragP->fr_literal; in md_estimate_size_before_relax() local
597 return subtype_mappings[fragP->fr_subtype].bytes - (fragP->fr_fix - where); in md_estimate_size_before_relax()
627 int where = fragP->fr_opcode - fragP->fr_literal; in md_convert_frag() local
632 addend = target_address_for (fragP) - (fragP->fr_address + where); in md_convert_frag()
634 fragP->fr_fix = where + subtype_mappings[fragP->fr_subtype].bytes; in md_convert_frag()
651 where += 2; in md_convert_frag()
660 where += 2; in md_convert_frag()
678 where += 3; in md_convert_frag()
687 where += 3; in md_convert_frag()
734 where += 2; in md_convert_frag()
[all …]
Dtc-v850.c3410 char *where; in md_apply_fix() local
3458 where = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
3461 insn = bfd_getl32 ((unsigned char *) where); in md_apply_fix()
3463 insn = bfd_getl16 ((unsigned char *) where); in md_apply_fix()
3476 bfd_putl32 ((bfd_vma) insn, (unsigned char *) where); in md_apply_fix()
3478 bfd_putl16 ((bfd_vma) insn, (unsigned char *) where); in md_apply_fix()
3508 where = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
3523 where -= 2; in md_apply_fix()
3525 where -= 3; in md_apply_fix()
3527 insn = bfd_getl32 ((unsigned char *) where); in md_apply_fix()
[all …]
Dtc-s390.c1075 char *where; in s390_elf_cons() local
1147 where = frag_more (nbytes); in s390_elf_cons()
1148 md_number_to_chars (where, 0, size); in s390_elf_cons()
1151 fix_new_exp (frag_now, where - frag_now->fr_literal, in s390_elf_cons()
1785 char *where; in s390_literals() local
1790 where = frag_more (lpe->nbytes); in s390_literals()
1791 md_number_to_chars (where, 0, size); in s390_literals()
1792 fix_new_exp (frag_now, where - frag_now->fr_literal, in s390_literals()
2137 char *where; in md_apply_fix() local
2140 where = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix()
[all …]
Dtc-d10v.c610 int i, where; in write_long() local
621 where = f - frag_now->fr_literal; in write_long()
623 where += 2; in write_long()
629 where, in write_long()
647 int i, where; in write_1_short() local
666 where = f - frag_now->fr_literal; in write_1_short()
668 where += 2; in write_1_short()
679 where, in write_1_short()
967 int i, j, where; in write_2_short() local
1076 where = f - frag_now->fr_literal; in write_2_short()
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Dcoffgrok.c203 struct coff_where *where = in do_where() local
205 where->offset = sym->n_value; in do_where()
213 where->where = coff_where_member_of_struct; in do_where()
214 where->offset = sym->n_value / 8; in do_where()
215 where->bitoffset = sym->n_value % 8; in do_where()
216 where->bitsize = rawsyms[i + 1].u.auxent.x_sym.x_misc.x_lnsz.x_size; in do_where()
219 where->where = coff_where_member_of_enum; in do_where()
223 where->where = coff_where_member_of_struct; in do_where()
227 where->where = coff_where_stack; in do_where()
233 where->where = coff_where_memory; in do_where()
[all …]
Dsrconv.c546 rl.secn = ref->where->section->number; in wr_rl()
549 rl.addend = ref->where->offset - ref->where->section->address; in wr_rl()
556 rl.secn = ref->where->section->number; in wr_rl()
559 rl.addend = -ref->where->section->address; in wr_rl()
928 symbol->where->section, in walk_tree_type()
931 wr_dps_start (sfile, symbol->where->section, in walk_tree_type()
934 walk_tree_scope (symbol->where->section, in walk_tree_type()
939 wr_dps_end (symbol->where->section, in walk_tree_type()
942 wr_dps_end (symbol->where->section, in walk_tree_type()
1001 if (symbol->where->where == coff_where_member_of_struct) in walk_tree_symbol()
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Dbfdio.c187 if (abfd->where + size > maxbytes) in bfd_bread()
189 if (abfd->where >= maxbytes) in bfd_bread()
191 size = maxbytes - abfd->where; in bfd_bread()
200 abfd->where += nread; in bfd_bread()
216 abfd->where += nwrote; in bfd_bwrite()
246 abfd->where = ptr; in bfd_tell()
294 if (direction == SEEK_SET && (bfd_vma) position == abfd->where) in bfd_seek()
350 abfd->where = position; in bfd_seek()
352 abfd->where += position; in bfd_seek()
476 if (abfd->where + get > bim->size) in memory_bread()
[all …]
Delfcore.h191 bfd_signed_vma where = i_ehdrp->e_shoff; in elf_core_file_p() local
193 if (where != (file_ptr) where) in elf_core_file_p()
197 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_core_file_p()
220 bfd_signed_vma where; in elf_core_file_p() local
228 where = i_ehdrp->e_phoff + (i_ehdrp->e_phnum - 1) * sizeof (x_phdr); in elf_core_file_p()
229 if (where != (file_ptr) where) in elf_core_file_p()
231 if ((bfd_size_type) where <= i_ehdrp->e_phoff) in elf_core_file_p()
234 if (bfd_seek (abfd, (file_ptr) where, SEEK_SET) != 0) in elf_core_file_p()
Delf32-d10v.c320 bfd_byte *where, in extract_rel_addend() argument
328 insn = bfd_get_8 (abfd, where); in extract_rel_addend()
331 insn = bfd_get_16 (abfd, where); in extract_rel_addend()
334 insn = bfd_get_32 (abfd, where); in extract_rel_addend()
355 bfd_byte *where, in insert_rel_addend() argument
366 insn &= bfd_get_8 (abfd, where); in insert_rel_addend()
368 bfd_put_8 (abfd, insn, where); in insert_rel_addend()
371 insn &= bfd_get_16 (abfd, where); in insert_rel_addend()
373 bfd_put_16 (abfd, insn, where); in insert_rel_addend()
376 insn &= bfd_get_32 (abfd, where); in insert_rel_addend()
[all …]
Dihex.c146 bfd_vma where; member
681 n->where = section->lma + offset; in ihex_set_section_contents()
688 && n->where >= tdata->tail->where) in ihex_set_section_contents()
699 *pp != NULL && (*pp)->where < n->where; in ihex_set_section_contents()
768 bfd_vma where; in ihex_write_object_contents() local
772 where = l->where; in ihex_write_object_contents()
785 if (where > segbase + extbase + 0xffff) in ihex_write_object_contents()
790 if (where <= 0xfffff) in ihex_write_object_contents()
795 segbase = where & 0xf0000; in ihex_write_object_contents()
818 extbase = where & 0xffff0000; in ihex_write_object_contents()
[all …]
Dverilog.c79 bfd_vma where; member
132 entry->where = section->lma + offset; in verilog_set_section_contents()
138 && entry->where >= tdata->tail->where) in verilog_set_section_contents()
149 *look != NULL && (*look)->where < entry->where; in verilog_set_section_contents()
221 verilog_write_address (abfd, list->where); in verilog_write_section()
/toolchain/binutils/binutils-2.25/include/
Dobstack.h331 # define obstack_grow(OBSTACK,where,length) \ argument
337 _obstack_memcpy (__o->next_free, (where), __len); \
341 # define obstack_grow0(OBSTACK,where,length) \ argument
347 _obstack_memcpy (__o->next_free, (where), __len); \
407 # define obstack_copy(OBSTACK,where,length) \ argument
410 obstack_grow (__h, (where), (length)); \
413 # define obstack_copy0(OBSTACK,where,length) \ argument
416 obstack_grow0 (__h, (where), (length)); \
467 # define obstack_grow(h,where,length) \ argument
471 _obstack_memcpy ((h)->next_free, (where), (h)->temp), \
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dobj.h24 void obj_emit_relocations (char **where, fixS * fixP,
26 void obj_emit_strings (char **where);
27 void obj_emit_symbols (char **where, symbolS * symbols);
36 void obj_symbol_to_chars (char **where, symbolS * symbolP);
Dcgen.c250 gas_cgen_record_fixup (frag, where, insn, length, operand, opinfo, symbol, offset) in gas_cgen_record_fixup() argument
252 int where;
264 fixP = fix_new (frag, where, length / 8, symbol, offset,
291 gas_cgen_record_fixup_exp (frag, where, insn, length, operand, opinfo, exp) in gas_cgen_record_fixup_exp() argument
293 int where;
304 fixP = fix_new_exp (frag, where, length / 8, exp,
876 char *where = fixP->fx_frag->fr_literal + fixP->fx_where; local
936 cgen_get_insn_value (cd, (unsigned char *) where,
942 cgen_put_insn_value (cd, (unsigned char *) where,
948 (unsigned char *) where,
[all …]
Dinput-file.c229 input_file_give_next_buffer (char *where /* Where to place 1st character of new buffer. */) in input_file_give_next_buffer() argument
241 size = do_scrub_chars (input_file_get, where, BUFFER_SIZE); in input_file_give_next_buffer()
243 size = input_file_get (where, BUFFER_SIZE); in input_file_give_next_buffer()
246 return_value = where + size; in input_file_give_next_buffer()
/toolchain/binutils/binutils-2.25/opcodes/
Dxgate-dis.c325 char *where; in macro_search() local
329 where = strstr (xgate_opcodes[i].constraints, lastName); in macro_search()
331 if (where) in macro_search()
333 length = strlen (where); in macro_search()
337 where = strstr (xgate_opcodes[i].constraints, currentName); in macro_search()
338 if (where) in macro_search()
340 length = strlen (where); in macro_search()
Dmsp430-dis.c142 int where = 0; in msp430_singleoperand() local
343 where = insn & 0x03ff; in msp430_singleoperand()
344 if (where & 0x200) in msp430_singleoperand()
345 where |= ~0x03ff; in msp430_singleoperand()
346 if (where > 512 || where < -511) in msp430_singleoperand()
349 where *= 2; in msp430_singleoperand()
350 sprintf (op, "$%+-8d", where + 2); in msp430_singleoperand()
351 sprintf (comm, "abs 0x%lx", (long) (addr + 2 + where)); in msp430_singleoperand()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/
DREADME4 tests and a simple .stab parsing test. This would be where you'd
18 more.parse -- this is where you should put additional parsing tests, such
28 reloc -- this is where you tests which examine relocations produced
32 unsorted -- this is where everything else goes. As groups of related tests

12345678910>>...15