aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/Makefile.in2
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/Makefile.in7
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/Makefile.in2
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/Makefile.in2
8 files changed, 16 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c78126e..7578c46 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -6,6 +6,8 @@ Tue Dec 31 15:15:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
end-sanitize-v850
Tue Dec 31 14:44:50 1996 Ian Lance Taylor <ian@cygnus.com>
+ * 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 9b71906..2f2f75b 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 13a04f9..0ea4ba6 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 31 15:42:54 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
+
Fri Dec 27 11:19:26 1996 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Work around bug in AC_FUNC_VFORK in autoconf 2.12.
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 0623999..167f9e5 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 1d175e9..5b4fe16 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -8,6 +8,8 @@ Tue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
end-sanitize-v850
Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
+ * 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 b625d5a..afaa93e 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 026c5fe..f4d6a47 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
Tue Dec 31 14:48:30 1996 Ian Lance Taylor <ian@cygnus.com>
+ * 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 28b9839..9309c1d 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) $<