| /openbsd-src/gnu/usr.bin/binutils/gas/config/ |
| H A D | tc-xstormy16.c | 245 fixS *fixP; local 251 fixP = gas_cgen_record_fixup_exp (frag, where, insn, length, 260 fixP->fx_r_type = BFD_RELOC_XSTORMY16_FPTR16; 261 fixP->fx_where += 2; 265 return fixP; 327 md_pcrel_from_section (fixP, sec) in md_pcrel_from_section() argument 328 fixS * fixP; in md_pcrel_from_section() 331 if (fixP->fx_addsy != (symbolS *) NULL 332 && (! S_IS_DEFINED (fixP->fx_addsy) 333 || S_GET_SEGMENT (fixP->fx_addsy) != sec) [all …]
|
| H A D | tc-s390.c | 1474 fixS *fixP; local 1486 fixP = fix_new_exp (frag_now, 1496 fixP->fx_no_overflow = 1; 1861 tc_s390_fix_adjustable (fixP) in tc_s390_fix_adjustable() argument 1862 fixS *fixP; in tc_s390_fix_adjustable() 1865 if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0) 1868 if ( fixP->fx_r_type == BFD_RELOC_16_GOTOFF 1869 || fixP->fx_r_type == BFD_RELOC_32_GOTOFF 1870 || fixP->fx_r_type == BFD_RELOC_390_GOTOFF64 1871 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF16 [all …]
|
| H A D | tc-dlx.c | 383 fixS *fixP; local 395 fixP = fix_new_exp (frag_now, 406 fixP->fx_no_overflow = 1; 412 switch (fixP->fx_r_type) 423 fixP->fx_bit_fixP = bitP; 435 fixP->fx_bit_fixP = bitP; 446 fixP->fx_bit_fixP = bitP; 449 fixP->fx_bit_fixP = (bit_fixS *)NULL; 1159 md_dlx_fix_adjustable (fixP) in md_dlx_fix_adjustable() argument 1160 fixS *fixP; in md_dlx_fix_adjustable() [all …]
|
| H A D | tc-or32.c | 941 md_apply_fix3 (fixP, val, seg) in md_apply_fix3() argument 942 fixS * fixP; in md_apply_fix3() 946 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal; 955 fixP->fx_addnumber = t_val; /* Remember value for emit_reloc. */ 957 know (fixP->fx_size == 4); 958 know (fixP->fx_r_type < BFD_RELOC_NONE); 960 switch (fixP->fx_r_type) 1004 if (!fixP->fx_done) 1011 if (fixP->fx_pcrel 1013 && t_val == - (fixP->fx_frag->fr_address + fixP->fx_where)) [all …]
|
| H A D | tc-i960.c | 1054 fixS *fixP; /* Structure describing needed address fix */ local 1060 fixP = fix_new (fragP, 1068 fixP->fx_bit_fixP = (bit_fixS *) 13; /* size of bit field */ 1201 fixS *fixP; in brtab_emit() local 1219 fixP = fix_new (frag_now, in brtab_emit() 1468 fixS *fixP; /* Structure describing needed address fix */ local 1471 fixP = NULL; 1496 fixP = fix_new (frag_now, 1504 fixP->fx_tcbit = callj; 1511 fixP->fx_bit_fixP = (bit_fixS *) numbits; [all …]
|
| H A D | tc-ip2k.c | 243 md_pcrel_from (fixP) in md_pcrel_from() argument 244 fixS *fixP; in md_pcrel_from() 249 return fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address; 258 md_cgen_lookup_reloc (insn, operand, fixP) in md_cgen_lookup_reloc() argument 261 fixS * fixP ATTRIBUTE_UNUSED; 274 if (fixP->fx_cgen.opinfo != 0) 275 result = fixP->fx_cgen.opinfo; 276 fixP->fx_no_overflow = 1; 280 result = fixP->fx_cgen.opinfo; 283 fixP->fx_no_overflow = 1; [all …]
|
| H A D | tc-a29k.c | 788 md_apply_fix3 (fixP, valP, seg) in md_apply_fix3() argument 789 fixS *fixP; in md_apply_fix3() 794 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal; 796 fixP->fx_addnumber = val; /* Remember value for emit_reloc. */ 798 know (fixP->fx_size == 4); 799 know (fixP->fx_r_type < NO_RELOC); 802 if (fixP->fx_r_type == RELOC_WDISP30 && fixP->fx_addsy) 803 val += fixP->fx_where + fixP->fx_frag->fr_address; 805 switch (fixP->fx_r_type) 852 if (!fixP->fx_done) [all …]
|
| H A D | tc-m88k.c | 396 fixS *fixP; local 446 fixP = fix_new_exp (frag_now, 452 fixP->fx_no_overflow = 1; 1340 md_apply_fix3 (fixP, valP, seg) in md_apply_fix3() argument 1341 fixS *fixP; in md_apply_fix3() 1348 buf = fixP->fx_frag->fr_literal + fixP->fx_where; 1349 fixP->fx_addnumber = val; 1350 fixP->fx_offset = 0; 1352 switch (fixP->fx_r_type) 1355 fixP->fx_offset = val >> 16; [all …]
|
| H A D | tc-openrisc.c | 344 md_pcrel_from_section (fixP, sec) in md_pcrel_from_section() argument 345 fixS * fixP; in md_pcrel_from_section() 348 if (fixP->fx_addsy != (symbolS *) NULL 349 && (! S_IS_DEFINED (fixP->fx_addsy) 350 || S_GET_SEGMENT (fixP->fx_addsy) != sec)) 357 return (fixP->fx_frag->fr_address + fixP->fx_where) & ~1; 366 md_cgen_lookup_reloc (insn, operand, fixP) in md_cgen_lookup_reloc() argument 369 fixS * fixP; 376 fixP->fx_pcrel = 0; 380 fixP->fx_pcrel = 1; [all …]
|
| H A D | tc-cris.c | 2822 cris_number_to_imm (bufp, val, n, fixP, seg) in cris_number_to_imm() argument 2826 fixS *fixP; 2832 know (fixP); 2838 if (fixP->fx_addsy 2839 && (sym_seg = S_GET_SEGMENT (fixP->fx_addsy)) != seg) 2842 if (fixP->fx_addsy != NULL || fixP->fx_pcrel) 2843 switch (fixP->fx_r_type) 2849 as_bad_where (fixP->fx_frag->fr_file, fixP->fx_frag->fr_line, 2855 switch (fixP->fx_r_type) 2894 if (! fixP->fx_addsy) [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
| H A D | tc-xstormy16.c | 257 fixS *fixP; in xstormy16_cgen_record_fixup_exp() local 263 fixP = gas_cgen_record_fixup_exp (frag, where, insn, length, in xstormy16_cgen_record_fixup_exp() 272 fixP->fx_r_type = BFD_RELOC_XSTORMY16_FPTR16; in xstormy16_cgen_record_fixup_exp() 273 fixP->fx_where += 2; in xstormy16_cgen_record_fixup_exp() 277 return fixP; in xstormy16_cgen_record_fixup_exp() 335 md_pcrel_from_section (fixS * fixP, segT sec) in md_pcrel_from_section() argument 337 if ((fixP->fx_addsy != (symbolS *) NULL in md_pcrel_from_section() 338 && (! S_IS_DEFINED (fixP->fx_addsy) in md_pcrel_from_section() 339 || S_GET_SEGMENT (fixP->fx_addsy) != sec)) in md_pcrel_from_section() 340 || xstormy16_force_relocation (fixP)) in md_pcrel_from_section() [all …]
|
| H A D | tc-s390.c | 1504 fixS *fixP; local 1516 fixP = fix_new_exp (frag_now, 1526 fixP->fx_no_overflow = 1; 1888 tc_s390_fix_adjustable (fixP) in tc_s390_fix_adjustable() argument 1889 fixS *fixP; in tc_s390_fix_adjustable() 1892 if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0) 1895 if ( fixP->fx_r_type == BFD_RELOC_16_GOTOFF 1896 || fixP->fx_r_type == BFD_RELOC_32_GOTOFF 1897 || fixP->fx_r_type == BFD_RELOC_390_GOTOFF64 1898 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF16 [all …]
|
| H A D | tc-xc16x.c | 154 fixS *fixP) in md_cgen_lookup_reloc() argument 159 fixP->fx_where += 1; in md_cgen_lookup_reloc() 160 fixP->fx_pcrel = 1; in md_cgen_lookup_reloc() 164 fixP->fx_where += 2; in md_cgen_lookup_reloc() 168 fixP->fx_where += 1; in md_cgen_lookup_reloc() 169 fixP->fx_pcrel = 1; in md_cgen_lookup_reloc() 174 fixP->fx_where += 2; in md_cgen_lookup_reloc() 178 fixP->fx_where += 2; in md_cgen_lookup_reloc() 182 fixP->fx_where += 2; in md_cgen_lookup_reloc() 186 fixP->fx_where += 1; in md_cgen_lookup_reloc() [all …]
|
| H A D | tc-dlx.c | 905 fixS *fixP; in md_assemble() local 917 fixP = fix_new_exp (frag_now, in md_assemble() 928 fixP->fx_no_overflow = 1; in md_assemble() 934 switch (fixP->fx_r_type) in md_assemble() 945 fixP->fx_bit_fixP = bitP; in md_assemble() 957 fixP->fx_bit_fixP = bitP; in md_assemble() 968 fixP->fx_bit_fixP = bitP; in md_assemble() 971 fixP->fx_bit_fixP = NULL; in md_assemble() 1051 md_dlx_fix_adjustable (fixS *fixP) in md_dlx_fix_adjustable() argument 1054 return (fixP->fx_r_type != BFD_RELOC_VTABLE_INHERIT in md_dlx_fix_adjustable() [all …]
|
| H A D | tc-z8k.c | 941 fixS *fixP; in newfix() local 955 fixP = fix_new_exp (frag_now, ptr, size / 2, in newfix() 958 fixP->fx_no_overflow = 1; in newfix() 1422 md_apply_fix (fixS *fixP, valueT *valP, segT segment ATTRIBUTE_UNUSED) in md_apply_fix() argument 1425 char *buf = fixP->fx_where + fixP->fx_frag->fr_literal; in md_apply_fix() 1427 switch (fixP->fx_r_type) in md_apply_fix() 1430 if (fixP->fx_addsy) in md_apply_fix() 1432 fixP->fx_no_overflow = 1; in md_apply_fix() 1433 fixP->fx_done = 0; in md_apply_fix() 1440 if (fixP->fx_addsy) in md_apply_fix() [all …]
|
| H A D | tc-i960.c | 575 fixS *fixP; /* Structure describing needed address fix. */ in get_cdisp() local 578 fixP = NULL; in get_cdisp() 602 fixP = fix_new (frag_now, in get_cdisp() 610 fixP->fx_tcbit = callj; in get_cdisp() 616 fixP->fx_bit_fixP = (bit_fixS *) (size_t) numbits; in get_cdisp() 1076 fixS *fixP; in mem_fmt() local 1151 fixP = fix_new_exp (frag_now, in mem_fmt() 1157 fixP->fx_bsr = callx; in mem_fmt() 1998 fixS *fixP; /* Relocation that can be done at assembly time. */ in relax_cobr() local 2019 fixP = fix_new (fragP, in relax_cobr() [all …]
|
| H A D | tc-ip2k.c | 272 md_pcrel_from (fixS *fixP) in md_pcrel_from() argument 277 return fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from() 288 fixS * fixP ATTRIBUTE_UNUSED) in md_cgen_lookup_reloc() 301 if (fixP->fx_cgen.opinfo != 0) in md_cgen_lookup_reloc() 302 result = fixP->fx_cgen.opinfo; in md_cgen_lookup_reloc() 303 fixP->fx_no_overflow = 1; in md_cgen_lookup_reloc() 307 result = fixP->fx_cgen.opinfo; in md_cgen_lookup_reloc() 310 fixP->fx_no_overflow = 1; in md_cgen_lookup_reloc() 315 fixP->fx_no_overflow = 1; in md_cgen_lookup_reloc() 434 ip2k_apply_fix (fixS *fixP, valueT *valueP, segT seg) in ip2k_apply_fix() argument [all …]
|
| H A D | tc-mt.c | 371 md_pcrel_from_section (fixS *fixP, segT sec) in md_pcrel_from_section() argument 373 if (fixP->fx_addsy != (symbolS *) NULL in md_pcrel_from_section() 374 && (!S_IS_DEFINED (fixP->fx_addsy) in md_pcrel_from_section() 375 || S_GET_SEGMENT (fixP->fx_addsy) != sec)) in md_pcrel_from_section() 383 return fixP->fx_where + fixP->fx_frag->fr_address; in md_pcrel_from_section() 394 fixS * fixP ATTRIBUTE_UNUSED) in md_cgen_lookup_reloc() 404 fixP->fx_pcrel = 1; in md_cgen_lookup_reloc() 410 if (fixP->fx_cgen.opinfo != 0) in md_cgen_lookup_reloc() 411 result = fixP->fx_cgen.opinfo; in md_cgen_lookup_reloc() 412 fixP->fx_no_overflow = 1; in md_cgen_lookup_reloc() [all …]
|
| H A D | tc-m32r.c | 1810 fixS *fixP; in md_convert_frag() local 1815 fixP = gas_cgen_record_fixup (fragP, in md_convert_frag() 1826 fixP->fx_r_type = fragP->fr_cgen.opinfo; in md_convert_frag() 1843 md_pcrel_from_section (fixS *fixP, segT sec) in md_pcrel_from_section() argument 1845 if (fixP->fx_addsy != (symbolS *) NULL in md_pcrel_from_section() 1846 && (! S_IS_DEFINED (fixP->fx_addsy) in md_pcrel_from_section() 1847 || S_GET_SEGMENT (fixP->fx_addsy) != sec in md_pcrel_from_section() 1848 || S_IS_EXTERNAL (fixP->fx_addsy) in md_pcrel_from_section() 1849 || S_IS_WEAK (fixP->fx_addsy))) in md_pcrel_from_section() 1851 if (S_GET_SEGMENT (fixP->fx_addsy) != sec in md_pcrel_from_section() [all …]
|
| H A D | tc-m88k.c | 389 fixS *fixP; in md_assemble() local 439 fixP = fix_new_exp (frag_now, in md_assemble() 445 fixP->fx_no_overflow = 1; in md_assemble() 1283 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) in md_apply_fix() argument 1288 buf = fixP->fx_frag->fr_literal + fixP->fx_where; in md_apply_fix() 1289 fixP->fx_addnumber = val; in md_apply_fix() 1290 fixP->fx_offset = 0; in md_apply_fix() 1292 switch (fixP->fx_r_type) in md_apply_fix() 1295 fixP->fx_offset = val >> 16; in md_apply_fix() 1301 fixP->fx_offset = val >> 16; in md_apply_fix() [all …]
|
| H A D | tc-i370.c | 2245 fixS *fixP; in md_assemble() local 2256 fixP = fix_new_exp (frag_now, f - frag_now->fr_literal, size, in md_assemble() 2268 fixP->fx_no_overflow = 1; in md_assemble() 2479 md_apply_fix (fixS *fixP, valueT * valP, segT seg) in md_apply_fix() argument 2483 if (fixP->fx_addsy != NULL) in md_apply_fix() 2487 S_GET_NAME (fixP->fx_addsy), in md_apply_fix() 2488 fixP->fx_frag->fr_address + fixP->fx_where, in md_apply_fix() 2489 fixP->fx_file, fixP->fx_line, in md_apply_fix() 2490 S_GET_VALUE (fixP->fx_addsy), value); in md_apply_fix() 2494 fixP->fx_done = 1; in md_apply_fix() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gas/ |
| H A D | cgen.c | 241 fixS *fixP; local 245 fixP = fix_new (frag, where, length / 8, symbol, offset, 250 fixP->fx_cgen.insn = insn; 251 fixP->fx_cgen.opinfo = opinfo; 253 return fixP; 279 fixS *fixP; local 283 fixP = fix_new_exp (frag, where, length / 8, exp, 288 fixP->fx_cgen.insn = insn; 289 fixP->fx_cgen.opinfo = opinfo; 291 return fixP; [all …]
|
| H A D | write.c | 201 fixS *fixP; in fix_new_internal() local 205 fixP = (fixS *) obstack_alloc (¬es, sizeof (fixS)); in fix_new_internal() 207 fixP->fx_frag = frag; in fix_new_internal() 208 fixP->fx_where = where; in fix_new_internal() 209 fixP->fx_size = size; in fix_new_internal() 211 if (fixP->fx_size != size) in fix_new_internal() 216 fixP->fx_addsy = add_symbol; in fix_new_internal() 217 fixP->fx_subsy = sub_symbol; in fix_new_internal() 218 fixP->fx_offset = offset; in fix_new_internal() 219 fixP->fx_dot_value = dot_value; in fix_new_internal() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/ |
| H A D | cgen.c | 241 fixS *fixP; local 245 fixP = fix_new (frag, where, length / 8, symbol, offset, 250 fixP->fx_cgen.insn = insn; 251 fixP->fx_cgen.opinfo = opinfo; 253 return fixP; 279 fixS *fixP; local 283 fixP = fix_new_exp (frag, where, length / 8, exp, 288 fixP->fx_cgen.insn = insn; 289 fixP->fx_cgen.opinfo = opinfo; 291 return fixP; [all …]
|
| H A D | write.c | 152 fixS *fixP; in fix_new_internal() local 156 fixP = (fixS *) obstack_alloc (¬es, sizeof (fixS)); in fix_new_internal() 158 fixP->fx_frag = frag; in fix_new_internal() 159 fixP->fx_where = where; in fix_new_internal() 160 fixP->fx_size = size; in fix_new_internal() 162 if (fixP->fx_size != size) in fix_new_internal() 167 fixP->fx_addsy = add_symbol; in fix_new_internal() 168 fixP->fx_subsy = sub_symbol; in fix_new_internal() 169 fixP->fx_offset = offset; in fix_new_internal() 170 fixP->fx_dot_value = dot_value; in fix_new_internal() [all …]
|