]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.in (needed-list): Target removed (not used in GCC 3.0 and later).
authorEli Zaretskii <eliz@gnu.org>
Sun, 26 Apr 2009 02:23:29 +0000 (02:23 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Sun, 26 Apr 2009 02:23:29 +0000 (22:23 -0400)
* Makefile.in (needed-list): Target removed (not used in GCC
3.0 and later).  All references deleted.
(mostlyclean): Remove references to needed.awk and needed2.awk.

From-SVN: r146793

libiberty/ChangeLog
libiberty/Makefile.in

index 3952b54adb8b1727ee1fd96e737e7e4b6e6e3998..2e93c985e7a3c93f3b8e777ae7639b1fa9f8079f 100644 (file)
@@ -1,3 +1,9 @@
+2009-04-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (needed-list): Target removed (not used in GCC
+       3.0 and later).  All references deleted.
+       (mostlyclean): Remove references to needed.awk and needed2.awk.
+
 2009-04-14  Eli Zaretskii  <eliz@gnu.org>
 
        * configure.ac  (setobjs, msdosdjgpp): Move a-priori setting of
index 29068ea87635cfbf9046ae47e466ea66c5514320..8a1009230cdf47f5bb9954f632c932f6830ea120 100644 (file)
@@ -100,7 +100,7 @@ FLAGS_TO_PASS = \
 SUBDIRS = testsuite
 
 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
-all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir
+all: stamp-picdir $(TARGETLIB) required-list all-subdir
        @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
 
 .PHONY: check installcheck
@@ -377,22 +377,6 @@ install_to_tooldir: all
        mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
        @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
 
-# needed-list is used by libstdc++.  NEEDED is the list of functions
-# to include there.  Do not add anything LGPL to this list; libstdc++
-# can't use anything encumbering.
-NEEDED = atexit calloc memchr memcmp memcpy memmove memset rename strchr \
-        strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf \
-        vfork waitpid bcmp bcopy bzero
-needed-list: Makefile
-       rm -f needed-list; touch needed-list; \
-       for f in $(NEEDED); do \
-         for g in $(LIBOBJS) $(EXTRA_OFILES); do \
-           case "$$g" in \
-             *$$f*) echo $$g >> needed-list ;; \
-           esac; \
-         done; \
-       done
-
 # required-list was used when building a shared bfd/opcodes/libiberty
 # library.  I don't know if it used by anything currently.
 required-list: Makefile
@@ -440,8 +424,8 @@ maint-deps :
 # multiple times, hence our explicit recursion with an empty SUBDIRS.
 mostlyclean: mostlyclean-subdir
        -rm -rf *.o pic core errs \#* *.E a.out
-       -rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
-       -rm -f $(CONFIG_H) $(NEEDED_LIST) stamp-picdir
+       -rm -f errors dummy config.h stamp-*
+       -rm -f $(CONFIG_H) stamp-picdir
        -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
        -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
        -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr