Home | History | Annotate | Download | only in config

Lines Matching full:fixp

1555 	  fixS *fixP;
1567 fixP = fix_new_exp (frag_now,
1577 fixP->fx_no_overflow = 1;
2016 md_pcrel_from_section (fixS *fixp, segT sec ATTRIBUTE_UNUSED)
2018 return fixp->fx_frag->fr_address + fixp->fx_where;
2026 tc_s390_fix_adjustable (fixS *fixP)
2029 if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0)
2032 if ( fixP->fx_r_type == BFD_RELOC_16_GOTOFF
2033 || fixP->fx_r_type == BFD_RELOC_32_GOTOFF
2034 || fixP->fx_r_type == BFD_RELOC_390_GOTOFF64
2035 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF16
2036 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF32
2037 || fixP->fx_r_type == BFD_RELOC_390_PLTOFF64
2038 || fixP->fx_r_type == BFD_RELOC_390_PLT12DBL
2039 || fixP->fx_r_type == BFD_RELOC_390_PLT16DBL
2040 || fixP->fx_r_type == BFD_RELOC_390_PLT24DBL
2041 || fixP->fx_r_type == BFD_RELOC_390_PLT32
2042 || fixP->fx_r_type == BFD_RELOC_390_PLT32DBL
2043 || fixP->fx_r_type == BFD_RELOC_390_PLT64
2044 || fixP->fx_r_type == BFD_RELOC_390_GOT12
2045 || fixP->fx_r_type == BFD_RELOC_390_GOT20
2046 || fixP->fx_r_type == BFD_RELOC_390_GOT16
2047 || fixP->fx_r_type == BFD_RELOC_32_GOT_PCREL
2048 || fixP->fx_r_type == BFD_RELOC_390_GOT64
2049 || fixP->fx_r_type == BFD_RELOC_390_GOTENT
2050 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT12
2051 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT16
2052 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT20
2053 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT32
2054 || fixP->fx_r_type == BFD_RELOC_390_GOTPLT64
2055 || fixP->fx_r_type == BFD_RELOC_390_GOTPLTENT
2056 || fixP->fx_r_type == BFD_RELOC_390_TLS_LOAD
2057 || fixP->fx_r_type == BFD_RELOC_390_TLS_GDCALL
2058 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDCALL
2059 || fixP->fx_r_type == BFD_RELOC_390_TLS_GD32
2060 || fixP->fx_r_type == BFD_RELOC_390_TLS_GD64
2061 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE12
2062 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE20
2063 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE32
2064 || fixP->fx_r_type == BFD_RELOC_390_TLS_GOTIE64
2065 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDM32
2066 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDM64
2067 || fixP->fx_r_type == BFD_RELOC_390_TLS_IE32
2068 || fixP->fx_r_type == BFD_RELOC_390_TLS_IE64
2069 || fixP->fx_r_type == BFD_RELOC_390_TLS_IEENT
2070 || fixP->fx_r_type == BFD_RELOC_390_TLS_LE32
2071 || fixP->fx_r_type == BFD_RELOC_390_TLS_LE64
2072 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDO32
2073 || fixP->fx_r_type == BFD_RELOC_390_TLS_LDO64
2074 || fixP->fx_r_type == BFD_RELOC_390_TLS_DTPMOD
2075 || fixP->fx_r_type == BFD_RELOC_390_TLS_DTPOFF
2076 || fixP->fx_r_type == BFD_RELOC_390_TLS_TPOFF
2077 || fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
2078 || fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
2086 tc_s390_force_relocation (struct fix *fixp)
2090 switch (fixp->fx_r_type)
2122 return generic_force_reloc (fixp);
2135 md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
2140 where = fixP->fx_frag->fr_literal + fixP->fx_where;
2142 if (fixP->fx_subsy != NULL)
2143 as_bad_where (fixP->fx_file, fixP->fx_line,
2145 bfd_get_reloc_code_name (fixP->fx_r_type),
2146 S_GET_NAME (fixP->fx_subsy));
2148 if (fixP->fx_addsy != NULL)
2150 if (fixP->fx_pcrel)
2151 value += fixP->fx_frag->fr_address + fixP->fx_where;
2154 fixP->fx_done = 1;
2156 if ((int) fixP->fx_r_type >= (int) BFD_RELOC_UNUSED)
2161 opindex = (int) fixP->fx_r_type - (int) BFD_RELOC_UNUSED;
2164 if (fixP->fx_done)
2168 (offsetT) value, fixP->fx_file, fixP->fx_line);
2175 fixP->fx_offset = value;
2178 fixP->fx_size = 2;
2179 fixP->fx_where += 2;
2180 fixP->fx_r_type = BFD_RELOC_390_12;
2184 fixP->fx_size = 2;
2185 fixP->fx_where += 4;
2186 fixP->fx_r_type = BFD_RELOC_390_12;
2190 fixP->fx_size = 2;
2191 fixP->fx_where += 2;
2192 fixP->fx_r_type = BFD_RELOC_390_20;
2196 fixP->fx_size = 1;
2197 fixP->fx_where += 1;
2198 fixP->fx_r_type = BFD_RELOC_8;
2203 fixP->fx_size = 2;
2204 fixP->fx_where += 1;
2205 fixP->fx_offset += 1;
2206 fixP->fx_r_type = BFD_RELOC_390_PC12DBL;
2210 fixP->fx_size = 2;
2211 fixP->fx_where += 2;
2214 fixP->fx_r_type = BFD_RELOC_390_PC16DBL;
2215 fixP->fx_offset += 2;
2218 fixP->fx_r_type = BFD_RELOC_16;
2223 fixP->fx_size = 3;
2224 fixP->fx_where += 3;
2225 fixP->fx_offset += 3;
2226 fixP->fx_r_type = BFD_RELOC_390_PC24DBL;
2231 fixP->fx_size = 4;
2232 fixP->fx_where += 2;
2233 fixP->fx_offset += 2;
2234 fixP->fx_r_type = BFD_RELOC_390_PC32DBL;
2243 if (expr_symbol_where (fixP->fx_addsy, &sfile, &sline))
2244 as_bad_where (fixP->fx_file, fixP->fx_line,
2247 as_bad_where (fixP->fx_file, fixP->fx_line,
2249 fixP->fx_done = 1;
2255 switch (fixP->fx_r_type)
2258 if (fixP->fx_pcrel)
2260 if (fixP->fx_done)
2268 if (fixP->fx_pcrel)
2271 if (fixP->fx_done)
2275 if (fixP->fx_pcrel)
2287 if (fixP->fx_done)
2301 if (fixP->fx_pcrel)
2302 as_bad_where (fixP->fx_file, fixP->fx_line,
2304 bfd_get_reloc_code_name (fixP->fx_r_type),
2305 fixP->fx_addsy != NULL ? " against " : "",
2306 (fixP->fx_addsy != NULL
2307 ? S_GET_NAME (fixP->fx_addsy)
2309 if (fixP->fx_done)
2315 if (fixP->fx_done)
2321 if (fixP->fx_done)
2328 if (fixP->fx_done)
2340 if (fixP->fx_pcrel)
2341 fixP->fx_r_type = BFD_RELOC_32_PCREL;
2343 fixP->fx_r_type = BFD_RELOC_32;
2344 if (fixP->fx_done)
2349 fixP->fx_r_type = BFD_RELOC_32_PCREL;
2350 if (fixP->fx_done)
2357 if (fixP->fx_done)
2366 if (fixP->fx_done)
2371 if (fixP->fx_done)
2376 if (fixP->fx_done)
2384 if (fixP->fx_done)
2389 if (fixP->fx_pcrel)
2390 fixP->fx_r_type = BFD_RELOC_64_PCREL;
2392 fixP->fx_r_type = BFD_RELOC_64;
2393 if (fixP->fx_done)
2398 fixP->fx_r_type = BFD_RELOC_64_PCREL;
2399 if (fixP->fx_done)
2405 fixP->fx_done = 0;
2428 S_SET_THREAD_LOCAL (fixP->fx_addsy);
2433 S_SET_THREAD_LOCAL (fixP->fx_addsy);
2439 const char *reloc_name = bfd_get_reloc_code_name (fixP->fx_r_type);
2444 as_fatal (_("Gas failure, reloc type #%i\n"), fixP->fx_r_type);
2448 fixP->fx_offset = value;
2455 tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp)
2460 code = fixp->fx_r_type;
2461 if (GOT_symbol && fixp->fx_addsy == GOT_symbol)
2472 *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
2473 reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
2477 as_bad_where (fixp->fx_file, fixp->fx_line,
2484 reloc->addend = fixp->fx_offset;