Home
last modified time | relevance | path

Searched refs:r_length (Results 1 – 25 of 47) sorted by relevance

12

/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dmach-o-x86-64.c148 switch (reloc.r_length) in bfd_mach_o_x86_64_canonicalize_one_reloc()
160 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
169 switch (reloc.r_length) in bfd_mach_o_x86_64_canonicalize_one_reloc()
179 if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern) in bfd_mach_o_x86_64_canonicalize_one_reloc()
186 if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern) in bfd_mach_o_x86_64_canonicalize_one_reloc()
195 switch (reloc.r_length) in bfd_mach_o_x86_64_canonicalize_one_reloc()
208 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
215 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
222 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
229 if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern) in bfd_mach_o_x86_64_canonicalize_one_reloc()
[all …]
H A Dmach-o-arm.c173 if (reloc.r_length == 2) in bfd_mach_o_arm_canonicalize_one_reloc()
179 else if (reloc.r_length == 1) in bfd_mach_o_arm_canonicalize_one_reloc()
186 "invalid length: %d"), reloc.r_length); in bfd_mach_o_arm_canonicalize_one_reloc()
190 if (reloc.r_length == 2) in bfd_mach_o_arm_canonicalize_one_reloc()
195 else if (reloc.r_length == 1) in bfd_mach_o_arm_canonicalize_one_reloc()
201 "invalid length: %d"), reloc.r_length); in bfd_mach_o_arm_canonicalize_one_reloc()
205 if (reloc.r_length == 2) in bfd_mach_o_arm_canonicalize_one_reloc()
210 else if (reloc.r_length == 1) in bfd_mach_o_arm_canonicalize_one_reloc()
217 reloc.r_length); in bfd_mach_o_arm_canonicalize_one_reloc()
221 switch (reloc.r_length) in bfd_mach_o_arm_canonicalize_one_reloc()
[all …]
H A Dmach-o-aarch64.c171 if (reloc.r_length == 2 && reloc.r_pcrel == 0) in bfd_mach_o_arm64_canonicalize_one_reloc()
187 switch ((reloc.r_length << 1) | reloc.r_pcrel) in bfd_mach_o_arm64_canonicalize_one_reloc()
217 switch (reloc.r_length) in bfd_mach_o_arm64_canonicalize_one_reloc()
230 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
237 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
244 if (reloc.r_length == 2 && reloc.r_pcrel == 0) in bfd_mach_o_arm64_canonicalize_one_reloc()
251 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
258 if (reloc.r_length == 2 && reloc.r_pcrel == 0) in bfd_mach_o_arm64_canonicalize_one_reloc()
265 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
H A Dmach-o-i386.c134 if (reloc.r_length == 2) in bfd_mach_o_i386_canonicalize_one_reloc()
140 else if (reloc.r_length == 1) in bfd_mach_o_i386_canonicalize_one_reloc()
148 if (reloc.r_length == 2) in bfd_mach_o_i386_canonicalize_one_reloc()
153 else if (reloc.r_length == 1) in bfd_mach_o_i386_canonicalize_one_reloc()
160 if (reloc.r_length == 2) in bfd_mach_o_i386_canonicalize_one_reloc()
165 else if (reloc.r_length == 1) in bfd_mach_o_i386_canonicalize_one_reloc()
180 switch ((reloc.r_length << 1) | reloc.r_pcrel) in bfd_mach_o_i386_canonicalize_one_reloc()
221 rinfo->r_length = bfd_log2 (bfd_get_reloc_size (rel->howto)); in bfd_mach_o_i386_swap_reloc_out()
238 rinfo->r_length = bfd_log2 (bfd_get_reloc_size (rel->howto)); in bfd_mach_o_i386_swap_reloc_out()
246 rinfo->r_length = bfd_log2 (bfd_get_reloc_size (rel->howto)); in bfd_mach_o_i386_swap_reloc_out()
[all …]
H A Daout-ns32k.c151 unsigned int r_length; in MY() local
159 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE) in MY()
163 if (r_length > 2 || r_ns32k_type > 2) in MY()
165 return (MY (howto_table) + r_length + 3 * (*r_pcrel) + 6 * r_ns32k_type); in MY()
179 unsigned int r_length; in MY() local
184 r_length = bfd_log2 (bfd_get_reloc_size (howto)); in MY()
194 | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE) in MY()
H A Di386lynx.c114 unsigned int r_length; in NAME() local
121 r_length = bfd_log2 (bfd_get_reloc_size (g->howto)); in NAME()
175 | (r_length << RELOC_STD_BITS_LENGTH_SH_BIG); in NAME()
188 | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE); in NAME()
352 unsigned int r_length; in NAME() local
361 r_length = (bytes->r_index[0] & RELOC_STD_BITS_LENGTH_BIG) in NAME()
364 cache_ptr->howto = aout_32_std_howto_table + r_length + 4 * r_pcrel; in NAME()
H A Daoutx.h1950 unsigned int r_length, r_size; in NAME() local
1960 r_length = bfd_log2 (r_size); in NAME()
1961 if (1u << r_length != r_size) in NAME()
2023 | (r_length << RELOC_STD_BITS_LENGTH_SH_BIG)); in NAME()
2035 | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE)); in NAME()
2228 unsigned int r_length; in NAME() local
2247 r_length = ((bytes->r_type[0] & RELOC_STD_BITS_LENGTH_BIG) in NAME()
2260 r_length = ((bytes->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE) in NAME()
2264 howto_idx = (r_length + 4 * r_pcrel + 8 * r_baserel in NAME()
3830 unsigned int r_length; in aout_link_reloc_link_order()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dmach-o-x86-64.c148 switch (reloc.r_length) in bfd_mach_o_x86_64_canonicalize_one_reloc()
160 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
169 switch (reloc.r_length) in bfd_mach_o_x86_64_canonicalize_one_reloc()
179 if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern) in bfd_mach_o_x86_64_canonicalize_one_reloc()
186 if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern) in bfd_mach_o_x86_64_canonicalize_one_reloc()
195 switch (reloc.r_length) in bfd_mach_o_x86_64_canonicalize_one_reloc()
208 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
215 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
222 if (reloc.r_length == 2 && reloc.r_pcrel) in bfd_mach_o_x86_64_canonicalize_one_reloc()
229 if (reloc.r_length == 2 && reloc.r_pcrel && reloc.r_extern) in bfd_mach_o_x86_64_canonicalize_one_reloc()
[all …]
H A Dmach-o-arm.c173 if (reloc.r_length == 2) in bfd_mach_o_arm_canonicalize_one_reloc()
179 else if (reloc.r_length == 1) in bfd_mach_o_arm_canonicalize_one_reloc()
186 "invalid length: %d"), reloc.r_length); in bfd_mach_o_arm_canonicalize_one_reloc()
190 if (reloc.r_length == 2) in bfd_mach_o_arm_canonicalize_one_reloc()
195 else if (reloc.r_length == 1) in bfd_mach_o_arm_canonicalize_one_reloc()
201 "invalid length: %d"), reloc.r_length); in bfd_mach_o_arm_canonicalize_one_reloc()
205 if (reloc.r_length == 2) in bfd_mach_o_arm_canonicalize_one_reloc()
210 else if (reloc.r_length == 1) in bfd_mach_o_arm_canonicalize_one_reloc()
217 reloc.r_length); in bfd_mach_o_arm_canonicalize_one_reloc()
221 switch (reloc.r_length) in bfd_mach_o_arm_canonicalize_one_reloc()
[all …]
H A Dmach-o-aarch64.c171 if (reloc.r_length == 2 && reloc.r_pcrel == 0) in bfd_mach_o_arm64_canonicalize_one_reloc()
187 switch ((reloc.r_length << 1) | reloc.r_pcrel) in bfd_mach_o_arm64_canonicalize_one_reloc()
217 switch (reloc.r_length) in bfd_mach_o_arm64_canonicalize_one_reloc()
230 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
237 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
244 if (reloc.r_length == 2 && reloc.r_pcrel == 0) in bfd_mach_o_arm64_canonicalize_one_reloc()
251 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
258 if (reloc.r_length == 2 && reloc.r_pcrel == 0) in bfd_mach_o_arm64_canonicalize_one_reloc()
265 if (reloc.r_length == 2 && reloc.r_pcrel == 1) in bfd_mach_o_arm64_canonicalize_one_reloc()
H A Dmach-o-i386.c134 if (reloc.r_length == 2) in bfd_mach_o_i386_canonicalize_one_reloc()
140 else if (reloc.r_length == 1) in bfd_mach_o_i386_canonicalize_one_reloc()
148 if (reloc.r_length == 2) in bfd_mach_o_i386_canonicalize_one_reloc()
153 else if (reloc.r_length == 1) in bfd_mach_o_i386_canonicalize_one_reloc()
160 if (reloc.r_length == 2) in bfd_mach_o_i386_canonicalize_one_reloc()
165 else if (reloc.r_length == 1) in bfd_mach_o_i386_canonicalize_one_reloc()
180 switch ((reloc.r_length << 1) | reloc.r_pcrel) in bfd_mach_o_i386_canonicalize_one_reloc()
221 rinfo->r_length = bfd_log2 (bfd_get_reloc_size (rel->howto)); in bfd_mach_o_i386_swap_reloc_out()
238 rinfo->r_length = bfd_log2 (bfd_get_reloc_size (rel->howto)); in bfd_mach_o_i386_swap_reloc_out()
246 rinfo->r_length = bfd_log2 (bfd_get_reloc_size (rel->howto)); in bfd_mach_o_i386_swap_reloc_out()
[all …]
H A Daout-ns32k.c151 unsigned int r_length; in MY() local
159 r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE) in MY()
163 if (r_length > 2 || r_ns32k_type > 2) in MY()
165 return (MY (howto_table) + r_length + 3 * (*r_pcrel) + 6 * r_ns32k_type); in MY()
179 unsigned int r_length; in MY() local
184 r_length = bfd_log2 (bfd_get_reloc_size (howto)); in MY()
194 | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE) in MY()
H A Di386lynx.c116 unsigned int r_length; in NAME() local
123 r_length = bfd_log2 (bfd_get_reloc_size (g->howto)); in NAME()
177 | (r_length << RELOC_STD_BITS_LENGTH_SH_BIG); in NAME()
190 | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE); in NAME()
352 unsigned int r_length; in NAME() local
361 r_length = (bytes->r_index[0] & RELOC_STD_BITS_LENGTH_BIG) in NAME()
364 cache_ptr->howto = aout_32_std_howto_table + r_length + 4 * r_pcrel; in NAME()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DMachO_x86_64.cpp58 if (RI.r_length == 3) in getRelocKind()
60 else if (RI.r_extern && RI.r_length == 2) in getRelocKind()
65 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
69 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
73 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
77 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocKind()
82 if (RI.r_length == 2) in getRelocKind()
84 else if (RI.r_length == 3) in getRelocKind()
89 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
93 if (RI.r_pcrel && RI.r_length == 2) in getRelocKind()
[all …]
H A DMachO_arm64.cpp39 if (RI.r_length == 3) in getRelocationKind()
41 else if (RI.r_length == 2) in getRelocationKind()
50 if (RI.r_length == 2) in getRelocationKind()
52 else if (RI.r_length == 3) in getRelocationKind()
57 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
61 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
65 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
69 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
73 if (!RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
77 if (RI.r_pcrel && RI.r_extern && RI.r_length == 2) in getRelocationKind()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachORelocation.h28 uint8_t r_length; // length = 2 ^ r_length variable
37 return (1 << 31) | (r_pcrel << 30) | ((r_length & 3) << 28) | in getPackedFields()
40 return (r_symbolnum << 8) | (r_pcrel << 7) | ((r_length & 3) << 5) | in getPackedFields()
49 r_address(addr), r_symbolnum(index), r_pcrel(pcrel), r_length(len), in r_address()
/netbsd-src/sys/arch/hppa/include/
H A Daout_machdep.h48 r_length : 2, /* log base 2 of value's width */ member
/netbsd-src/sys/arch/vax/include/
H A Daout_machdep.h40 r_length : 2, /* log base 2 of value's width */ member
/netbsd-src/sys/arch/x86/include/
H A Daout_machdep.h40 r_length : 2, /* log base 2 of value's width */ member
/netbsd-src/tools/arm-elf2aout/machine/
H A Daout_machdep.h46 unsigned r_length:2; /* 0=byte, 1=word, 2=long, 3=24bits shifted by 2 */ member
/netbsd-src/sys/arch/arm/include/
H A Daout_machdep.h46 unsigned r_length:2; /* 0=byte, 1=word, 2=long, 3=24bits shifted by 2 */ member
/netbsd-src/tools/m68k-elf2aout/machine/
H A Daout_machdep.h49 r_length : 2, /* log base 2 of value's width */ member
/netbsd-src/sys/arch/m68k/include/
H A Daout_machdep.h49 r_length : 2, /* log base 2 of value's width */ member
/netbsd-src/external/gpl3/binutils.old/dist/include/
H A Dbout.h183 r_length:2, /* Number of bytes to relocate: member
/netbsd-src/external/gpl3/binutils/dist/include/
H A Dbout.h183 r_length:2, /* Number of bytes to relocate: member

12