No description
Find a file
Jakub Jelinek bffbf9406f bfd/
* reloc.c: Add x86-64 TLS relocs.
	* bfd-in2.h, libbfd.h: Rebuilt.
	* elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit
	relocs.  Add TLS relocs.
	(x86_64_reloc_map): Add TLS relocs.
	(elf64_x86_64_info_to_howto): Adjust for added TLS relocs.
	(struct elf64_x86_64_link_hash_entry): Add tls_type field.
	(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define.
	(elf64_x86_64_hash_entry): Define.
	(struct elf64_x86_64_obj_tdata): New.
	(elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define.
	(struct elf64_x86_64_link_hash_table): Add tls_ld_got.
	(link_hash_newfunc): Initialize tls_type.
	(elf64_x86_64_link_hash_table_create): Initialize tls_ld_got.
	(elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary.
	(elf64_x86_64_mkobject): New.
	(elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata.
	(elf64_x86_64_tls_transition): New.
	(elf64_x86_64_check_relocs): Add r_type variable and use it.
	Handle TLS relocs.
	(elf64_x86_64_gc_sweep_hook): Handle TLS relocs.
	(allocate_dynrelocs): Allocate GOT space for TLS relocs.
	(elf64_x86_64_size_dynamic_sections): Likewise.
	(dtpoff_base, tpoff): New.
	(elf64_x86_64_relocate_section): Handle TLS relocs.
	(elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT
	entries.
	(bfd_elf64_mkobject): Define.

	* elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set
	DF_STATIC_TLS if shared.
gas/
	* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
	Define them if not BFD_ASSEMBLER.
	(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
	@tlsld.
	(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
	BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
	(tc_gen_reloc): Handle x86-64 TLS relocs.
include/
	* elf/x86-64.h: Add TLS relocs.
ld/testsuite/
	* lib/ld-lib.exp (run_ld_link_tests): Add.
	* ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
	file_contents): Remove.
	(sh64tests): Add 6th field to the tests array.
	* ld-i386/i386.exp (run_ld_link_tests): Remove.
	* ld-x86-64/x86-64.exp: New.
	* ld-x86-64/tlsbin.dd: New test.
	* ld-x86-64/tlsbinpic.s: New test.
	* ld-x86-64/tlsbin.rd: New test.
	* ld-x86-64/tlsbin.s: New test.
	* ld-x86-64/tlsbin.sd: New test.
	* ld-x86-64/tlsbin.td: New test.
	* ld-x86-64/tlslib.s: New test.
	* ld-x86-64/tlspic1.s: New test.
	* ld-x86-64/tlspic2.s: New test.
	* ld-x86-64/tlspic.dd: New test.
	* ld-x86-64/tlspic.rd: New test.
	* ld-x86-64/tlspic.sd: New test.
	* ld-x86-64/tlspic.td: New test.
2002-09-27 19:29:18 +00:00
bfd bfd/ 2002-09-27 19:29:18 +00:00
binutils binutils: 2002-09-17 07:09:47 +00:00
config
contrib
etc
gas bfd/ 2002-09-27 19:29:18 +00:00
gdb 2002-09-27 David Carlton <carlton@math.stanford.edu> 2002-09-27 19:20:53 +00:00
gprof Turn off default excluded functions in FLAT profile. 2002-08-22 11:07:15 +00:00
include bfd/ 2002-09-27 19:29:18 +00:00
intl
ld bfd/ 2002-09-27 19:29:18 +00:00
libiberty merge from gcc 2002-09-23 12:08:57 +00:00
mmalloc
opcodes /gas/ChangeLog 2002-09-26 09:56:35 +00:00
readline dummy commit, get CVS off the branch. 2002-08-24 00:11:12 +00:00
sim Fix bug in support for trap instruction. 2002-09-27 18:59:08 +00:00
texinfo 2002-08-23 Andrew Cagney <ac131313@redhat.com> 2002-08-23 22:24:57 +00:00
.cvsignore
ChangeLog 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> 2002-09-26 04:25:16 +00:00
config-ml.in
config.guess Import chnages from master config repository. 2002-09-12 15:59:37 +00:00
config.if
config.sub Import chnages from master config repository. 2002-09-12 15:59:37 +00:00
configure 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> 2002-09-26 04:25:16 +00:00
configure.in 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> 2002-09-25 17:25:27 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB 2002-09-10 Jeff Johnston <jjohnstn@redhat.com> 2002-09-10 19:02:38 +00:00
djunpack.bat
gettext.m4
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:51:16 +00:00
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS 2002-07-19 Chris Demetriou <cgd@broadcom.com> 2002-07-19 18:16:30 +00:00
Makefile.def 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> 2002-09-25 16:53:08 +00:00
Makefile.in 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> 2002-09-26 04:25:16 +00:00
Makefile.tpl 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> 2002-09-26 04:25:16 +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
setup.com
symlink-tree
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.