Re: How to get attribute of callee

2010-10-04 Thread Georg Lay
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

Re: How to get attribute of callee

2010-09-03 Thread Georg Lay
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

Re: How to get attribute of callee

2010-09-02 Thread Phung Nguyen
attribute of the called function, I need the info passed to call pattern name. Could you please explain more about your idea. Phung On Thu, Sep 2, 2010 at 7:49 PM, Georg Lay wrote: > Phung Nguyen schrieb: >> Dear all, >> >> I am porting GCC to a new target. I don't kn

Re: How to get attribute of callee

2010-09-02 Thread Phung Nguyen
0, 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

Re: How to get attribute of callee

2010-09-02 Thread Jakub Jelinek
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_

Re: How to get attribute of callee

2010-09-02 Thread Georg Lay
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&

How to get attribute of callee

2010-09-02 Thread Phung Nguyen
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 the a