VxWorks config fixes for shared objects
authorFrederic Konrad <konrad@adacore.com>
Fri, 6 Nov 2020 18:42:27 +0000 (19:42 +0100)
committerOlivier Hainque <hainque@adacore.com>
Mon, 13 Dec 2021 18:02:22 +0000 (18:02 +0000)
commit0515c95d5fe0a865f688f3ab89572b917e8f0185
tree1a5442758d0231d537e89df5351e46c19872f025
parent0ecb48d753005405f84876ed3032c4cda789e072
VxWorks config fixes for shared objects

This strengthens the VxWorks configuration files for the support
of shared objects, which encompasses a VxWorks specific "non-static"
mode for RTPs (in addition to -static and -shared).

2020-11-06  Fred Konrad  <konrad@adacore.com>
    Olivier Hainque  <hainque@adacore.com>

gcc/
* config/vx-common.h: Define REAL_LIBGCC_SPEC since the
'-non-static' option is not standard.
* config/vxworks.h (VXWORKS_LIBGCC_SPEC): Implement the LIBGCC_SPEC
since REAL_LIBGCC_SPEC is used now.
(STARTFILE_PREFIX_SPEC): Use the PIC VSB when building shared libraries
or non-static binaries.
gcc/config/vx-common.h
gcc/config/vxworks.h