freebsd-dev/contrib/binutils
Marius Strobl 2ce641c5c4 * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt
for regular symbols neither defined nor referenced in shared objects.

This is a backport of rev. 1.101 (sourceware.org repository) to
Binutils 2.15 which fixes the creation of bogus relocations in the
PLT of Firefox and Thunderbird binaries and which in turn caused
them to segfault in rtld(1). This is committed to the vendor branch
as it doesn't represent a local change but the original vendor fix
is from after elf_link_hash_flags was replaced with bitfields.

PR:		sparc64/89486
Approved by:	maintainer timeout
Obtained from:	NetBSD
MFC after:	1 week
2006-06-08 13:10:51 +00:00
..
bfd * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a 2006-06-08 13:10:51 +00:00
binutils Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
config Import of Binutils from the FSF 2.13 branch (just pre-.1 release). 2002-10-11 06:01:20 +00:00
contrib Import of Binutils from the FSF 2.13 branch (just pre-.1 release). 2002-10-11 06:01:20 +00:00
etc Import of Binutils from the FSF 2.13 branch (just pre-.2 release). 2002-12-02 09:06:04 +00:00
gas Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
gprof/po Import of Binutils from the FSF 2.13 branch (just pre-.2 release). 2002-12-02 09:06:04 +00:00
include Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-07-06 19:16:23 +00:00
ld Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-07-06 19:16:23 +00:00
libiberty Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
opcodes Fix bogus fmov* SPARC opcodes. 2005-07-07 22:06:54 +00:00
ChangeLog Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
config-ml.in Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
config.guess Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
config.if Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
config.sub Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
configure Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
configure.in Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
install-sh Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
install.sh Initial import of GNU binutils version 2.8.1. Believe it or not, 1998-03-01 22:58:51 +00:00
libtool.m4 Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
ltcf-c.sh Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
ltcf-cxx.sh Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
ltcf-gcj.sh Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
ltconfig Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
ltmain.sh Import of Binutils from the FSF 2.13 branch (just pre-.1 release). 2002-10-11 06:01:20 +00:00
MAINTAINERS Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
Makefile.def Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
Makefile.in Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
Makefile.tpl Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
md5.sum Import of GNU Binutils version 2.11.2. 2001-06-26 16:57:43 +00:00
missing Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
mkinstalldirs Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
move-if-change Import of Binutils 2.10 snapshot. 2000-05-12 23:15:20 +00:00
README Import GNU binutils-2.9.1. This will break things for a few minutes 1998-09-06 22:57:45 +00:00
README-maintainer-mode Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
symlink-tree Import of Binutils from the FSF 2.15 branch (just post-.0 release). 2004-06-16 05:45:41 +00:00
ylwrap Import of Binutils 2.10 snapshot. 2000-05-12 23:15:20 +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.