Hello, this series adds call0 ABI support for xtensa. Code generation part is well tested, but I'm not 100% sure about the exception handling part. Please review.
Max Filippov (2): Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression Implement call0 ABI for xtensa gcc/builtins.c | 2 +- gcc/config/sparc/sparc.h | 2 +- gcc/config/xtensa/constraints.md | 6 +- gcc/config/xtensa/xtensa-protos.h | 3 + gcc/config/xtensa/xtensa.c | 561 ++++++++++++++++++++++++++++-------- gcc/config/xtensa/xtensa.h | 67 +++-- gcc/config/xtensa/xtensa.md | 48 ++- libgcc/config/xtensa/lib2funcs.S | 10 + libgcc/config/xtensa/linux-unwind.h | 3 + libgcc/config/xtensa/t-windowed | 2 + libgcc/config/xtensa/t-xtensa | 3 - libgcc/configure | 21 ++ libgcc/configure.ac | 16 + 13 files changed, 588 insertions(+), 156 deletions(-) create mode 100644 libgcc/config/xtensa/t-windowed -- 1.8.1.4