Binutils with MCST patches
Go to file
Andreas Jaeger 7b81dfbbf9 Patch by matz@suse.de:
bfd/ChangeLog:
	* reloc.c: Add BFD_RELOC_X86_64_GOT64, BFD_RELOC_X86_64_GOTPCREL64,
	BFD_RELOC_X86_64_GOTPC64, BFD_RELOC_X86_64_GOTPLT64,
	BFD_RELOC_X86_64_PLTOFF64.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Regenerated.
	* elf64-x86-64.c (x86_64_elf_howto_table): Correct comment.
	Add howtos for above relocs.
	(x86_64_reloc_map): Add mappings for new relocs.
	(elf64_x86_64_check_relocs): R_X86_64_GOT64, R_X86_64_GOTPCREL64,
	R_X86_64_GOTPLT64 need a got entry.  R_X86_64_GOTPLT64 also a PLT
	entry.  R_X86_64_GOTPC64 needs a .got section.  R_X86_64_PLTOFF64
	needs a PLT entry.
	(elf64_x86_64_gc_sweep_hook): Reflect changes from
	elf64_x86_64_check_relocs for the new relocs.
	(elf64_x86_64_relocate_section): Handle new relocs.

gas/ChangeLog:
	* config/tc-i386.c (type_names): Correct placement of 'static'.
	(reloc): Map some more relocs to their 64 bit counterpart when
	size is 8.
	(output_insn): Work around breakage if DEBUG386 is defined.
	(output_disp): A BFD_RELOC_64 with GOT_symbol as operand also
	needs to be mapped to BFD_RELOC_X86_64_GOTPC64 or
	BFD_RELOC_X86_64_GOTPC32.  Also x86-64 handles pcrel addressing
	different from i386.
	(output_imm): Ditto.
	(lex_got): Recognize @PLTOFF and @GOTPLT.  Make @GOT accept also
	Imm64.
	(md_convert_frag): Jumps can now be larger than 2GB away, error
	out in that case.
	(tc_gen_reloc): New relocs are passed through.  BFD_RELOC_64
	and BFD_RELOC_64_PCREL are mapped to BFD_RELOC_X86_64_GOTPC64.

gas/testsuite/ChangeLog:
	* gas/i386/reloc64.s: Accept 64-bit forms.
	* gas/i386/reloc64.d: Adjust.
	* gas/i386/reloc64.l: Adjust.

include/ChangeLog:
	* elf/x86-64.h: Add the new relocations with their official
	numbers.
2006-03-23 08:23:09 +00:00
bfd Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
binutils * BRANCHES: Remove binutils-csl-arm-2006q1-branch. Document 2006-03-20 18:53:48 +00:00
config 2006-02-14 Paolo Bonzini <bonzini@gnu.org> 2006-02-14 09:22:15 +00:00
contrib
cpu * m32c.cpu (Bit3-S): New. 2006-03-14 04:20:53 +00:00
etc bfd/doc/ 2006-02-27 16:26:26 +00:00
gas Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
gdb *** empty log message *** 2006-03-23 00:00:32 +00:00
gprof * corefile.c (core_init): Report that the executable is not in the 2006-03-22 03:51:02 +00:00
include Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
intl bfd/doc/ 2006-02-27 16:26:26 +00:00
ld Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
libiberty merge from gcc 2006-03-13 20:00:44 +00:00
mmalloc
opcodes * bfin-dis.c (decode_dsp32shiftimm_0): Simplify and correct the 2006-03-16 19:09:48 +00:00
readline * histfile.c (read_history_range): Remove '\r' character from 2006-03-21 14:58:24 +00:00
sim * mem.c (mem_put_byte): Hook simulated UART to stdout. 2006-03-14 03:34:28 +00:00
texinfo
.cvsignore
ChangeLog 2006-03-14 Paolo Bonzini <bonzini@gnu.org> 2006-03-14 16:26:44 +00:00
compile
config-ml.in
config.guess Sync top level config files from the master config repository 2006-01-16 17:34:37 +00:00
config.sub Sync top level config files from the master config repository 2006-01-16 17:34:37 +00:00
configure 2006-03-14 Paolo Bonzini <bonzini@gnu.org> 2006-03-14 16:10:08 +00:00
configure.in 2006-03-14 Paolo Bonzini <bonzini@gnu.org> 2006-03-14 16:10:08 +00:00
COPYING
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB 2005-12-16 Jeff Johnston <jjohnstn@redhat.com> 2005-12-16 20:58:39 +00:00
depcomp
djunpack.bat
gettext.m4
install-sh
libtool.m4 PR binutils/1990 2005-12-27 16:37:57 +00:00
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh 2006-03-01 H.J. Lu <hongjiu.lu@intel.com> 2006-03-01 17:40:34 +00:00
MAINTAINERS Update information about: config-ml.in; makefile.vms; mkdep; setup.com; 2006-03-01 10:25:01 +00:00
Makefile.def 2006-02-20 Paolo Bonzini <bonzini@gnu.org> 2006-02-20 08:34:53 +00:00
Makefile.in 2006-03-14 Paolo Bonzini <bonzini@gnu.org> 2006-03-14 16:26:44 +00:00
Makefile.tpl 2006-03-14 Paolo Bonzini <bonzini@gnu.org> 2006-03-14 16:10:08 +00:00
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
README
README-maintainer-mode
setup.com
src-release
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.