Commit 469146c1 by Kaz Kojima

linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.

	* config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
	(LIB_SPEC): Set -lpthread always when -pthread set.  Set -lieee
	when -mieee-fp set and -shared not set.
	(SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.

From-SVN: r70112
parent 094838e2
2003-08-02 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/linux.h (SUBTARGET_LINK_SPEC): Don't set rpath.
(LIB_SPEC): Set -lpthread always when -pthread set. Set -lieee
when -mieee-fp set and -shared not set.
(SH_FALLBACK_FRAME_FLOAT_STATE): Don't define for SH5.
2003-08-02 Neil Booth <neil@daikokuya.co.uk> 2003-08-02 Neil Booth <neil@daikokuya.co.uk>
* cppfiles.c (struct _cpp_file): Rename once_only_next to * cppfiles.c (struct _cpp_file): Rename once_only_next to
......
...@@ -73,15 +73,16 @@ do { \ ...@@ -73,15 +73,16 @@ do { \
"%{shared:-shared} \ "%{shared:-shared} \
%{!static: \ %{!static: \
%{rdynamic:-export-dynamic} \ %{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \ %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
%{!rpath:-rpath /lib}} \
%{static:-static}" %{static:-static}"
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC \ #define LIB_SPEC \
"%{shared: -lc} \ "%{pthread:-lpthread} \
%{shared: -lc} \
%{!static:-rpath-link %R/lib:%R/usr/lib} \ %{!static:-rpath-link %R/lib:%R/usr/lib} \
%{!shared: %{pthread:-lthread} \ %{!shared: \
%{mieee-fp:-lieee} \
%{profile:-lc_p} %{!profile: -lc}}" %{profile:-lc_p} %{!profile: -lc}}"
#if defined(HAVE_LD_EH_FRAME_HDR) #if defined(HAVE_LD_EH_FRAME_HDR)
...@@ -170,11 +171,11 @@ do { \ ...@@ -170,11 +171,11 @@ do { \
#define SH_DWARF_FRAME_FPSCR 24 #define SH_DWARF_FRAME_FPSCR 24
#endif /* defined (__SH5__) */ #endif /* defined (__SH5__) */
#if defined (__SH5__) && __SH5__ != 32 #if defined (__SH5__)
/* MD_FALLBACK_FRAME_STATE_FOR is not yet defined for SHMEDIA. */ /* MD_FALLBACK_FRAME_STATE_FOR is not yet defined for SHMEDIA. */
#else /* defined (__SH5__) && __SH5__ != 32 */ #else /* defined (__SH5__) */
#if defined (__SH3E__) || defined (__SH4__) || defined (__SH5__) #if defined (__SH3E__) || defined (__SH4__)
#define SH_FALLBACK_FRAME_FLOAT_STATE(SC, FS, CFA) \ #define SH_FALLBACK_FRAME_FLOAT_STATE(SC, FS, CFA) \
do { \ do { \
int i_, r_; \ int i_, r_; \
...@@ -274,5 +275,5 @@ do { \ ...@@ -274,5 +275,5 @@ do { \
goto SUCCESS; \ goto SUCCESS; \
} while (0) } while (0)
#endif /* defined (__SH5__) && __SH5__ != 32 */ #endif /* defined (__SH5__) */
#endif /* IN_LIBGCC2 */ #endif /* IN_LIBGCC2 */
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