In order to allow ZCX on VxWorks, we need the frame_dummy function to do the register_frame_info(). So make sure crtbegin.o and crtend.o are available for use with a custom spec file.
2018-06-04 Rasmus Villemoes <r...@rasmusvillemoes.dk> libgcc/ * config.host: Add crtbegin.o and crtend.o for powerpc-wrs-vxworks target. --- libgcc/config.host | 1 + 1 file changed, 1 insertion(+) diff --git a/libgcc/config.host b/libgcc/config.host index 18cabaf24f6..3466ba70f27 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -1129,6 +1129,7 @@ powerpc*-*-linux*) ;; powerpc-wrs-vxworks*) tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit" + extra_parts="$extra_parts crtbegin.o crtend.o" ;; powerpc-*-lynxos*) tmake_file="$tmake_file rs6000/t-lynx t-fdpbit" -- 2.16.4