Phung Nguyen schrieb:
> Dear Georg,
>
> Thank you for your help.
>
> I have a problem after I follow your way. When I compile newlib with
> the modified (in the way you did in blackfin) way, I got the error
> message:
> In function "fopencookie":newlib/libc/stdio/fopencookie.c: 261: error,
> insn
Phung Nguyen schrieb:
> Thank you for your reply,
>
> As I know, operand 0 of call is the address of called function;
> operand 1 is the number of arguments; operand 2 is the number of args
> as registers. Therefore, where is the info passed to call ??? As I
> would like to change the target instr
Thank you for your reply,
As I know, operand 0 of call is the address of called function;
operand 1 is the number of arguments; operand 2 is the number of args
as registers. Therefore, where is the info passed to call ??? As I
would like to change the target instruction of call based on the
attrib
Hi Jakub,
Thank you for your help.
For direct call, I solved the problem based on your suggestion.
For indirect call, I don't understand much your idea. Could you please
clarify it?
Phung
On Thu, Sep 2, 2010 at 7:59 PM, Jakub Jelinek wrote:
> On Thu, Sep 02, 2010 at 07:18:29PM +0700, Phung Ngu
On Thu, Sep 02, 2010 at 07:18:29PM +0700, Phung Nguyen wrote:
> I am porting GCC to a new target. I don't know how to get attribute of
> callee of a call.
>
> I defined a new attribute to assign to a function but when writing for
> pattern name "call" or "call_value", I don't know how to know if t
Phung Nguyen schrieb:
> Dear all,
>
> I am porting GCC to a new target. I don't know how to get attribute of
> callee of a call.
>
> I defined a new attribute to assign to a function but when writing for
> pattern name "call" or "call_value", I don't know how to know if the
> callee is assigned t