Function return value register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to update the backend code for m68k for Pascal language.

Is there a way to change the function return value coming in register
d0 to come in reigster d7 ?

I tried adding d7 in call_used_registers and updating macro's
FUNCTION_VALUE and FUNCTION_VALUE_REGNO_P but it didnt work.

I tried modifying hard_function_value function in explow.c but
compilation failed at reload pass.

Any help is appreciated.

Thanks and regards,
Rajat Singh




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux