Lines Matching refs:reg
25 #define SPARC_PIC_THUNK(reg) \
26 .ifndef __sparc_get_pc_thunk.reg; \
27 .section .text.__sparc_get_pc_thunk.reg,"axG",@progbits,__sparc_get_pc_thunk.reg,comdat; \
29 .weak __sparc_get_pc_thunk.reg; \
30 .hidden __sparc_get_pc_thunk.reg; \
31 .type __sparc_get_pc_thunk.reg, #function; \
32 __sparc_get_pc_thunk.reg: \
34 add %o7, %reg, %##reg; \
53 #define SPARC_PIC_THUNK_CALL(reg) \
54 sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %##reg; \
55 call __sparc_get_pc_thunk.reg; \
56 or %##reg, %lo(_GLOBAL_OFFSET_TABLE_+4), %##reg;
58 #define SETUP_PIC_REG(reg) \
59 SPARC_PIC_THUNK(reg) \
60 SPARC_PIC_THUNK_CALL(reg)
62 #define SETUP_PIC_REG_LEAF(reg, tmp) \
63 SPARC_PIC_THUNK(reg) \
65 SPARC_PIC_THUNK_CALL(reg); \