Home
last modified time | relevance | path

Searched refs:pcrel (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachORelocation.h47 MachORelocation(uint32_t addr, uint32_t index, bool pcrel, uint8_t len,
50 r_address(addr), r_symbolnum(index), r_pcrel(pcrel), r_length(len), in r_address()
/freebsd-12.1/contrib/binutils/bfd/
H A Dmep-relocs.pl135 $pcrel = 0;
136 $pcrel = 1 if $attrs[$i] =~ /pc-rel/i;
142 $c, $bytesize, $bits, $left, $right, $pcrel, $overflow, $mask);
H A Dieee.c228 bfd_boolean pcrel, in ieee_write_expression() argument
293 if (pcrel) in ieee_write_expression()
502 bfd_boolean *pcrel, in parse_expression() argument
532 *pcrel = TRUE; in parse_expression()
1490 bfd_boolean pcrel = FALSE; in do_one() local
1507 &pcrel, &extra, &section); in do_one()
1548 if (pcrel) in do_one()
1570 if (pcrel) in do_one()
1594 if (pcrel) in do_one()
1710 bfd_boolean pcrel; in ieee_slurp_section_data() local
[all …]
H A Delf32-mep.c32 #define MEPREL(type, size, bits, right, left, pcrel, overflow, mask) \ argument
33 {(unsigned)type, right, size, bits, pcrel, left, overflow, mep_reloc, #type, FALSE, 0, mask, 0 }
H A Dsunos.c2342 bfd_boolean pcrel; in sunos_check_dynamic_reloc() local
2374 pcrel = (0 != (srel->r_type[0] & RELOC_STD_BITS_PCREL_BIG)); in sunos_check_dynamic_reloc()
2380 pcrel = (0 != (srel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE)); in sunos_check_dynamic_reloc()
2399 pcrel = (r_type == RELOC_DISP8 in sunos_check_dynamic_reloc()
2668 if (pcrel && h != NULL) in sunos_check_dynamic_reloc()
/freebsd-12.1/contrib/binutils/gas/
H A Dwrite.h178 offsetT offset, int pcrel, bfd_reloc_code_real_type r_type);
180 (fragS * frag, int where, int size, expressionS *exp, int pcrel,
H A Dwrite.c144 int pcrel, /* TRUE if PC-relative relocation. */ in fix_new_internal() argument
166 fixP->fx_pcrel = pcrel; in fix_new_internal()
231 int pcrel, /* TRUE if PC-relative relocation. */ in fix_new() argument
235 (symbolS *) NULL, offset, pcrel, r_type); in fix_new()
247 int pcrel, /* TRUE if PC-relative relocation. */ in fix_new_exp() argument
274 return fix_new_exp (frag, where, size, exp, pcrel, r_type); in fix_new_exp()
303 return fix_new_internal (frag, where, size, add, sub, off, pcrel, r_type); in fix_new_exp()
H A DChangeLog523 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
524 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
H A DChangeLog-000125 * testsuite/gas/sparc/pcrel.s: New test.
26 * testsuite/gas/sparc/pcrel.d: Expected output.
33 * testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64
1352 pcrel relocs.
2097 by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
2102 pcrel, subtract MD_PCREL_FROM_SECTION value.
2589 from offset in non-pcrel operands too.
5470 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
5490 emit absolute jumps for anything with --pcrel.
6329 (pseudo_func): Add pcrel.
[all …]
H A DChangeLog-0203678 PC-relative jumps with --pcrel.
1296 * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
1672 * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
1851 * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
2089 exp, reloc, pcrel and fup into i860_fi.
2090 (md_assemble): Replace all instances of exp, reloc, pcrel
2091 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
4048 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
6734 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
6774 (shmedia_immediate_op): If pcrel, emit fixup also for constant
H A DChangeLog-92951958 * config/obj-coff.c (fixup_segment): Don't do further pcrel
2477 * write.c (fixup_segment) [TC_M68K]: Don't do further pcrel
2481 * write.c (fixup_segment): Don't conditionalize the pcrel fix on
3542 (md_apply_fix): Convert BFD_RELOC_32 with pcrel bit set into
4993 before processing same-section pcrel relocations.
5033 (tc_gen_reloc): Only switch on size and pcrel if code wasn't
5965 if pcrel is already set.
6008 [DIFF_EXPR_OK]: Don't check pcrel, just convert it.
6695 (sparc_ip, label "immediate"): Reject constants for pcrel
7404 (fixup_segment): Leave gp-relative relocations alone. For pcrel
[all …]
/freebsd-12.1/contrib/binutils/opcodes/
H A Dmips-dis.c1507 int immed, nbits, shift, signedp, extbits, pcrel, extu, branch; in print_mips16_insn_arg() local
1512 pcrel = 0; in print_mips16_insn_arg()
1627 pcrel = 1; in print_mips16_insn_arg()
1635 pcrel = 1; in print_mips16_insn_arg()
1643 pcrel = 1; in print_mips16_insn_arg()
1652 pcrel = 1; in print_mips16_insn_arg()
1660 pcrel = 1; in print_mips16_insn_arg()
1688 if (! pcrel) in print_mips16_insn_arg()
1736 if (pcrel && branch in print_mips16_insn_arg()
/freebsd-12.1/contrib/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.cpp387 uint64_t pcrel = 0; in translateImmediate() local
390 pcrel = insn.startLocation + in translateImmediate()
671 if(!tryAddingSymbolicOperand(immediate + pcrel, isBranch, insn.startLocation, in translateImmediate()
746 uint64_t pcrel = 0; in translateRMMemory() local
807 pcrel = insn.startLocation + in translateRMMemory()
811 insn.displacement + pcrel, Dis); in translateRMMemory()
871 if(!tryAddingSymbolicOperand(insn.displacement + pcrel, false, in translateRMMemory()
/freebsd-12.1/contrib/gcc/config/ia64/
H A Dcrtbegin.asm92 movl r2 = @pcrel(__do_global_dtors_aux - 16)
110 movl r2 = @pcrel(__do_jv_register_classes - 16)
H A Dcrtend.asm64 movl r2 = @pcrel(__do_global_ctors_aux - 16)
/freebsd-12.1/contrib/binutils/include/opcode/
H A Dconvex.h27 #define pcrel 7 macro
425 {47,0,pcrel,0,0,0}, /* br */
426 {48,2,pcrel,0,0,0}, /* bri.f */
427 {48,1,pcrel,0,0,0}, /* bri.t */
428 {49,2,pcrel,0,0,0}, /* bra.f */
429 {49,1,pcrel,0,0,0}, /* bra.t */
430 {50,2,pcrel,0,0,0}, /* brs.f */
431 {50,1,pcrel,0,0,0}, /* brs.t */
/freebsd-12.1/contrib/binutils/gas/config/
H A Dtc-spu.c356 int pcrel = 0; in md_assemble() local
361 pcrel = 1; in md_assemble()
370 pcrel, in md_assemble()
H A Dtc-sparc.c214 int pcrel; member
1748 the_insn.pcrel = 1;
1753 the_insn.pcrel = 1;
2262 the_insn.pcrel = 1;
2267 the_insn.pcrel = 1;
2525 if (the_insn.pcrel
2930 the_insn->pcrel,
H A Dtc-i386.c1491 int pcrel, in reloc() argument
1535 else if (pcrel && !reloc->pc_relative) in reloc()
1547 if (pcrel) in reloc()
4158 int pcrel = (i.flags[n] & Operand_PCrel) != 0; in output_disp() local
4166 if (pcrel && i.imm_operands) in output_disp()
4185 reloc_type = reloc (size, pcrel, sign, i.reloc[n]); in output_disp()
4228 i.op[n].disps, pcrel, reloc_type); in output_disp()
H A Dtc-alpha.c1615 int size, pcrel; in emit_insn() local
1623 pcrel = ((operand->flags & AXP_OPERAND_RELATIVE) != 0); in emit_insn()
1630 pcrel = 0; in emit_insn()
1641 pcrel = reloc_howto->pc_relative; in emit_insn()
1645 &fixup->exp, pcrel, fixup->reloc); in emit_insn()
H A Dtc-mips.c10737 int pcrel; member
13717 if (op->pcrel) in mips16_extended_frag()
14391 if (op->pcrel) in md_convert_frag()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrControl.td318 // the 32-bit pcrel field that we have.
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMScheduleA57.td385 "LDRcp", "(t2|t)?LDRConstPool", "LDRLIT_ga_(pcrel|abs)",
389 (instregex "t2LDRS?(B|H)?(pcrel|T|i8|i12|pci|pci_pic|s)?$")>;
/freebsd-12.1/contrib/gcc/
H A Dconfigure.ac2736 gcc_GAS_CHECK_FEATURE([unaligned pcrel relocs],
2754 gcc_GAS_CHECK_FEATURE([unaligned pcrel relocs against hidden symbols],
2780 ]) # unaligned pcrel relocs
/freebsd-12.1/contrib/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.td119 // Short jump targets have OtherVT type and are printed as pcrel imm values.

12