This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

S/390: Define ASM_SPEC for TPF


Hello,

this adds the correct ASM_SPEC define to tpf.h to enable passing
relevant options through to the assembler.  The macro is defined
the same way as in linux.h.

This fixes problems on TFP when building with -march=z990,
reported by Jim Tison.

Applied to mainline, 4.0 branch and 3.4 branch.

Bye,
Ulrich

ChangeLog:

	* config/s390/tpf.h (ASM_SPEC): Define.

Index: gcc/config/s390/tpf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/tpf.h,v
retrieving revision 1.5
diff -c -p -r1.5 tpf.h
*** gcc/config/s390/tpf.h	23 Nov 2004 17:39:59 -0000	1.5
--- gcc/config/s390/tpf.h	8 Apr 2005 16:42:27 -0000
*************** Software Foundation, 59 Temple Place - S
*** 101,106 ****
--- 101,109 ----
  #undef CPLUSPLUS_CPP_SPEC
  #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
  
+ #undef  ASM_SPEC
+ #define ASM_SPEC "%{m31&m64}%{mesa&mzarch}%{march=*}"
+ 
  #undef  LIB_SPEC
  #define LIB_SPEC "%{pthread:-lpthread} -lc"
  
-- 
  Dr. Ulrich Weigand
  Linux on zSeries Development
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]