[0/4] some vxworks crtstuff

Message ID 20211101093456.2003236-1-rasmus.villemoes@prevas.dk
Headers
Series some vxworks crtstuff |

Message

Rasmus Villemoes Nov. 1, 2021, 9:34 a.m. UTC
  From: Rasmus Villemoes <rv@rasmusvillemoes.dk>

A few things I hit when trying to upgrade our VxWorks5 toolchain. I
don't think these can break anything for VxWorks 6+, and patch 2
should be an improvement for all in that the current code doesn't get
compiled as it was clearly intended - though the real bug is likely in
gcc itself, it's easier to work around here by just removing the
declarations.

OK for master?


Rasmus Villemoes (4):
  libgcc: remove crt{begin,end}.o from powerpc-wrs-vxworks target
  libgcc: vxcrtstuff.c: remove ctor/dtor declarations
  libgcc: vxcrtstuff.c: make ctor/dtor functions static
  libgcc: vxcrtstuff.c: add a few undefs

 libgcc/config.host         |  1 -
 libgcc/config/vxcrtstuff.c | 21 +++++++++++++++------
 2 files changed, 15 insertions(+), 7 deletions(-)