This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch for cross compiler cygwin -> sh
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Subject: patch for cross compiler cygwin -> sh
- From: "Schirmer, Hartmut" <SchirmerH at Innovative-Systems dot de>
- Date: Tue, 29 May 2001 09:57:26 +0200
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. */