freebsd-skq/contrib/binutils
jhibbits 96e9baf741 Add new PowerPC relocations to binutils
Summary:
LLVM/Clang generates relocations that our binutils doesn't understand, but newer
binutils does.  I got permission from the author of a series of patches to
relicense them as GPLv2 for use in FreeBSD.  The upstream git hashes are:

ac2df442ac7901f00af15b272fc48b594b433713
2b95367962dc14f69d3c338c4d54195266e2e169
102890f04c44b64cf5cef4588267dd9f24086ac7
b7fcf6f6bb53b5027e111107f5416769cb9a5798
1d483afedd5a628dc84fb58d1d570f79fdfbfa7b
90aecf7a80c1cefeb45fc10a6cd02c8338e34b4c
3a71aa26df2a372a58e9c11ef9ba51fd0e83320a
727fc41e077139570ea8b8ddfd6c546b2a55627c

With the import of clang 3.5, and a few backported patches, we should be able to
move powerpc and powerpc64 to clang-as-cc soon.

Test Plan: Passes make tinderbox, so no regressions.  Binaries built with clang
run on powerpc64.

Reviewers: #committers, dim

Reviewed By: dim

Differential Revision: https://reviews.freebsd.org/D1297

Obtained from:	Alan Modra, upstream binutils-gdb git
MFC after:	3 weeks
Relnotes:	yes
2014-12-12 03:58:51 +00:00
..
bfd Add new PowerPC relocations to binutils 2014-12-12 03:58:51 +00:00
binutils Improve support for XSAVE with debuggers. 2014-11-21 20:53:17 +00:00
config Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
etc Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
gas Fix mrc and mrc2 with APSR_nzcv. Binutils encodes it internally as 0 where 2014-12-07 21:47:19 +00:00
gprof Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
include Add new PowerPC relocations to binutils 2014-12-12 03:58:51 +00:00
ld Implement --no-fatal-warning for compatibility with newer ld 2014-11-29 11:50:19 +00:00
libiberty Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
opcodes Add support for the 'rdseed' instruction. 2014-05-18 03:57:54 +00:00
ChangeLog Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
config-ml.in Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
config.guess Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
config.rpath Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
config.sub Merging of projects/armv6, part 3 2012-08-15 03:21:56 +00:00
configure Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
configure.ac Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
FREEBSD-deletelist
FREEBSD-upgrade
FREEBSD-Xlist
install-sh Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
libtool.m4 Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ltgcc.m4 Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ltmain.sh Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ltoptions.m4 Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ltsugar.m4 Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ltversion.m4 Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
MAINTAINERS Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
Makefile.def Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
Makefile.in Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
Makefile.tpl Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
missing Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
mkinstalldirs Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
move-if-change Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
README
README-maintainer-mode
symlink-tree Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
ylwrap Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.