A C standard library for sh3eb-elf.
Go to file
Joern Rennecke 1def00e433 Fix sh-elf linker relaxation:
gcc:
	* config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
	subtarget_asm_isa_spec.
	(SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
	(ASM_SPEC): Define as SH_ASM_SPEC.
	(SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
	Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
	* config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
	(SUBTARGET_ASM_ISA_SPEC): Undef / define.
gcc/testsuite:
	gcc.dg/sh-relax.c: New test.

include/elf:
	* sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
	and SH2E & SH4 merge to SH4, not SH2E.

gas:
	* config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
	(md_begin): Use preset_target_arch.
	(md_longopts): Make isa option unconditional.
	(md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
	set preset_target_arch.
	(md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
	by -S_GET_VALUE  (fixP->fx_subsy).
	(tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
	and the addend is 0.
	Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
	* config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.

bfd:
	elf32-sh.c (sh_elf_howto_tab): Make R_SH_IND12W into an ordinary
	relocation (no special function), and make it non-partial_inplace.
	(sh_elf_relax_section): When creating a bsr, use a consistent value
	no matter if the symbol is extern or not;  set addend to -4.
	Don't swap load / non-load instructions for SH4.
	(sh_elf_relax_delete_bytes): In R_SH_IND12W case, check the offset
	rather than if the symbol is external to determine if adjusting the
	offset makes sense.  Adjust the addend too if appropriate.
	(sh_elf_relocate_section): In R_SH_IND12W, don't fiddle with the
	relocation.
2003-03-03 21:03:58 +00:00
config * acx.m4: Name cache variables properly. 2002-12-28 17:57:49 +00:00
etc 2003-01-02 H.J. Lu <hjl@gnu.org> 2003-01-02 20:51:02 +00:00
include Fix sh-elf linker relaxation: 2003-03-03 21:03:58 +00:00
libgloss * mips/nullmon.c (_ftext, _end): Adjust declaration. 2003-02-18 19:37:04 +00:00
newlib 2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com> 2003-02-25 20:36:29 +00:00
texinfo 2002-08-23 Andrew Cagney <ac131313@redhat.com> 2002-08-23 22:24:57 +00:00
winsup * fhandler_tty.cc (fhandler_pty_slave::open): Grudgingly increment 2003-03-03 15:15:49 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:06 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:06 +00:00
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
ChangeLog * Makefile.tpl: Rearrange. 2003-02-28 18:03:31 +00:00
MAINTAINERS 2002-07-19 Chris Demetriou <cgd@broadcom.com> 2002-07-19 18:16:30 +00:00
Makefile.def Source Navigator is now on sourceforge... 2003-02-06 20:36:19 +00:00
Makefile.in * Makefile.tpl: Rearrange. 2003-02-28 18:03:31 +00:00
Makefile.tpl * Makefile.tpl: Rearrange. 2003-02-28 18:03:31 +00:00
README 19990502 sourceware import 1999-05-03 07:29:06 +00:00
README-maintainer-mode Add note about inability to use "make distclean" in maintainer mode. 2001-03-23 18:06:17 +00:00
config-ml.in * config-ml.in: Propogate DESTDIR also. 2002-05-31 19:30:32 +00:00
config.guess import latest versions 2003-02-19 07:47:34 +00:00
config.if * config.if: Copy from GCC. 2003-01-30 11:59:17 +00:00
config.sub import latest versions 2003-02-19 07:47:34 +00:00
configure Remove site-file support - it is obsolete. 2003-02-25 10:47:07 +00:00
configure.in Add support for kaOS as cross build target system. 2003-02-24 16:47:04 +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: Test po/POTFILES.in exists before trying to read. 2001-10-03 01:46:25 +00:00
install-sh 19990502 sourceware import 1999-05-03 07:29:06 +00:00
libtool.m4 * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. 2003-02-20 01:12:28 +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 * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. 2003-02-20 01:12:28 +00:00
ltcf-gcj.sh * ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever 2003-02-19 23:51:28 +00:00
ltconfig * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. 2003-02-20 02:09:58 +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:06 +00:00
missing 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs 19990502 sourceware import 1999-05-03 07:29:06 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-README 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-build.in 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-configure 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-install 19990502 sourceware import 1999-05-03 07:29:06 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:06 +00:00
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 19990502 sourceware import 1999-05-03 07:29:06 +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.