Lines Matching refs:fragP

1860 		 fragS * fragP)  in md_convert_frag()  argument
1864 switch (fragP->fr_subtype) in md_convert_frag()
1867 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1868 fragP->fr_offset, TRUE, BFD_RELOC_64_PCREL); in md_convert_frag()
1869 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1870 fragP->fr_var = 0; in md_convert_frag()
1873 if (fragP->fr_symbol == GOT_symbol) in md_convert_frag()
1874 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1875 fragP->fr_offset, TRUE, BFD_RELOC_MICROBLAZE_64_GOTPC); in md_convert_frag()
1877 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1878 fragP->fr_offset, FALSE, BFD_RELOC_64); in md_convert_frag()
1879 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1880 fragP->fr_var = 0; in md_convert_frag()
1883 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE, fragP->fr_symbol, in md_convert_frag()
1884 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_32_ROSDA); in md_convert_frag()
1885 fragP->fr_fix += INST_WORD_SIZE; in md_convert_frag()
1886 fragP->fr_var = 0; in md_convert_frag()
1889 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE, fragP->fr_symbol, in md_convert_frag()
1890 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_32_RWSDA); in md_convert_frag()
1891 fragP->fr_fix += INST_WORD_SIZE; in md_convert_frag()
1892 fragP->fr_var = 0; in md_convert_frag()
1895 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE, fragP->fr_symbol, in md_convert_frag()
1896 fragP->fr_offset, TRUE, BFD_RELOC_MICROBLAZE_32_LO_PCREL); in md_convert_frag()
1897 fragP->fr_fix += INST_WORD_SIZE; in md_convert_frag()
1898 fragP->fr_var = 0; in md_convert_frag()
1901 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1902 fragP->fr_offset, TRUE, BFD_RELOC_64_PCREL); in md_convert_frag()
1903 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1904 fragP->fr_var = 0; in md_convert_frag()
1907 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1908 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_64_GOT); in md_convert_frag()
1909 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1910 fragP->fr_var = 0; in md_convert_frag()
1913 fixP = fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1914 fragP->fr_offset, TRUE, BFD_RELOC_MICROBLAZE_64_PLT); in md_convert_frag()
1917 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1918 fragP->fr_var = 0; in md_convert_frag()
1921 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1922 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_64_GOTOFF); in md_convert_frag()
1923 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1924 fragP->fr_var = 0; in md_convert_frag()
1927 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1928 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_64_TLSGD); in md_convert_frag()
1929 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1930 fragP->fr_var = 0; in md_convert_frag()
1933 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1934 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_64_TLSLD); in md_convert_frag()
1935 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1936 fragP->fr_var = 0; in md_convert_frag()
1939 fix_new (fragP, fragP->fr_fix, INST_WORD_SIZE * 2, fragP->fr_symbol, in md_convert_frag()
1940 fragP->fr_offset, FALSE, BFD_RELOC_MICROBLAZE_64_TLSDTPREL); in md_convert_frag()
1941 fragP->fr_fix += INST_WORD_SIZE * 2; in md_convert_frag()
1942 fragP->fr_var = 0; in md_convert_frag()
2188 md_estimate_size_before_relax (fragS * fragP, in md_estimate_size_before_relax() argument
2196 switch (fragP->fr_subtype) in md_estimate_size_before_relax()
2200 if (!fragP->fr_symbol) in md_estimate_size_before_relax()
2206 else if (S_GET_SEGMENT (fragP->fr_symbol) == segment_type && in md_estimate_size_before_relax()
2207 !S_IS_WEAK (fragP->fr_symbol)) in md_estimate_size_before_relax()
2209 fragP->fr_subtype = DEFINED_PC_OFFSET; in md_estimate_size_before_relax()
2211 fragP->fr_var = INST_WORD_SIZE; in md_estimate_size_before_relax()
2213 else if (S_IS_DEFINED (fragP->fr_symbol) in md_estimate_size_before_relax()
2214 && (((S_GET_SEGMENT (fragP->fr_symbol))->flags & SEC_CODE) == 0)) in md_estimate_size_before_relax()
2218 S_GET_NAME (fragP->fr_symbol)); in md_estimate_size_before_relax()
2219 fragP->fr_subtype = UNDEFINED_PC_OFFSET; in md_estimate_size_before_relax()
2220 fragP->fr_var = INST_WORD_SIZE*2; in md_estimate_size_before_relax()
2224 fragP->fr_subtype = UNDEFINED_PC_OFFSET; in md_estimate_size_before_relax()
2225 fragP->fr_var = INST_WORD_SIZE*2; in md_estimate_size_before_relax()
2231 if (fragP->fr_symbol) in md_estimate_size_before_relax()
2233 if (fragP->fr_opcode == NULL) in md_estimate_size_before_relax()
2236 fragP->fr_subtype = DEFINED_ABS_SEGMENT; in md_estimate_size_before_relax()
2238 fragP->fr_var = INST_WORD_SIZE*2; in md_estimate_size_before_relax()
2240 else if (streq (fragP->fr_opcode, str_microblaze_ro_anchor)) in md_estimate_size_before_relax()
2243 if ((S_GET_SEGMENT (fragP->fr_symbol) == bfd_com_section_ptr) in md_estimate_size_before_relax()
2244 || (S_GET_SEGMENT (fragP->fr_symbol) == sdata2_segment) in md_estimate_size_before_relax()
2245 || (S_GET_SEGMENT (fragP->fr_symbol) == sbss2_segment) in md_estimate_size_before_relax()
2246 || (! S_IS_DEFINED (fragP->fr_symbol))) in md_estimate_size_before_relax()
2248 fragP->fr_subtype = DEFINED_RO_SEGMENT; in md_estimate_size_before_relax()
2249 fragP->fr_var = INST_WORD_SIZE; in md_estimate_size_before_relax()
2255 char *file = fragP->fr_file ? fragP->fr_file : _("unknown"); in md_estimate_size_before_relax()
2257 as_bad_where (file, fragP->fr_line, in md_estimate_size_before_relax()
2261 fragP->fr_subtype = DEFINED_RO_SEGMENT; in md_estimate_size_before_relax()
2262 fragP->fr_var = INST_WORD_SIZE; in md_estimate_size_before_relax()
2265 else if (streq (fragP->fr_opcode, str_microblaze_rw_anchor)) in md_estimate_size_before_relax()
2267 if ((S_GET_SEGMENT (fragP->fr_symbol) == bfd_com_section_ptr) in md_estimate_size_before_relax()
2268 || (S_GET_SEGMENT (fragP->fr_symbol) == sdata_segment) in md_estimate_size_before_relax()
2269 || (S_GET_SEGMENT (fragP->fr_symbol) == sbss_segment) in md_estimate_size_before_relax()
2270 || (!S_IS_DEFINED (fragP->fr_symbol))) in md_estimate_size_before_relax()
2273 fragP->fr_subtype = DEFINED_RW_SEGMENT; in md_estimate_size_before_relax()
2274 fragP->fr_var = INST_WORD_SIZE; in md_estimate_size_before_relax()
2278 char *file = fragP->fr_file ? fragP->fr_file : _("unknown"); in md_estimate_size_before_relax()
2280 as_bad_where (file, fragP->fr_line, in md_estimate_size_before_relax()
2284 fragP->fr_subtype = DEFINED_RW_SEGMENT; in md_estimate_size_before_relax()
2285 fragP->fr_var = INST_WORD_SIZE; in md_estimate_size_before_relax()
2312 fragP->fr_var = INST_WORD_SIZE*2; in md_estimate_size_before_relax()
2318 fragP->fr_var = INST_WORD_SIZE; in md_estimate_size_before_relax()
2324 return fragP->fr_var; in md_estimate_size_before_relax()