Go to file
Alan Modra 411e1bfb66 * reloc.c: Add PPC and PPC64 TLS relocs.
* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.
	* elf64-ppc.c (TP_OFFSET, DTP_OFFSET): Declare.
	(ppc64_elf_howto_raw): Add TLS howto's.  Adjust R_PPC64_NONE to be
	against a 32 bit field.
	(ppc64_elf_reloc_type_lookup): Handle TLS relocs.
	(_ppc64_elf_section_data): Add t_symndx and comments.
	(ppc64_elf_section_data): Use elf_section_data macro.
	(ppc64_elf_new_section_hook): American spelling.
	(struct got_entry, struct plt_entry): New.
	(MUST_BE_DYN_RELOC): Rename from IS_ABSOLUTE_RELOC.
	(struct ppc_stub_hash_entry): Add "addend" field.
	(struct ppc_link_hash_entry): Add "tls_type".
	(TLS_TLS, TLS_GD_LD, TLS_LD, TLS_TPREL, TLS_DTPREL,
	TLS_EXPLICIT): Define.
	(struct ppc_link_hash_table): Add tls_sec, tls_get_addr, tlsld_got.
	(link_hash_newfunc): Init new fields.
	(ppc64_elf_link_hash_table_create): Likewise.  Set init_relcount and
	init_offset to NULL.
	(ppc64_elf_copy_indirect_symbol): Copy got and plt info.  Don't call
	_bfd_elf_link_hash_copy_indirect, rather insert relevant code from
	there.
	(update_local_sym_info, update_plt_info): New functions.
	(ppc64_elf_check_relocs): Use them.  Handle TLS relocs.  Adjust GOT
	handling to use got.glist rather than got.refcount.  Likewise for PLT.
	(ppc64_elf_gc_sweep_hook): Handle TLS relocs, new GOT and PLT lists.
	(func_desc_adjust): Adjust for new PLT list.
	(ppc64_elf_adjust_dynamic_symbol): Likewise.
	(get_sym_h, get_tls_type): New functions.
	(ppc64_elf_edit_opd): Remove unused variable.  Use get_sym_h.
	(ppc64_elf_tls_optimize): New function.
	(allocate_dynrelocs): Adjust for new PLT and GOT lists.  Allocate
	TLS relocs.
	(ppc64_elf_size_dynamic_sections): Likewise.
	(ppc_type_of_stub): Adjust for new PLT list.
	(ppc_build_one_stub): Likewise.
	(ppc64_elf_size_stubs): Likewise.  Use get_sym_h.  Treat __tls_get_addr
	calls specially.
	(ppc64_elf_relocate_section): Adjust for new GOT and PLT lists.  Handle
	TLS relocs.  Report local syms using bfd_elf_local_sym_name.  Don't
	init GOT entries that have a reloc.  Generate GOT relocs here..
	(ppc64_elf_finish_dynamic_symbol): ..not here.  Adjust for PLT list.
	* elf64-ppc.h (ppc64_elf_tls_optimize): Declare.
2003-02-04 14:50:50 +00:00
bfd * reloc.c: Add PPC and PPC64 TLS relocs. 2003-02-04 14:50:50 +00:00
binutils * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to 2003-02-04 14:31:04 +00:00
config * acx.m4: Name cache variables properly. 2002-12-28 17:57:49 +00:00
contrib New directory. Created to contain a copy of the texi2pod.pl script so that 2002-07-03 11:20:13 +00:00
etc 2003-01-02 H.J. Lu <hjl@gnu.org> 2003-01-02 20:51:02 +00:00
gas bfd 2003-02-04 12:34:08 +00:00
gdb 2003-02-03 David Carlton <carlton@math.stanford.edu> 2003-02-04 01:09:03 +00:00
gprof oops - omitted from previous delta 2002-12-02 14:03:15 +00:00
include * ppc.h: Add TLS relocs. Format. 2003-02-04 14:48:36 +00:00
intl comment typo fixes 2002-01-21 14:03:27 +00:00
ld * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot 2003-02-03 17:47:23 +00:00
libiberty merge from gcc 2003-02-04 02:13:39 +00:00
mmalloc 2002-11-28 Elena Zannoni <ezannoni@redhat.com> 2002-11-28 16:46:31 +00:00
opcodes (print_insn_sparc): When examining values added in to rs1, make sure that 2003-01-29 12:51:57 +00:00
readline 2003-01-09 Michael Chastain <mec@shout.net> 2003-01-11 00:43:53 +00:00
sim * compile.c (sim_resume): Fix the handling of bxor. 2003-02-01 03:00:14 +00:00
texinfo 2002-08-23 Andrew Cagney <ac131313@redhat.com> 2002-08-23 22:24:57 +00:00
.cvsignore Add MMIX support 2001-10-30 15:20:14 +00:00
ChangeLog 2003-01-31 Frank Ch. Eigler <fche@redhat.com> 2003-01-31 19:09:32 +00:00
config-ml.in * config-ml.in: Propogate DESTDIR also. 2002-05-31 19:30:32 +00:00
config.guess [ ChangeLog ] 2003-01-08 22:09:32 +00:00
config.if * config.if: Copy from GCC. 2003-01-30 11:59:17 +00:00
config.sub [ ChangeLog ] 2003-01-08 22:09:32 +00:00
configure * configure.in: Revert 24Jan change. 2003-01-27 19:47:23 +00:00
configure.in * configure.in: Revert 24Jan change. 2003-01-27 19:47:23 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
COPYING.NEWLIB 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
djunpack.bat
gettext.m4 * gettext.m4: Test po/POTFILES.in exists before trying to read. 2001-10-03 01:46:25 +00:00
install-sh
libtool.m4 2002-01-27 Daniel Jacobowitz <drow@mvista.com> 2002-01-28 04:59:39 +00:00
ltcf-c.sh 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-01 12:01:26 +00:00
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:51:16 +00:00
ltcf-gcj.sh 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-01 12:01:26 +00:00
ltconfig 2002-01-27 Daniel Jacobowitz <drow@mvista.com> 2002-01-28 04:59:39 +00:00
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:43:09 +00:00
MAINTAINERS 2002-07-19 Chris Demetriou <cgd@broadcom.com> 2002-07-19 18:16:30 +00:00
Makefile.def * Makefile.in: Rebuilt. 2002-12-31 22:51:53 +00:00
Makefile.in 2003-01-31 Frank Ch. Eigler <fche@redhat.com> 2003-01-31 19:09:32 +00:00
Makefile.tpl 2003-01-31 Frank Ch. Eigler <fche@redhat.com> 2003-01-31 19:09:32 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
mpw-build.in
mpw-config.in
mpw-configure
mpw-install
mpw-README
README
README-maintainer-mode Add note about inability to use "make distclean" in maintainer mode. 2001-03-23 18:06:17 +00:00
setup.com
src-release * src-release (ETC_SUPPORT): Add fdl.texi and texi2pod.pl. 2003-01-02 00:50:57 +00:00
symlink-tree gcc adopts symlink-tree, refer more to libiberty. 2001-12-05 10:07:09 +00:00
ylwrap

		   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.