Home | History | Annotate | Download | only in config

Lines Matching full:fixp

1610 	  fixS *fixP;
1622 fixP = fix_new_exp (frag_now,
1632 fixP->fx_no_overflow = 1;
2097 md_pcrel_from_section (fixS *fixp, segT sec ATTRIBUTE_UNUSED)
2099 return fixp->fx_frag->fr_address + fixp->fx_where;
2107 tc_s390_fix_adjustable (fixS *fixP)
2110 if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0)
2113 if ( fixP->fx_r_type == BFD_RELOC_16_GOTOFF
2114 || fixP->fx_r_type == BFD_RELOC_32_GOTOFF
2115 || fixP->fx_r_type == BFD_RELOC_390_GOTOFF64
2116 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF16
2117 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF32
2118 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF64
2119 || fixP->fx_r_type == BFD_RELOC_390_PLT12DBL
2120 || fixP->fx_r_type == BFD_RELOC_390_PLT16DBL
2121 || fixP->fx_r_type == BFD_RELOC_390_PLT24DBL
2122 || fixP->fx_r_type == BFD_RELOC_390_PLT32
2123 || fixP->fx_r_type == BFD_RELOC_390_PLT32DBL
2124 || fixP->fx_r_type == BFD_RELOC_390_PLT64
2125 || fixP->fx_r_type == BFD_RELOC_390_GOT12
2126 || fixP->fx_r_type == BFD_RELOC_390_GOT20
2127 || fixP->fx_r_type == BFD_RELOC_390_GOT16
2128 || fixP->fx_r_type == BFD_RELOC_32_GOT_PCREL
2129 || fixP->fx_r_type == BFD_RELOC_390_GOT64
2130 || fixP->fx_r_type == BFD_RELOC_390_GOTENT
2131 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT12
2132 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT16
2133 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT20
2134 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT32
2135 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT64
2136 || fixP->fx_r_type == BFD_RELOC_390_GOTPLTENT
2137 || fixP->fx_r_type == BFD_RELOC_390_TLS_LOAD
2138 || fixP->fx_r_type == BFD_RELOC_390_TLS_GDCALL
2139 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDCALL
2140 || fixP->fx_r_type == BFD_RELOC_390_TLS_GD32
2141 || fixP->fx_r_type == BFD_RELOC_390_TLS_GD64
2142 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE12
2143 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE20
2144 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE32
2145 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE64
2146 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDM32
2147 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDM64
2148 || fixP->fx_r_type == BFD_RELOC_390_TLS_IE32
2149 || fixP->fx_r_type == BFD_RELOC_390_TLS_IE64
2150 || fixP->fx_r_type == BFD_RELOC_390_TLS_IEENT
2151 || fixP->fx_r_type == BFD_RELOC_390_TLS_LE32
2152 || fixP->fx_r_type == BFD_RELOC_390_TLS_LE64
2153 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDO32
2154 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDO64
2155 || fixP->fx_r_type == BFD_RELOC_390_TLS_DTPMOD
2156 || fixP->fx_r_type == BFD_RELOC_390_TLS_DTPOFF
2157 || fixP->fx_r_type == BFD_RELOC_390_TLS_TPOFF
2158 || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
2159 || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
2167 tc_s390_force_relocation (struct fix *fixp)
2171 switch (fixp->fx_r_type)
2203 return generic_force_reloc (fixp);
2216 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
2221 where = fixP->fx_frag->fr_literal + fixP->fx_where;
2223 if (fixP->fx_subsy != NULL)
2224 as_bad_where (fixP->fx_file, fixP->fx_line,
2226 bfd_get_reloc_code_name (fixP->fx_r_type),
2227 S_GET_NAME (fixP->fx_subsy));
2229 if (fixP->fx_addsy != NULL)
2231 if (fixP->fx_pcrel)
2232 value += fixP->fx_frag->fr_address + fixP->fx_where;
2235 fixP->fx_done = 1;
2237 if ((int) fixP->fx_r_type >= (int) BFD_RELOC_UNUSED)
2242 opindex = (int) fixP->fx_r_type - (int) BFD_RELOC_UNUSED;
2245 if (fixP->fx_done)
2249 (offsetT) value, fixP->fx_file, fixP->fx_line);
2256 fixP->fx_offset = value;
2259 fixP->fx_size = 2;
2260 fixP->fx_where += 2;
2261 fixP->fx_r_type = BFD_RELOC_390_12;
2265 fixP->fx_size = 2;
2266 fixP->fx_where += 4;
2267 fixP->fx_r_type = BFD_RELOC_390_12;
2271 fixP->fx_size = 2;
2272 fixP->fx_where += 2;
2273 fixP->fx_r_type = BFD_RELOC_390_20;
2277 fixP->fx_size = 1;
2278 fixP->fx_where += 1;
2279 fixP->fx_r_type = BFD_RELOC_8;
2284 fixP->fx_size = 2;
2285 fixP->fx_where += 1;
2286 fixP->fx_offset += 1;
2287 fixP->fx_r_type = BFD_RELOC_390_PC12DBL;
2291 fixP->fx_size = 2;
2292 fixP->fx_where += 2;
2295 fixP->fx_r_type = BFD_RELOC_390_PC16DBL;
2296 fixP->fx_offset += 2;
2299 fixP->fx_r_type = BFD_RELOC_16;
2304 fixP->fx_size = 3;
2305 fixP->fx_where += 3;
2306 fixP->fx_offset += 3;
2307 fixP->fx_r_type = BFD_RELOC_390_PC24DBL;
2312 fixP->fx_size = 4;
2313 fixP->fx_where += 2;
2314 fixP->fx_offset += 2;
2315 fixP->fx_r_type = BFD_RELOC_390_PC32DBL;
2324 if (expr_symbol_where (fixP->fx_addsy, &sfile, &sline))
2325 as_bad_where (fixP->fx_file, fixP->fx_line,
2328 as_bad_where (fixP->fx_file, fixP->fx_line,
2330 fixP->fx_done = 1;
2336 switch (fixP->fx_r_type)
2339 if (fixP->fx_pcrel)
2341 if (fixP->fx_done)
2349 if (fixP->fx_pcrel)
2352 if (fixP->fx_done)
2356 if (fixP->fx_pcrel)
2368 if (fixP->fx_done)
2382 if (fixP->fx_pcrel)
2383 as_bad_where (fixP->fx_file, fixP->fx_line,
2385 bfd_get_reloc_code_name (fixP->fx_r_type),
2386 fixP->fx_addsy != NULL ? " against " : "",
2387 (fixP->fx_addsy != NULL
2388 ? S_GET_NAME (fixP->fx_addsy)
2390 if (fixP->fx_done)
2396 if (fixP->fx_done)
2402 if (fixP->fx_done)
2409 if (fixP->fx_done)
2421 if (fixP->fx_pcrel)
2422 fixP->fx_r_type = BFD_RELOC_32_PCREL;
2424 fixP->fx_r_type = BFD_RELOC_32;
2425 if (fixP->fx_done)
2430 fixP->fx_r_type = BFD_RELOC_32_PCREL;
2431 if (fixP->fx_done)
2438 if (fixP->fx_done)
2447 if (fixP->fx_done)
2452 if (fixP->fx_done)
2457 if (fixP->fx_done)
2465 if (fixP->fx_done)
2470 if (fixP->fx_pcrel)
2471 fixP->fx_r_type = BFD_RELOC_64_PCREL;
2473 fixP->fx_r_type = BFD_RELOC_64;
2474 if (fixP->fx_done)
2479 fixP->fx_r_type = BFD_RELOC_64_PCREL;
2480 if (fixP->fx_done)
2486 fixP->fx_done = 0;
2509 S_SET_THREAD_LOCAL (fixP->fx_addsy);
2514 S_SET_THREAD_LOCAL (fixP->fx_addsy);
2520 const char *reloc_name = bfd_get_reloc_code_name (fixP->fx_r_type);
2525 as_fatal (_("Gas failure, reloc type #%i\n"), fixP->fx_r_type);
2529 fixP->fx_offset = value;
2536 tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp)
2541 code = fixp->fx_r_type;
2542 if (GOT_symbol && fixp->fx_addsy == GOT_symbol)
2553 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
2554 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
2558 as_bad_where (fixp->fx_file, fixp->fx_line,
2565 reloc->addend = fixp->fx_offset;