This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

A patch for ASSEMBLER


> 
> >BTW, have you checked where ASSEMBLER/__ASSEMBLER__ was
> >defined before making those changes?
> 
> ASSEMBLER was defined by Makerules.  __ASSEMBLER__ is defined by gcc when
> processing .S files.  Try 'gcc -x assembler-with-cpp -dM /dev/null'.
> 
> zw
> 

How about this patch?

-- 
H.J. Lu (hjl@gnu.org)
--
Index: Makerules
===================================================================
RCS file: /home/work/cvs/gnu/glibc/Makerules,v
retrieving revision 1.1.1.39
diff -u -r1.1.1.39 Makerules
--- Makerules	1998/06/01 18:09:35	1.1.1.39
+++ Makerules	1998/06/01 21:50:29
@@ -290,9 +290,9 @@
 # GCC can grok options after the file name, and it looks nicer that way.
 compile.c = $(CC) $< -c $(CFLAGS) $(CPPFLAGS)
 compile.S = \
-  $(CC) $< -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS) $(ASFLAGS-$(suffix $@))
+  $(CC) $< -c $(CPPFLAGS) -D__ASSEMBLER__ $(asm-CPPFLAGS) $(ASFLAGS-$(suffix $@))
 COMPILE.S = \
-  $(CC) -c $(CPPFLAGS) -DASSEMBLER $(asm-CPPFLAGS) $(ASFLAGS-$(suffix $@))
+  $(CC) -c $(CPPFLAGS) -D__ASSEMBLER__ $(asm-CPPFLAGS) $(ASFLAGS-$(suffix $@))
 COMPILE.s = $(filter-out -pipe,$(CC)) -c $(ASFLAGS)
 
 # We need this for the output to go in the right place.  It will default to


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