This change reworks the VXWORKS_LINK_SPEC a bit to fix a couple of issues observed while working on improving the support for shared objects, in particular differences between vxworks 7 and earlier regarding the need to pass specific linker options.
It also introduces an internal VXWORKS_LINK_OS_SPEC to allow reuse of everything else by the powerpc-vxworks7 specific configuration. Tested as the previous patches in the current series. Best Regards, Olivier 2021-12-07 Doug Rupp <r...@adacore.com> Olivier Hainque <hain...@adacore.com> gcc/ * config/vxworks.h (VXWORKS_LINK_OS_SPEC): New spec. (VXWORKS_BASE_LINK_SPEC): New spec, using the former. (VXWORKS_EXTRA_LINK_SPEC): New spec for old and new VxWorks. (VXWORKS_LINK_SPEC): Combo of BASE and EXTRA specs. * config/rs6000/vxworks.h (VXWORKS_LINK_OS_SPEC): Empty. (LINK_OS_EXTRA_SPEC32): Use VXWORKS_LINK_SPEC. (LINK_OS_EXTRA_SPEC64): Likewise.
0009-Rework-VXWORKS_LINK_SPEC-for-shared-objects-support.patch
Description: Binary data