From: Ian Lance Taylor Date: Tue, 31 Dec 1996 20:43:28 +0000 (+0000) Subject: * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ded661565d1249128822ddfcf3232db8c8cdae2;p=binutils-gdb.git * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c78126efc12..7578c46e5a2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -6,6 +6,8 @@ Tue Dec 31 15:15:28 1996 Michael Meissner end-sanitize-v850 Tue Dec 31 14:44:50 1996 Ian Lance Taylor + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + * configure.in: Check ac_cv_func_mmap_fixed_mapped, not ac_cv_func_mmap. * configure: Rebuild. diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 9b719069694..2f2f75b82b2 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -458,7 +458,7 @@ FLAGS_TO_PASS = \ "INSTALL_DATA=$(INSTALL_DATA)" \ "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" -ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS) +ALL_CFLAGS=-D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS) .c.o: if [ -n "$(PICFLAG)" ]; then \ $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \ diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 13a04f93434..0ea4ba60b8a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +Tue Dec 31 15:42:54 1996 Ian Lance Taylor + + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + Fri Dec 27 11:19:26 1996 Ian Lance Taylor * configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12. diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 062399986b2..167f9e583dc 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -71,8 +71,7 @@ NM = $(NM_FOR_TARGET) SYMLINK = ln -s BISON = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi` -# Comment these out if using lex. -LEX_OPTIONS = -I -Cem +LEX_OPTIONS = LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi` # Distribution version @@ -126,7 +125,7 @@ INCDIR = $(BASEDIR)/include INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) DEP = mkdep -ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS) +ALL_CFLAGS = -D_GNU_SOURCE $(INCLUDES) @HDEFINES@ $(CFLAGS) HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h @@ -555,6 +554,7 @@ install: all k=`echo $$j | sed '$(program_transform_name)'`; \ ln $(bindir)/$$k $(tooldir)/bin/$$j >/dev/null 2>/dev/null \ || $(INSTALL_PROGRAM) $$i $(tooldir)/bin/$$j; \ + else true; \ fi; \ done @@ -577,7 +577,6 @@ clean-info: # Making a dist: # cvs rtag binutils-x-yy ld+utils # cvs co -r binutils-x-yy ld+utils -# Sanitize # cd {HERE}; make dist [-f Makefile.in] dist: $(DIST_NAME).tar.z diff --git a/gas/ChangeLog b/gas/ChangeLog index 1d175e9a4eb..5b4fe167bb4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -8,6 +8,8 @@ Tue Dec 31 15:12:35 1996 Michael Meissner end-sanitize-v850 Tue Dec 31 12:56:41 1996 Ian Lance Taylor + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + * config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and add segment argument. If OBJ_ELF, treat a relocation against a symbol in a linkonce section like a relocation against an external diff --git a/gas/Makefile.in b/gas/Makefile.in index b625d5af6b0..afaa93eeba2 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -227,7 +227,7 @@ stamp-mk.com: vmsconf.sh Makefile # Now figure out from those variables how to compile and link. # This is the variable actually used when we compile. -ALL_CFLAGS = $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES) +ALL_CFLAGS = -D_GNU_SOURCE $(INTERNAL_CFLAGS) $(CROSS) $(CFLAGS) $(HDEFINES) $(TDEFINES) # How to link with both our special library facilities # and the system's installed libraries. diff --git a/ld/ChangeLog b/ld/ChangeLog index 026c5fe1ec6..f4d6a476e8b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,7 @@ Tue Dec 31 14:48:30 1996 Ian Lance Taylor + * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE. + * ld.h (args_type): Add filter_shlib and auxiliary_filter_shlib fields. * lexsup.c (parse_args): Recognize --auxiliary/-f and diff --git a/ld/Makefile.in b/ld/Makefile.in index 28b98394db8..9309c1d6f7f 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -187,7 +187,7 @@ LINTFLAGS = $(INCLUDES) $(EXTRA_DEF) #.cc.o: # $(CXX) -c -I$(srcdir) $(CXXFLAGS) $(CFLAGS) $< -ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS) +ALL_CFLAGS = -D_GNU_SOURCE $(INCLUDES) @HDEFINES@ $(CFLAGS) .c.o: $(CC) -c $(ALL_CFLAGS) $<