Re: Call func address spill out

2009-11-20 Thread Richard Henderson
On 11/20/2009 04:21 AM, daniel tian wrote: But the question is gcc doesn't know the function symbol_ref 's address before ld taking care. Now there is only one solution I could choose: to force all the function call symbol_ref into register and CALL insn calls the register. But

Call func address spill out

2009-11-20 Thread daniel tian
Hi, I have a problem about function call insn. in "CALL @LABEL", only can jump backward/forward 32k SPACE. So if it overflows, the function symbol_ref could move a register, then "CALL Ri" (i represent 0 ~ 15). But the question is gcc doesn't know the function symbol_ref 's address