Commit b464ba10 by Olivier Hainque Committed by Olivier Hainque

vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with libc_internal.

	* config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
	libc_internal.

From-SVN: r232164
parent 32a8c97f
2016-01-08 Olivier Hainque <hainque@adacore.com>
* config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
libc_internal.
2016-01-08 Alan Lawrence <alan.lawrence@arm.com> 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to... * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
......
...@@ -71,13 +71,13 @@ along with GCC; see the file COPYING3. If not see ...@@ -71,13 +71,13 @@ along with GCC; see the file COPYING3. If not see
%{mrtp:%{!shared:%{!non-static:-static} \ %{mrtp:%{!shared:%{!non-static:-static} \
%{non-static:--force-dynamic --export-dynamic}}}" %{non-static:--force-dynamic --export-dynamic}}}"
/* For VxWorks, the system provides libc_internal.a. This is a superset /* For VxWorks static rtps, the system provides libc_internal.a, a superset
of libgcc.a; we want to use it. Make sure not to dynamically export of libgcc.a that we want to use. Make sure not to dynamically export any
any of its symbols, though. Always look for libgcc.a first so that of its symbols, though, and always look for libgcc.a first so that we get
we get the latest versions of the GNU intrinsics during our builds. */ the latest versions of the GNU intrinsics during our builds. */
#undef VXWORKS_LIBGCC_SPEC #undef VXWORKS_LIBGCC_SPEC
#define VXWORKS_LIBGCC_SPEC \ #define VXWORKS_LIBGCC_SPEC \
"-lgcc %{mrtp:--exclude-libs=libc_internal,libgcc -lc_internal}" "-lgcc %{mrtp:%{!shared:--exclude-libs=libc_internal,libgcc -lc_internal}}"
#undef VXWORKS_STARTFILE_SPEC #undef VXWORKS_STARTFILE_SPEC
#define VXWORKS_STARTFILE_SPEC "%{mrtp:%{!shared:-l:crt0.o}}" #define VXWORKS_STARTFILE_SPEC "%{mrtp:%{!shared:-l:crt0.o}}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment