Binutils with MCST patches
Go to file
Paul Brook 3674e28ad0 bfd/
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype.
	(bfd_elf32_arm_process_before_allocation): Update prototype.
	* bfd-in2.h: Regenerate.
	* bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc.
	(elf32_arm_link_hash_table_create): Set it.
	(bfd_elf32_arm_process_before_allocation): Remove target1_is_rel.
	(bfd_elf32_arm_set_target_relocs): New function.
	(arm_real_reloc_type): New function.
	(elf32_arm_final_link_relocate): Use it.  Handle R_ARM_PREL31 and
	R_ARM_GOT_PREL.  Remove R_ARM_TARGET1.
	(elf32_arm_gc_sweep_hook): Ditto.
	(elf32_arm_check_relocs): Ditto.
	(elf32_arm_relocate_section): Handle R_ARM_GOT_PREL.
	* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and
	R_ARM_GOT_TARGET2.
	(elf32_arm_got_prel): New variable.
	(elf32_arm_howto_from_type): New function.
	(elf32_arm_info_to_howto): Use it.
	(elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and
	BFD_RELOC_ARM_TARGET2.
	* libbfd.h: Regenerate.
	* reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31.
gas/
	* config/tc-arm.c (s_arm_rel31): New funciton.
	(md_pseudo_table): Add .rel31.
	(md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
	BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
	(tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
	(arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
	(arm_parse_reloc): Add (target2).
gas/testsuite/
	* gas/arm/pic.s: Add (target2).
	* gas/arm/pic.d: Ditto.
include/
	* elf/arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK.
	Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL,
	R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX.
ld/
	* ld.texinfo: Rename arm-specific section.  Document --target*
	* emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
	* emulparams/armelf_linux.sh: Ditto.
	* emulparams/armelf_nbsd.sh: Ditto.
	* emultempl/armelf.em: Set default for TARGET2_TYPE.
	(target2_type): New variable.
	(arm_elf_before_allocation): Don't pass target1_type.
	(arm_elf_create_output_section_statements): New function.
	(PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
	(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
	* emultempl/armelf_oabi.em (_before_allocation): Remove extra
	argument to bfd_elf32_arm_process_before_allocation.
ld/testsuite/
	* ld-arm/arm-target1-{abs,rel}.d}: New files.
	* ld-arm/arm-target1.s: New file.
	* ld-arm/arm-target2-{,got-}rel.d: New files.
	* ld-arm/arm-target2.s: New file.
	* ld-arm/arm-rel31.d: New files.
	* ld-arm/arm-rel31.s: New files.
	* ld-arm/arm.ld: New file.
	* ld-arm/arm-elf.exp: Add new tests.
2004-09-17 12:18:19 +00:00
bfd include/ 2004-09-17 07:14:33 +00:00
binutils * Makefile.am: Run "make dep-am". 2004-09-17 06:23:17 +00:00
config 2004-08-31 Robert Bowdidge <bowdidge@apple.com> 2004-09-10 17:49:29 +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
cpu cpu/ 2004-08-27 09:32:02 +00:00
etc Replace i[3456]86 with i[3-7]86 2003-05-16 16:30:27 +00:00
gas * Makefile.am: Run "make dep-am". 2004-09-17 06:17:47 +00:00
gdb *** empty log message *** 2004-09-17 00:00:01 +00:00
gprof * aclocal.m4: Regenerate. 2004-09-17 06:24:38 +00:00
include include/ 2004-09-17 07:14:33 +00:00
intl comment typo fixes 2002-01-21 14:03:27 +00:00
ld bfd/ 2004-09-17 12:18:19 +00:00
libiberty merge from gcc 2004-09-08 22:01:25 +00:00
mmalloc gdb/ 2003-08-08 17:30:37 +00:00
opcodes * Makefile.am: Run "make dep-am". 2004-09-17 06:13:39 +00:00
readline Index: ChangeLog 2004-02-19 14:55:26 +00:00
sim * sim/sh/allinsn.exp: Set global_as_options and 2004-09-13 21:02:33 +00:00
texinfo 2004-02-23 Andrew Cagney <cagney@redhat.com> 2004-02-23 19:37:48 +00:00
.cvsignore Add MMIX support 2001-10-30 15:20:14 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIBGLOSS 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
COPYING.NEWLIB 2004-02-02 Jeff Johnston <jjohnstn@redhat.com> 2004-02-03 00:05:49 +00:00
ChangeLog 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
MAINTAINERS Include Makefile.*, not just Makefile.in, in the top-level policy. 2004-06-09 22:48:28 +00:00
Makefile.def 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
Makefile.in 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
Makefile.tpl 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README-maintainer-mode Update URL 2003-05-30 07:30:26 +00:00
config-ml.in 2004-06-01 Paolo Bonzini <bonzini@gnu.org> 2004-06-01 07:46:01 +00:00
config.guess Import latest version from master repository. 2004-09-04 07:53:54 +00:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:35:35 +00:00
config.sub Import latest version from master repository. 2004-09-04 07:53:54 +00:00
configure 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
configure.in 2004-09-09 Daniel Berlin <dberlin@dberlin.org> 2004-09-10 02:19:35 +00:00
depcomp merge from gcc 2004-05-13 18:14:28 +00:00
djunpack.bat * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst 2000-05-08 15:13:30 +00:00
gettext.m4 * gettext.m4: Quote names of macros to be defined by AC_DEFUN 2004-01-14 13:41:37 +00:00
install-sh PR bootstrap/11932 2004-02-20 02:05:00 +00:00
libtool.m4 knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-c.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-cxx.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltcf-gcj.sh knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltconfig knetbsd/kfreebsd patches from Robert Millan. 2004-07-21 19:21:41 +00:00
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:43:09 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
missing 2004-09-07 Paolo Bonzini <bonzini@gnu.org> 2004-09-07 08:34:06 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs PR bootstrap/11932 2004-02-20 02:05:00 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:11 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:11 +00:00
src-release * Makefile.def, configure.in, src-release: Remove useless, bogus 2004-08-12 22:59:53 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 20:44:13 +00:00
ylwrap 19990502 sourceware import 1999-05-03 07:29:11 +00:00

README

		   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.