From: Andrew Crabtree Message-Id: <199805221653.AA239086024@typhoon.rose.hp.com> Subject: Re: gcc/gas label problem To: pavenis AT lanet DOT lv (Andris Pavenis) Date: Fri, 22 May 1998 9:53:44 PDT Cc: djgpp-workers AT delorie DOT com In-Reply-To: ; from "Andris Pavenis" at May 22, 98 11:02 am Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com Precedence: bulk > Maybe it's possible to get fixed binary of AS.EXE for DJGPP to build gcc-2.8.1 > and libraries without including unnecesarry info about local labels. I can put a fixed version of 2.9.1 as on the pgcc server if you guys want. The source changes are trivial. In gas/config apply the following. They are against 2.9.1 but they should apply on 2.8 fine as well. After talking to Ian it seems like we should try using the BFD assembler in stead of the multi-sections assembler. I am going to go back and rebuild gas and then test it with BFD now. Andy --- te-go32.h.orig Thu May 21 10:41:36 1998 +++ te-go32.h Thu May 21 15:45:14 1998 @@ -6,7 +6,7 @@ #define LOCAL_LABELS_FB 1 #define TARGET_FORMAT "coff-go32" - +#define TE_GO32 /* GAS should treat '.align value' as an alignment of 2**value */ #define USE_ALIGN_PTWO --- tc-i386.h.orig Thu May 21 10:41:26 1998 +++ tc-i386.h Thu May 21 16:50:14 1998 @@ -141,9 +141,11 @@ #ifndef BFD_ASSEMBLER #ifndef OBJ_AOUT #ifndef TE_PE +#ifndef TE_GO32 /* Local labels starts with .L */ #define LOCAL_LABEL(name) (name[0] == '.' \ && (name[1] == 'L' || name[1] == 'X' || name[1] == '.')) +#endif #endif #endif