define NO_DOT_IN_LABEL only in vxworks6
authorAlexandre Oliva <oliva@adacore.com>
Thu, 27 Feb 2020 16:34:47 +0000 (13:34 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 27 Feb 2020 16:35:43 +0000 (13:35 -0300)
commitaca124df6687f2b0b3d18c53ac64df25806bbef6
tree23626bd8b9a407abaf26e23064840a41480d762c
parent46788c65f93c61a06764b284b4656dd9024e88d2
define NO_DOT_IN_LABEL only in vxworks6

There was a mistake in forward-porting and contributing some
vxworks7r2 changes, that caused a conditional to be dropped around a
couple of preprocessor directives, needed only up to vxworks6, that
change the compiler's behavior WRT introducing dollars and dots in
symbol names.

This deviates GCC's behavior from the native system compiler, in a way
that appears to have ABI implications, so we'd like to correct that,
even at this late stage in the development cycle.

for  gcc/ChangeLog

* config/vx-common.h (NO_DOLLAR_IN_LABEL, NO_DOT_IN_LABEL): Leave
them alone on vx7.
gcc/ChangeLog
gcc/config/vx-common.h