head	1.2;
access;
symbols
	RELENG_8_4:1.2.0.8
	RELENG_9_1_0_RELEASE:1.2
	RELENG_9_1:1.2.0.6
	RELENG_9_1_BP:1.2
	RELENG_8_3_0_RELEASE:1.1.1.5
	RELENG_8_3:1.1.1.5.0.42
	RELENG_8_3_BP:1.1.1.5
	RELENG_9_0_0_RELEASE:1.2
	RELENG_9_0:1.2.0.4
	RELENG_9_0_BP:1.2
	RELENG_9:1.2.0.2
	RELENG_9_BP:1.2
	RELENG_7_4_0_RELEASE:1.1.1.5
	RELENG_8_2_0_RELEASE:1.1.1.5
	RELENG_7_4:1.1.1.5.0.40
	RELENG_7_4_BP:1.1.1.5
	RELENG_8_2:1.1.1.5.0.38
	RELENG_8_2_BP:1.1.1.5
	RELENG_8_1_0_RELEASE:1.1.1.5
	RELENG_8_1:1.1.1.5.0.36
	RELENG_8_1_BP:1.1.1.5
	RELENG_7_3_0_RELEASE:1.1.1.5
	RELENG_7_3:1.1.1.5.0.34
	RELENG_7_3_BP:1.1.1.5
	RELENG_8_0_0_RELEASE:1.1.1.5
	RELENG_8_0:1.1.1.5.0.32
	RELENG_8_0_BP:1.1.1.5
	RELENG_8:1.1.1.5.0.30
	RELENG_8_BP:1.1.1.5
	RELENG_7_2_0_RELEASE:1.1.1.5
	RELENG_7_2:1.1.1.5.0.28
	RELENG_7_2_BP:1.1.1.5
	RELENG_7_1_0_RELEASE:1.1.1.5
	RELENG_6_4_0_RELEASE:1.1.1.5
	RELENG_7_1:1.1.1.5.0.26
	RELENG_7_1_BP:1.1.1.5
	RELENG_6_4:1.1.1.5.0.24
	RELENG_6_4_BP:1.1.1.5
	RELENG_7_0_0_RELEASE:1.1.1.5
	RELENG_6_3_0_RELEASE:1.1.1.5
	RELENG_7_0:1.1.1.5.0.22
	RELENG_7_0_BP:1.1.1.5
	RELENG_6_3:1.1.1.5.0.20
	RELENG_6_3_BP:1.1.1.5
	RELENG_7:1.1.1.5.0.18
	RELENG_7_BP:1.1.1.5
	RELENG_6_2_0_RELEASE:1.1.1.5
	RELENG_6_2:1.1.1.5.0.16
	RELENG_6_2_BP:1.1.1.5
	RELENG_5_5_0_RELEASE:1.1.1.5
	RELENG_5_5:1.1.1.5.0.14
	RELENG_5_5_BP:1.1.1.5
	RELENG_6_1_0_RELEASE:1.1.1.5
	RELENG_6_1:1.1.1.5.0.12
	RELENG_6_1_BP:1.1.1.5
	RELENG_6_0_0_RELEASE:1.1.1.5
	RELENG_6_0:1.1.1.5.0.10
	RELENG_6_0_BP:1.1.1.5
	RELENG_6:1.1.1.5.0.8
	RELENG_6_BP:1.1.1.5
	RELENG_5_4_0_RELEASE:1.1.1.5
	RELENG_5_4:1.1.1.5.0.6
	RELENG_5_4_BP:1.1.1.5
	RELENG_4_11_0_RELEASE:1.1.1.2.6.2
	RELENG_4_11:1.1.1.2.6.2.0.10
	RELENG_4_11_BP:1.1.1.2.6.2
	RELENG_5_3_0_RELEASE:1.1.1.5
	RELENG_5_3:1.1.1.5.0.4
	RELENG_5_3_BP:1.1.1.5
	RELENG_5:1.1.1.5.0.2
	RELENG_5_BP:1.1.1.5
	binutils_2_15_20040523:1.1.1.5
	RELENG_4_10_0_RELEASE:1.1.1.2.6.2
	RELENG_4_10:1.1.1.2.6.2.0.8
	RELENG_4_10_BP:1.1.1.2.6.2
	RELENG_5_2_1_RELEASE:1.1.1.4
	RELENG_5_2_0_RELEASE:1.1.1.4
	RELENG_5_2:1.1.1.4.0.6
	RELENG_5_2_BP:1.1.1.4
	RELENG_4_9_0_RELEASE:1.1.1.2.6.2
	RELENG_4_9:1.1.1.2.6.2.0.6
	RELENG_4_9_BP:1.1.1.2.6.2
	RELENG_5_1_0_RELEASE:1.1.1.4
	RELENG_5_1:1.1.1.4.0.4
	RELENG_5_1_BP:1.1.1.4
	RELENG_4_8_0_RELEASE:1.1.1.2.6.2
	RELENG_4_8:1.1.1.2.6.2.0.4
	RELENG_4_8_BP:1.1.1.2.6.2
	RELENG_5_0_0_RELEASE:1.1.1.4
	RELENG_5_0:1.1.1.4.0.2
	RELENG_5_0_BP:1.1.1.4
	binutils_2_13_2_20021127:1.1.1.4
	binutils_2_13_20021011:1.1.1.4
	RELENG_4_7_0_RELEASE:1.1.1.2.6.2
	RELENG_4_7:1.1.1.2.6.2.0.2
	RELENG_4_7_BP:1.1.1.2.6.2
	BEFORE_BU_2121__RELENG4:1.1.1.2.6.1
	binutils_2_12_20020720:1.1.1.4
	RELENG_4_6_2_RELEASE:1.1.1.2.6.1
	RELENG_4_6_1_RELEASE:1.1.1.2.6.1
	binutils_2_12_20020622:1.1.1.4
	RELENG_4_6_0_RELEASE:1.1.1.2.6.1
	RELENG_4_6:1.1.1.2.6.1.0.6
	RELENG_4_6_BP:1.1.1.2.6.1
	binutils_2_12_20020410:1.1.1.4
	BEFORE_BU_2_12:1.1.1.3
	binutils_2_12_anoncvs_20020320:1.1.1.4
	binutils_2_12_anoncvs_20020221:1.1.1.4
	RELENG_4_5_0_RELEASE:1.1.1.2.6.1
	binutils_anoncvs_20020127:1.1.1.4
	RELENG_4_5:1.1.1.2.6.1.0.4
	RELENG_4_5_BP:1.1.1.2.6.1
	binutils_2_11_cvs_20011031:1.1.1.3
	RELENG_4_4_0_RELEASE:1.1.1.2.6.1
	RELENG_4_4:1.1.1.2.6.1.0.2
	RELENG_4_4_BP:1.1.1.2.6.1
	BEFORE_BU_2112__RELENG4:1.1.1.2
	binutils_2_11_cvs_20010719:1.1.1.3
	binutils_2_11_2:1.1.1.3
	binutils_2_11_0:1.1.1.3
	BEFORE_BU_2110:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.2
	RELENG_4_3:1.1.1.2.0.8
	RELENG_4_3_BP:1.1.1.2
	RELENG_4_2_0_RELEASE:1.1.1.2
	binutils_2_10_1:1.1.1.2
	RELENG_4_1_1_RELEASE:1.1.1.2
	PRE_SMPNG:1.1.1.2
	RELENG_4_1_0_RELEASE:1.1.1.2
	RELENG_3_5_0_RELEASE:1.1.1.2
	binutils_2_10_0:1.1.1.2
	BEFORE_UPGRADING_2_9_1:1.1.1.2
	sourceware_binutils-2_10-branch_anoncvs_20000512:1.1.1.2
	RELENG_4_0_0_RELEASE:1.1.1.2
	RELENG_4:1.1.1.2.0.6
	RELENG_4_BP:1.1.1.2
	RELENG_3_4_0_RELEASE:1.1.1.2
	RELENG_3_3_0_RELEASE:1.1.1.2
	RELENG_3_2_PAO:1.1.1.2.0.4
	RELENG_3_2_PAO_BP:1.1.1.2
	RELENG_3_2_0_RELEASE:1.1.1.2
	RELENG_3_1_0_RELEASE:1.1.1.2
	RELENG_3:1.1.1.2.0.2
	RELENG_3_BP:1.1.1.2
	RELENG_3_0_0_RELEASE:1.1.1.2
	gnu_2_9_1:1.1.1.2
	gnu_2_8_1:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2011.02.18.20.54.12;	author dim;	state Exp;
branches
	1.2.8.1;
next	1.1;

1.1
date	98.03.01.22.56.35;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.2.8.1
date	2011.02.18.20.54.12;	author svnexp;	state dead;
branches;
next	1.2.8.2;

1.2.8.2
date	2013.03.28.13.00.27;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	98.03.01.22.56.35;	author jdp;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	98.09.06.22.56.53;	author jdp;	state Exp;
branches
	1.1.1.2.6.1;
next	1.1.1.3;

1.1.1.3
date	2001.05.28.05.19.44;	author obrien;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2002.01.27.11.57.29;	author obrien;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2004.06.16.05.44.01;	author obrien;	state Exp;
branches;
next	;

1.1.1.2.6.1
date	2001.08.01.23.02.22;	author obrien;	state Exp;
branches;
next	1.1.1.2.6.2;

1.1.1.2.6.2
date	2002.09.01.23.43.31;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@SVN rev 218822 on 2011-02-18 20:54:12Z by dim

Merge binutils 2.17.50 to head.  This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and
many other things.  Bump __FreeBSD_version, and add a note to UPDATING.

Thanks to the many people that have helped to test this.

Obtained from:	projects/binutils-2.17
@
text
@#!/bin/sh
# Create a symlink tree.
#
# Copyright (C) 1995, 2000, 2003  Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
#
# Please report bugs to <gcc-bugs@@gnu.org>
# and send patches to <gcc-patches@@gnu.org>.

