]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/config/sparc/linux.h
configure.in: Check whether gas supports -relax.
[gcc.git] / gcc / config / sparc / linux.h
index 75d09273e80e023b929ee84ee2d471b67a44d19d..b92ecd576312d51f308df6c8b871c2c589f91d5e 100644 (file)
@@ -179,6 +179,7 @@ Boston, MA 02111-1307, USA.  */
 #endif
 #else
 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
+  %{!mno-relax:%{!r:-relax}} \
   %{!shared: \
     %{!ibcs: \
       %{!static: \
@@ -191,7 +192,8 @@ Boston, MA 02111-1307, USA.  */
    It's safe to pass -s always, even if -g is not used. */
 #undef ASM_SPEC
 #define ASM_SPEC \
-  "%{V} %{v:%{!V:-V}} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC} %{fPIC:-K PIC}"
+  "%{V} %{v:%{!V:-V}} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC} \
+   %{fPIC:-K PIC} %(asm_relax)"
 
 /* Same as sparc.h */
 #undef DBX_REGISTER_NUMBER
This page took 0.028992 seconds and 5 git commands to generate.