linux.h (CRIS_LINK_SUBTARGET_SPEC): Translate -B-options to -rpath-link.

* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC):
	Translate -B-options to -rpath-link.  Correct existing
	rpath-link and conditionalize on !nostdlib.

From-SVN: r144998
This commit is contained in:
Hans-Peter Nilsson 2009-03-22 15:15:04 +00:00 committed by Hans-Peter Nilsson
parent 78425caa1d
commit f82162f8a1
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-03-22 Hans-Peter Nilsson <hp@axis.com>
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC):
Translate -B-options to -rpath-link. Correct existing
rpath-link and conditionalize on !nostdlib.
2009-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/extend.texi (Function Attributes, Variable Attributes):

View File

@ -110,7 +110,8 @@ along with GCC; see the file COPYING3. If not see
#undef CRIS_LINK_SUBTARGET_SPEC
#define CRIS_LINK_SUBTARGET_SPEC \
"-mcrislinux\
-rpath-link include/asm/../..%s\
%{B*:-rpath-link %*}\
%{!nostdlib:-rpath-link ../sys-include/asm/../../lib%s}\
%{shared} %{static}\
%{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\
%{!shared:%{!static:\