Permalink
Browse files

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.
  • Loading branch information...
jrmarino committed Nov 26, 2011
0 parents commit 86d7f5d305c6adaa56ff4582ece9859d73106103
Showing 31,945 changed files with 14,167,561 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -0,0 +1,16 @@
+*.[1-9].gz
+*.[psS]o
+*.a
+*.bak
+*.core
+*.diff
+*.o
+*.old
+*.orig
+*.patch
+*.rej
+*.swap
+*~
+.*.sw[po]
+.sw[po]
+cscope.*
156 COPYRIGHT
@@ -0,0 +1,156 @@
+# $FreeBSD: src/COPYRIGHT,v 1.4 1999/09/05 21:33:47 obrien Exp $
+# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94
+
+Authors of new code wishing specific recognition are encouraged to use the
+DragonFly copyright with the following paragraph inserting just after the
+Copyright line. Multiple authors should simply append their names to the
+[pre-existing] paragraph:
+
+ This code is derived from software contributed to The DragonFly Project
+ by Author Name <author@email.address>
+
+--
+
+The software known as "DragonFly" or "DragonFly BSD" is distributed under
+the following terms:
+
+Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ The DragonFly Project. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+3. Neither the name of The DragonFly Project nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific, prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+--
+
+Additional license files for vendor supplied firmwares can be found in
+/usr/share/doc/legal.
+
+--
+
+The 4.4BSD and 4.4BSD-Lite software is distributed under the following
+terms:
+
+All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite
+Releases is copyrighted by The Regents of the University of California.
+
+Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
+ The Regents of the University of California. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. All advertising materials mentioning features or use of this software
+ must display the following acknowledgement:
+This product includes software developed by the University of
+California, Berkeley and its contributors.
+4. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+--
+
+The Institute of Electrical and Electronics Engineers and the American
+National Standards Committee X3, on Information Processing Systems have
+given us permission to reprint portions of their documentation.
+
+In the following statement, the phrase ``this text'' refers to portions
+of the system documentation.
+
+Portions of this text are reprinted and reproduced in electronic form in
+the second BSD Networking Software Release, from IEEE Std 1003.1-1988, IEEE
+Standard Portable Operating System Interface for Computer Environments
+(POSIX), copyright C 1988 by the Institute of Electrical and Electronics
+Engineers, Inc. In the event of any discrepancy between these versions
+and the original IEEE Standard, the original IEEE Standard is the referee
+document.
+
+In the following statement, the phrase ``This material'' refers to portions
+of the system documentation.
+
+This material is reproduced with permission from American National
+Standards Committee X3, on Information Processing Systems. Computer and
+Business Equipment Manufacturers Association (CBEMA), 311 First St., NW,
+Suite 500, Washington, DC 20001-2178. The developmental work of
+Programming Language C was completed by the X3J11 Technical Committee.
+
+The views and conclusions contained in the software and documentation are
+those of the authors and should not be interpreted as representing official
+policies, either expressed or implied, of the Regents of the University
+of California.
+
+--
+
+NOTE: The copyright of UC Berkeley's Berkeley Software Distribution ("BSD")
+source has been updated. The copyright addendum may be found at
+ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change and is
+included below.
+
+July 22, 1999
+
+To All Licensees, Distributors of Any Version of BSD:
+
+As you know, certain of the Berkeley Software Distribution ("BSD") source
+code files require that further distributions of products containing all or
+portions of the software, acknowledge within their advertising materials
+that such products contain software developed by UC Berkeley and its
+contributors.
+
+Specifically, the provision reads:
+
+" * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors."
+
+Effective immediately, licensees and distributors are no longer required to
+include the acknowledgement within advertising materials. Accordingly, the
+foregoing paragraph of those BSD Unix files containing it is hereby deleted
+in its entirety.
+
+William Hoskins
+Director, Office of Technology Licensing
+University of California, Berkeley
+
+--
+
187 Makefile
@@ -0,0 +1,187 @@
+#
+# $FreeBSD: src/Makefile,v 1.234.2.19 2003/04/16 09:59:40 ru Exp $
+# $DragonFly: src/Makefile,v 1.25 2008/07/14 03:49:58 dillon Exp $
+#
+# The user-driven targets are:
+#
+# buildworld - Rebuild *everything*, including glue to help do
+# upgrades.
+# quickworld - Skip bootstrap, build and cross-build tool steps
+# realquickworld - Skip above steps, plus depend
+# crossworld - Just do the bootstrap, build, and cross-build steps
+# installworld - Install everything built by "buildworld".
+# world - buildworld + installworld.
+# buildkernel - Rebuild the kernel and the kernel-modules from scratch
+# using build/bootstrap/cross tools from the last
+# buildworld.
+# nativekernel - Rebuild the kernel and the kernel-modules from scratch
+# using native tools.
+# quickkernel - rebuild the kernel quickly (build or native), skip
+# the make depend step and do not clean out the obj
+# modules.
+# installkernel - Install the kernel and the kernel-modules.
+# reinstallkernel - Reinstall the kernel and the kernel-modules.
+# kernel - buildkernel + installkernel.
+# preupgrade - Certain upgrades may have to be done before installworld.
+# installworld will complain if they have not been done. This
+# target will do those upgrades... typically the addition of
+# new special groups and users used by installed utilities.
+# upgrade - Upgrade the files in /etc and also setup the rest
+# of the system for DragonFly. ex. two compilers
+# most - Build user commands, no libraries or include files.
+# installmost - Install user commands, no libraries or include files.
+#
+# This makefile is simple by design. The DragonFly make automatically reads
+# /usr/share/mk/sys.mk unless the -m argument is specified on the
+# command line. By keeping this makefile simple, it doesn't matter too
+# much how different the installed mk files are from those in the source
+# tree. This makefile executes a child make process, forcing it to use
+# the mk files from the source tree which are supposed to DTRT.
+#
+# The user-driven targets (as listed above) are implemented in Makefile.inc1.
+#
+# If you want to build your system from source be sure that /usr/obj has
+# at least 800MB of diskspace available.
+#
+# For individuals wanting to build from the sources currently on their
+# system, the simple instructions are:
+#
+# 1. `cd /usr/src' (or to the directory containing your source tree).
+# 2. `make world'
+#
+# For individuals wanting to upgrade their sources (even if only a
+# delta of a few days):
+#
+# 1. `cd /usr/src' (or to the directory containing your source tree).
+# 2. `make buildworld'
+# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
+# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
+# 5. `make installworld'
+# 6. `make upgrade'
+# 7. `reboot'
+#
+# See src/UPDATING `COMMON ITEMS' for more complete information.
+#
+# If TARGET_ARCH=arch (e.g. x86_64) is specified you can
+# cross build world for other architectures using the buildworld target,
+# and once the world is built you can cross build a kernel using the
+# buildkernel target.
+#
+# Define the user-driven targets. These are listed here in alphabetical
+# order, but that's not important.
+#
+TGTS= all all-man buildkernel quickkernel nativekernel \
+ buildworld crossworld quickworld realquickworld checkdpadd clean \
+ cleandepend cleandir depend everything \
+ hierarchy install installcheck installkernel \
+ reinstallkernel installmost installworld libraries lint maninstall \
+ manlint mk most obj objlink regress rerelease tags \
+ _obj _includes _libraries _depend _worldtmp \
+ _bootstrap-tools _obj _build-tools _cross-tools
+
+BITGTS= files includes
+BITGTS:=${BITGTS} ${BITGTS:S/^/build/} ${BITGTS:S/^/install/}
+
+.ORDER: buildworld installworld
+.ORDER: buildworld buildkernel
+.ORDER: buildworld nativekernel
+.ORDER: buildworld quickkernel
+.ORDER: buildkernel installkernel
+.ORDER: buildkernel reinstallkernel
+.ORDER: quickworld installworld
+.ORDER: quickworld buildkernel
+.ORDER: quickworld nativekernel
+.ORDER: quickworld quickkernel
+.ORDER: quickkernel installkernel
+.ORDER: quickkernel reinstallkernel
+
+PATH= /sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin
+MAKE= PATH=${PATH} make -m ${.CURDIR}/share/mk -f Makefile.inc1
+
+#
+# Handle the user-driven targets, using the source relative mk files.
+#
+${TGTS} ${BITGTS}:
+ @cd ${.CURDIR}; \
+ ${MAKE} ${.TARGET}
+
+# Set a reasonable default
+.MAIN: all
+
+STARTTIME!= LC_ALL=C date
+#
+# world
+#
+# Attempt to rebuild and reinstall *everything*, with reasonable chance of
+# success, regardless of how old your existing system is.
+#
+world:
+ @echo "--------------------------------------------------------------"
+ @echo ">>> elf make world started on ${STARTTIME}"
+ @echo "--------------------------------------------------------------"
+.if target(pre-world)
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo ">>> Making 'pre-world' target"
+ @echo "--------------------------------------------------------------"
+ @cd ${.CURDIR}; ${MAKE} pre-world
+.endif
+ @cd ${.CURDIR}; ${MAKE} buildworld
+ @cd ${.CURDIR}; ${MAKE} -B installworld
+.if target(post-world)
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo ">>> Making 'post-world' target"
+ @echo "--------------------------------------------------------------"
+ @cd ${.CURDIR}; ${MAKE} post-world
+.endif
+ @echo
+ @echo "--------------------------------------------------------------"
+ @printf ">>> elf make world completed on `LC_ALL=C date`\n (started ${STARTTIME})\n"
+ @echo "--------------------------------------------------------------"
+
+#
+# kernel
+#
+# Short hand for `make buildkernel installkernel'
+#
+kernel: buildkernel installkernel
+
+#
+# A simple test target used as part of the test to see if make supports
+# the -m argument. Also test that make will only evaluate a conditional
+# as far as is necessary to determine its value.
+#
+test:
+.if defined(notdef)
+.undef notdef
+.if defined(notdef) && ${notdef:U}
+.endif
+.endif
+
+#
+# Upgrade the installed make to the current version using the installed
+# headers, libraries and build tools. This is required on installed versions
+# prior to 2.2.5 in which the installed make doesn't support the -m argument.
+#
+make:
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo " Upgrading the installed make"
+ @echo "--------------------------------------------------------------"
+ @cd ${.CURDIR}/usr.bin/make; \
+ make obj && make depend && make all && make install
+
+#
+# Handle the upgrade of /etc, post-installworld updating of static files
+# and removing obsolete files.
+#
+
+preupgrade:
+ @cd ${.CURDIR}/etc; make -m ${.CURDIR}/share/mk preupgrade
+
+upgrade:
+ @cd ${.CURDIR}/etc; make -m ${.CURDIR}/share/mk upgrade_etc
+.if !defined(NOMAN) && !defined(NO_MAKEDB_RUN)
+ cd ${.CURDIR}/share/man; make makedb
+.endif
Oops, something went wrong.

0 comments on commit 86d7f5d

Please sign in to comment.