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]

[PATCH]: Fix PR target/15384 pb in t-m68hc11-gas when compiling forHC11/HC12


Hi!

I've committed this patch on 3_3, 3_4 and main.  The problem was lying
arround since the beginning I think (2.95/3.0).  The side effect was a
bigger libgcc (due to miss-configuration).

Stephane

2005-01-28 Stephane Carrez <stcarrez@nerim.fr>

	PR target/15384
	* config/m68hc11/t-m68hc11-gas (dp-bit.c): Fix typo causing a
	configuration part of dp-bit.c to be lost.
Index: config/m68hc11/t-m68hc11-gas
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/m68hc11/t-m68hc11-gas,v
retrieving revision 1.12
diff -u -p -r1.12 t-m68hc11-gas
--- config/m68hc11/t-m68hc11-gas	14 Oct 2003 19:07:12 -0000	1.12
+++ config/m68hc11/t-m68hc11-gas	28 Jan 2005 22:08:50 -0000
@@ -27,7 +27,7 @@ LIB1ASMFUNCS = _mulsi3 \
 	_ashrhi3 _lshrhi3 _lshlhi3 _ashrqi3 _lshlqi3 _map_data _init_bss \
 	_ctor _dtor _far_tramp _call_far _return_far
 
-TARGET_LIBGCC2_CFLAGS = -DUSE_GAS -DIN_GCC
+TARGET_LIBGCC2_CFLAGS = -DUSE_GAS -DIN_GCC -Dinhibit_libc
 
 # C implementation of 32-bit div/mod.
 LIB2FUNCS_EXTRA = $(srcdir)/config/udivmodsi4.c \
@@ -53,7 +53,7 @@ DPBIT = dp-bit.c
 dp-bit.c: $(srcdir)/config/fp-bit.c
 	echo '#define SMALL_MACHINE' >> dp-bit.c
 	echo '#define CMPtype HItype' >> dp-bit.c
-	echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
+	echo '#ifdef __LITTLE_ENDIAN__' >> dp-bit.c
 	echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
 	echo '#endif' 		>> dp-bit.c
 	cat $(srcdir)/config/fp-bit.c >> dp-bit.c

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