The macro TARGET_VXWORKS7 is always defined (see vxworks-dummy.h).
Thus we need to test its value, not its definedness.
Fixes
aca124df (define NO_DOT_IN_LABEL only in vxworks6).
gcc/ChangeLog:
* config/vx-common.h: Test value of TARGET_VXWORKS7 rather
than definedness.
(cherry picked from commit
44d0243a247dd1280265c649dab26e9486ffa015)
/* ------------------------ Misc configuration bits ---------------------- */
-#ifndef TARGET_VXWORKS7
+#if !TARGET_VXWORKS7
/* VxWorks, prior to version 7, could not have dots in constructor
labels, because it used a mutant variation of collect2 that
generates C code instead of assembly. Thus each constructor label