FW: wrong code generation in newlib 1.1.14 PPC ?!
Sriharsha
sriharsha.v@redpinesignals.com
Thu Jan 12 10:25:00 GMT 2006
Just for understanding, do you mean to say that the compiler is
generating two different codes for a same function, one present in
newlib and the other is the one you've written? This is strange !! One
thing that I might consider looking at is optimization switch used to
compile both the versions. Is everything (being used for compilation)
the same at command-line?
Sriharsha.
Frank Juergen-r58616 wrote:
>
>Hi !!
>
>I generate my own version of gcc and newlib for the PowerPC.
>
>If I compile and link my program it looks good, but if I execute the code it crashes !! Ok I debug and find out that the compiler generate wrong opcodes but I compile and create everything with the same cpu option ( mcpu=603e ). So what kind of problem is this ... has anyone else similar effects ?
>
>I see this problem only in the newlib functions not in my own program code ?!
>
> thank you for your help
>
>
More information about the Newlib
mailing list