diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d474caa89a64aaef076dd90c19429d83a4b4a2e1..e69810374f7757d8daa2477d901d55021b549b4f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-12-30 Doug Rupp <rupp@adacore.com> + + * config/rs6000/vxworks.h (STARTFILE_PREFIX_SPEC): Define. + 2019-12-30 Olivier Hainque <hainque@adacore.com> Jerome Lambourg <labourg@adacore.com> diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index dd9a6a2323931d5afa6c2ddeb147bbf79fc59719..4240dfff54817788099a4fab8a06fdbd1ca5d957 100644 --- a/gcc/config/rs6000/vxworks.h +++ b/gcc/config/rs6000/vxworks.h @@ -43,6 +43,13 @@ along with GCC; see the file COPYING3. If not see } \ while (0) +/* vx6 library path. */ +#if !TARGET_VXWORKS7 +#undef STARTFILE_PREFIX_SPEC +#define STARTFILE_PREFIX_SPEC \ + "%{mrtp:%{!shared:%:getenv(WIND_BASE /target/lib/usr/lib/ppc/PPC32/common)}}" +#endif + /* Only big endian PPC is supported by VxWorks. */ #undef BYTES_BIG_ENDIAN #define BYTES_BIG_ENDIAN 1