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]

patch for cross compiler cygwin -> sh


Hi,

building a cross compiler for cygwin fails.
gas from 2.10.1 fails on a .ident line because
of an additional linefeed

with this patch the build succeded:

Reading specs from ../lib/gcc-lib/sh-hitachi-coff/3.0/specs
Configured with: ../gcc-20010514/configure --verbose
--target=sh-hitachi-coff --prefix=/gcc-3.0-sh --host=i586-pc-cygwin32
--enable-haifa
Thread model: single
gcc version 3.0 20010514 (prerelease)

Hartmut

*** sh.h.orig	Tue May 29 07:51:03 2001
--- sh.h	Tue May 29 06:47:28 2001
***************
*** 1865,1871 ****
  #define ASM_APP_ON  		""
  #define ASM_APP_OFF  		""
  #define FILE_ASM_OP 		"\t.file\n"
! #define IDENT_ASM_OP 		"\t.ident\n"
  #define SET_ASM_OP		"\t.set\t"
  
  /* How to change between sections.  */
--- 1865,1871 ----
  #define ASM_APP_ON  		""
  #define ASM_APP_OFF  		""
  #define FILE_ASM_OP 		"\t.file\n"
! #define IDENT_ASM_OP 		"\t.ident\t"
  #define SET_ASM_OP		"\t.set\t"
  
  /* How to change between sections.  */


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