# Syntax: symlink-tree srcdir "ignore1 ignore2 ..."
#
# where srcdir is the directory to create a symlink tree to,
# and "ignoreN" is a list of files/directories to ignore.

prog=$0
srcdir=$1
ignore="$2"

if test $# -lt 1; then
  echo "symlink-tree error:  Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
  exit 1
fi

ignore_additional=". .. CVS"

# If we were invoked with a relative path name, adjust ${prog} to work
# in subdirs.
case ${prog} in
/* | [A-Za-z]:[\\/]*) ;;
*) prog=../${prog} ;;
esac

# Set newsrcdir to something subdirectories can use.
case ${srcdir} in
/* | [A-Za-z]:[\\/]*) newsrcdir=${srcdir} ;;
*) newsrcdir=../${srcdir} ;;
esac

for f in `ls -a ${srcdir}`; do
  if [ -d ${srcdir}/$f ]; then
    found=
    for i in ${ignore} ${ignore_additional}; do
      if [ "$f" = "$i" ]; then
	found=yes
      fi
    done
    if [ -z "${found}" ]; then
      echo "$f		..working in"
      if [ -d $f ]; then true; else mkdir $f; fi
      (cd $f; ${prog} ${newsrcdir}/$f "${ignore}")
    fi
  else
    echo "$f		..linked"
    rm -f $f
    ln -s ${srcdir}/$f .
  fi
done

exit 0
@


1.2.8.1
log
@file symlink-tree was added on branch RELENG_8_4 on 2013-03-28 13:00:27 +0000
@
text
@d1 78
@


1.2.8.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 78
#!/bin/sh
# Create a symlink tree.
#
# Copyright (C) 1995, 2000, 2003  Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
#
# Please report bugs to <gcc-bugs@@gnu.org>
# and send patches to <gcc-patches@@gnu.org>.

# Syntax: symlink-tree srcdir "ignore1 ignore2 ..."
#
# where srcdir is the directory to create a symlink tree to,
# and "ignoreN" is a list of files/directories to ignore.

prog=$0
srcdir=$1
ignore="$2"

if test $# -lt 1; then
  echo "symlink-tree error:  Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
  exit 1
fi

ignore_additional=". .. CVS"

# If we were invoked with a relative path name, adjust ${prog} to work
# in subdirs.
case ${prog} in
/* | [A-Za-z]:[\\/]*) ;;
*) prog=../${prog} ;;
esac

# Set newsrcdir to something subdirectories can use.
case ${srcdir} in
/* | [A-Za-z]:[\\/]*) newsrcdir=${srcdir} ;;
*) newsrcdir=../${srcdir} ;;
esac

for f in `ls -a ${srcdir}`; do
  if [ -d ${srcdir}/$f ]; then
    found=
    for i in ${ignore} ${ignore_additional}; do
      if [ "$f" = "$i" ]; then
	found=yes
      fi
    done
    if [ -z "${found}" ]; then
      echo "$f		..working in"
      if [ -d $f ]; then true; else mkdir $f; fi
      (cd $f; ${prog} ${newsrcdir}/$f "${ignore}")
    fi
  else
    echo "$f		..linked"
    rm -f $f
    ln -s ${srcdir}/$f .
  fi
done

exit 0
@


1.1
log
@Initial revision
@
text
@d4 25
d38 5
d48 1
a48 1
/*) ;;
d54 1
a54 1
/*) newsrcdir=${srcdir} ;;
d67 1
d72 1
@


1.1.1.1
log
@Initial import of GNU binutils version 2.8.1.  Believe it or not,
this is heavily stripped down.
@
text
@@


1.1.1.2
log
@Import GNU binutils-2.9.1.  This will break things for a few minutes
until I've made the commits to resolve the conflicts.

Submitted by:	Doug Rabson <dfr>
@
text
@a36 1
      echo "$f		..working in"
a40 1
    echo "$f		..linked"
@


1.1.1.2.6.1
log
@MFC: update to Binutils 2.11.2.
@
text
@a12 5
if test $# -lt 1; then
  echo "symlink-tree error:  Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
  exit 1
fi

@


1.1.1.2.6.2
log
@Upgrade to binutils 2.12.1.
@
text
@d23 1
a23 1
/* | [A-Za-z]:[\\/]*) ;;
d29 1
a29 1
/* | [A-Za-z]:[\\/]*) newsrcdir=${srcdir} ;;
@


1.1.1.3
log
@Import of GNU Binutils version 2.11.0.
Believe it or not, this is heavily stripped down.
@
text
@a12 5
if test $# -lt 1; then
  echo "symlink-tree error:  Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
  exit 1
fi

@


1.1.1.4
log
@Enlist the FreeBSD-CURRENT users as testers of what is to become Binutils
version 2.12.0.  These bits are taken from the FSF anoncvs repo on
27-January-2002 03:41 PST.
@
text
@d23 1
a23 1
/* | [A-Za-z]:[\\/]*) ;;
d29 1
a29 1
/* | [A-Za-z]:[\\/]*) newsrcdir=${srcdir} ;;
@


1.1.1.5
log
@Import of Binutils from the FSF 2.15 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
@
text
@a3 25
# Copyright (C) 1995, 2000, 2003  Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
#
# Please report bugs to <gcc-bugs@@gnu.org>
# and send patches to <gcc-patches@@gnu.org>.

@


