• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisione0e87b8c940625b72988c476f1dd36a33e64bfa6 (tree)
Time2006-11-13 18:59:52
AuthorNathan Sidwell <nathan@code...>
CommiterNathan Sidwell

Log Message

binutils/
* Makefile.am (TOOL_PROGS): Set from @TOOL_PROGS@.
(install-exec-local): Protect against TOOL_PROGS being empty.
* configure.in (TOOL_PROGS): New, set it appropriately.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

Change Summary

Incremental Difference

--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,5 +1,15 @@
1+2006-11-10 Nathan Sidwell <nathan@codesourcery.com>
2+
3+ binutils/
4+ * Makefile.am (TOOL_PROGS): Set from @TOOL_PROGS@.
5+ (install-exec-local): Protect against TOOL_PROGS being empty.
6+ * configure.in (TOOL_PROGS): New, set it appropriately.
7+ * Makefile.in: Rebuilt.
8+ * configure: Rebuilt.
9+
110 2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
211
12+ libiberty/
313 * pex-win32.c (no_suffixes): Remove.
414 (std_suffixes): Add "" as first element.
515 (find_executable): Remove detection of already-present
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -64,7 +64,7 @@ noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
6464 EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
6565
6666 # Stuff that goes in tooldir/ if appropriate.
67-TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump
67+TOOL_PROGS = @TOOL_PROGS@
6868
6969 BASEDIR = $(srcdir)/..
7070 BFDDIR = $(BASEDIR)/bfd
@@ -390,8 +390,8 @@ install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
390390 else :; fi; \
391391 done
392392 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
393- for i in $(TOOL_PROGS); do \
394- if [ -f $$i$(EXEEXT) ]; then \
393+ for i in . $(TOOL_PROGS); do \
394+ if [ $$i != . ] && [ -f $$i$(EXEEXT) ]; then \
395395 j=`echo $$i | sed -e 's/-new//'`; \
396396 k=`echo $$j | sed '$(transform)'`; \
397397 if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -396,7 +396,7 @@ SRCONV_PROG = srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
396396 PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
397397
398398 # Stuff that goes in tooldir/ if appropriate.
399-TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump
399+TOOL_PROGS = @TOOL_PROGS@
400400 BASEDIR = $(srcdir)/..
401401 BFDDIR = $(BASEDIR)/bfd
402402 INCDIR = $(BASEDIR)/include
@@ -1142,8 +1142,8 @@ install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
11421142 else :; fi; \
11431143 done
11441144 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
1145- for i in $(TOOL_PROGS); do \
1146- if [ -f $$i$(EXEEXT) ]; then \
1145+ for i in . $(TOOL_PROGS); do \
1146+ if [ $$i != . ] && [ -f $$i$(EXEEXT) ]; then \
11471147 j=`echo $$i | sed -e 's/-new//'`; \
11481148 k=`echo $$j | sed '$(transform)'`; \
11491149 if [ "$(bindir)/$$k" != "$(tooldir)/bin/$$j" ]; then \
--- a/binutils/configure
+++ b/binutils/configure
@@ -309,7 +309,7 @@ ac_includes_default="\
309309 # include <unistd.h>
310310 #endif"
311311
312-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL REPORT_BUGS_TO WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES AR CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_DLLWRAP BUILD_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
312+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL REPORT_BUGS_TO WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES AR CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_DLLWRAP BUILD_MISC OBJDUMP_DEFS TOOL_PROGS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
313313 ac_subst_files=''
314314
315315 # Initialize some variables set by options.
@@ -10689,6 +10689,7 @@ BUILD_WINDRES=
1068910689 BUILD_DLLWRAP=
1069010690 BUILD_MISC=
1069110691 OBJDUMP_DEFS=
10692+TOOL_PROGS="nm-new strip-new ar ranlib dlltool objdump"
1069210693
1069310694 for targ in $target $canon_targets
1069410695 do
@@ -10697,6 +10698,7 @@ do
1069710698 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
1069810699 BUILD_SRCONV='$(SRCONV_PROG)'
1069910700 NLMCONV_DEFS="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
10701+ TOOL_PROGS="$TOOL_PROGS objcopy"
1070010702 else
1070110703 case $targ in
1070210704 i[3-7]86*-*-netware*)
@@ -10775,6 +10777,11 @@ do
1077510777 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
1077610778 ;;
1077710779 esac
10780+ case $targ in
10781+ *-uclinux)
10782+ TOOL_PROGS="$TOOL_PROGS objcopy"
10783+ ;;
10784+ esac
1077810785 fi
1077910786 done
1078010787
@@ -10782,6 +10789,10 @@ if test "${with_windres+set}" = set; then
1078210789 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
1078310790 fi
1078410791
10792+# Remove duplicates from TOOL_PROGS
10793+TOOL_PROGS="`echo $TOOL_PROGS | tr ' ' '\n' | sort -u | tr '\n' ' '`"
10794+
10795+
1078510796
1078610797
1078710798
@@ -11586,6 +11597,7 @@ s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
1158611597 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
1158711598 s,@BUILD_MISC@,$BUILD_MISC,;t t
1158811599 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
11600+s,@TOOL_PROGS@,$TOOL_PROGS,;t t
1158911601 s,@EMULATION@,$EMULATION,;t t
1159011602 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
1159111603 s,@datarootdir@,$datarootdir,;t t
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -216,6 +216,7 @@ BUILD_WINDRES=
216216 BUILD_DLLWRAP=
217217 BUILD_MISC=
218218 OBJDUMP_DEFS=
219+TOOL_PROGS="nm-new strip-new ar ranlib dlltool objdump"
219220
220221 for targ in $target $canon_targets
221222 do
@@ -224,6 +225,7 @@ do
224225 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
225226 BUILD_SRCONV='$(SRCONV_PROG)'
226227 NLMCONV_DEFS="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
228+ TOOL_PROGS="$TOOL_PROGS objcopy"
227229 else
228230 case $targ in
229231 changequote(,)dnl
@@ -310,6 +312,11 @@ changequote([,])dnl
310312 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
311313 ;;
312314 esac
315+ case $targ in
316+ *-uclinux)
317+ TOOL_PROGS="$TOOL_PROGS objcopy"
318+ ;;
319+ esac
313320 fi
314321 done
315322
@@ -317,6 +324,9 @@ if test "${with_windres+set}" = set; then
317324 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
318325 fi
319326
327+# Remove duplicates from TOOL_PROGS
328+TOOL_PROGS="`echo $TOOL_PROGS | tr ' ' '\012' | sort -u | tr '\012' ' '`"
329+
320330 AC_SUBST(NLMCONV_DEFS)
321331 AC_SUBST(BUILD_NLMCONV)
322332 AC_SUBST(BUILD_SRCONV)
@@ -326,6 +336,7 @@ AC_SUBST(BUILD_WINDRES)
326336 AC_SUBST(BUILD_DLLWRAP)
327337 AC_SUBST(BUILD_MISC)
328338 AC_SUBST(OBJDUMP_DEFS)
339+AC_SUBST(TOOL_PROGS)
329340
330341 AC_DEFINE_UNQUOTED(TARGET, "${target}", [Configured target name.])
331342