Home | History | Annotate | Download | only in frv

Lines Matching refs:unspec

564 /* Return true if X is a valid relocation unspec.  If it is, fill in UNSPEC
568 frv_const_unspec_p (rtx x, struct frv_unspec *unspec)
572 unspec->offset = 0;
576 unspec->offset += INTVAL (XEXP (x, 1));
579 if (GET_CODE (x) == UNSPEC && XINT (x, 1) == UNSPEC_GOT)
581 unspec->symbol = XVECEXP (x, 0, 0);
582 unspec->reloc = INTVAL (XVECEXP (x, 0, 1));
584 if (unspec->offset == 0)
587 if (frv_small_data_reloc_p (unspec->symbol, unspec->reloc)
588 && unspec->offset > 0
589 && unspec->offset < g_switch_value)
2532 struct frv_unspec unspec;
2602 if (!frv_const_unspec_p (x1, &unspec))
2604 frv_output_const_unspec (stream, &unspec);
2745 struct frv_unspec unspec;
3009 else if (frv_const_unspec_p (x, &unspec))
3010 frv_output_const_unspec (file, &unspec);
3695 /* Write the assembler syntax for UNSPEC to STREAM. Note that any offset
3699 frv_output_const_unspec (FILE *stream, const struct frv_unspec *unspec)
3701 fprintf (stream, "#%s(", unspec_got_name (unspec->reloc));
3702 output_addr_const (stream, plus_constant (Pmode, unspec->symbol,
3703 unspec->offset));
3714 struct frv_unspec unspec;
3716 if (frv_const_unspec_p (x, &unspec)
3717 && frv_small_data_reloc_p (unspec.symbol, unspec.reloc))
3718 return plus_constant (Pmode, unspec.symbol, unspec.offset);
3958 int unspec = 0;
4017 unspec = R_FRV_GPREL12;
4019 unspec = R_FRV_GOT12;
4069 unspec = R_FRV_FUNCDESC_GOTOFF12;
4071 unspec = R_FRV_FUNCDESC_GOT12;
4083 unspec = R_FRV_GOTOFF12;
4089 unspec = R_FRV_GPREL12;
4091 unspec = R_FRV_GOT12;
4116 unspec = R_FRV_GOT12;
4118 unspec = R_FRV_GOTOFF12;
4120 unspec = R_FRV_GPREL12;
4122 unspec = R_FRV_GOT12;
4125 unspec = R_FRV_GOT12;
4153 if (unspec)
4161 switch (unspec)
4164 if (!frv_small_data_reloc_p (sym, unspec))
4166 GEN_INT (unspec));
4168 x = gen_symGOTOFF2reg (dest, src, OUR_FDPIC_REG, GEN_INT (unspec));
4171 if (!frv_small_data_reloc_p (sym, unspec))
4173 GEN_INT (unspec));
4175 x = gen_symGPREL2reg (dest, src, OUR_FDPIC_REG, GEN_INT (unspec));
4180 GEN_INT (unspec));
4182 x = gen_symGOTOFF2reg (dest, src, OUR_FDPIC_REG, GEN_INT (unspec));
4187 GEN_INT (unspec));
4189 x = gen_symGOT2reg (dest, src, OUR_FDPIC_REG, GEN_INT (unspec));