GCC modified for the FreeChainXenon project
Find a file
Bernd Schmidt 6614f9f559 bfin.opt (mfdpic): New option.
* config/bfin/bfin.opt (mfdpic): New option.
	* config/bfin/t-bfin-elf (EXTRA_PARTS): Add crtbeginS.o and crtendS.o.
	(EXTRA_MULTILIB_PARTS): Likewise.
	(CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): Use -fpic.
	(MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Build one extra -mfdpic
	multilib.
	* config/bfin/elf.h (STARTFILE_SPEC): Don't link in crt0.o if -shared.
	(CRT_CALL_STATIC_FUNCTION): New.
	* config/bfin/uclinux.h (STARTFILE_SPEC): Don't link in crt0.o if
	-shared.
	(CRT_CALL_STATIC_FUNCTION): New.
	* config/bfin/bfin.c (legitimize_pic_address): Now static.  Handle
	FD-PIC moves.
	(n_pregs_to_save): PIC register doesn't need to be saved with FD-PIC.
	(print_operand): Handle UNSPEC_MOVE_FDPIC and UNSPEC_FUNCDESC_GOT17M4.
	(initialize_trampoline): Changed to handle FD-PIC code generation.
	(expand_move): If TARGET_FDPIC, use emit_pic_move as needed.
	(bfin_expand_call): Generate FD-PIC calls if TARGET_FDPIC.
	(override_options): Disallow -mid-shared-library -mfdpic combination.
	Can't do unaligned ops if FD-PIC.
	Turn off flag_pic if trying to generate non-id-shared-library
	non-fdpic code, since it's not supported.
	(bfin_assemble_integer): New function.
	(TARGET_ASM_INTEGER): Define.
	* config/bfin/crti.s (__init, __fini): Save P3 on the stack if
	__BFIN_FDPIC__.
	* config/bfin/crtn.s: Restore them.
	* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __BFIN_FDPIC__
	if TARGET_FDPIC.
	(DRIVER_SELF_SPECS, SUBTARGET_DRIVER_SELF_SPECS,
	LINK_GCC_C_SEQUENCE_SPEC, ASM_SPEC, LINK_SPEC): New macros.
	(FDPIC_FPTR_REGNO, FDPIC_REGNO, OUR_FDPIC_REG): New macros.
	(TRAMPOLINE_SIZE, TRAMPOLINE_TEMPLATE): Adjust for FD-PIC.
	(CONDITIONAL_REGISTER_USAGE): If TARGET_FDPIC, FDPIC_REGNO is
	call-used.
	(enum reg_class, REG_CLASS_CONTENTS, REG_CLASS_NAMES): Add
	FDPIC_REGS and FDPIC_FPTR_REGS.
	(REG_CLASS_FROM_LETTER): Use 'Z' and 'Y' for them.
	* config/bfin/bfin.md (UNSPEC_MOVE_FDPIC, UNSPEC_FUNCDESC_GOT17M4,
	UNSPEC_VOLATILE_LOAD_FUNCDESC): New constants.
	(load_funcdescsi): New pattern.
	(call_symbol_fdpic, sibcall_symbol_fdpic, call_value_symbol_fdpic,
	sibcall_value_symbol_fdpic, call_insn_fdpic, sibcall_insn_fdpic,
	call_value_insn_fdpic, sibcall_value_insn_fdpic): New patterns.

From-SVN: r114199
2006-05-29 14:11:07 +00:00
boehm-gc Makefile.am: Add install-html target. 2006-05-24 21:33:42 +00:00
config [multiple changes] 2006-02-14 09:36:24 +00:00
contrib Correct changelog date in last commit. 2006-05-02 14:00:22 +00:00
fixincludes Makefile.in: Add dvi info html and install-html to .PHONY Add install-html target. 2006-05-24 04:31:06 +00:00
gcc bfin.opt (mfdpic): New option. 2006-05-29 14:11:07 +00:00
gnattools re PR ada/19959 (Can't compile gnattools for the cross targets) 2005-03-30 10:56:55 +02:00
include pex-common.c (pex_input_file, [...]): New functions. 2006-04-12 06:29:21 +00:00
INSTALL
intl Makefile.in: Add info dvi ps pdf html install-html to .PHONY Add install-html target. 2006-05-24 01:30:43 +00:00
libada Makefile.in: Add install-html target. 2006-05-24 01:38:00 +00:00
libcpp Makefile.in: Add install-html target. 2006-05-24 01:48:20 +00:00
libdecnumber Makefile.in: Add install-html target. 2006-05-24 01:29:29 +00:00
libffi Makefile.am: Add install-html target. 2006-05-24 01:45:57 +00:00
libgfortran string_intrinsics.c (compare_string): Use memcmp instead of strncmp to avoid tripping over CHAR(0) in a string. 2006-05-28 20:25:15 +00:00
libgomp Makefile.am: Add install-html target. 2006-05-24 01:28:16 +00:00
libiberty Open temporary files in binary mode when using mkstemps. 2006-05-28 08:48:00 +00:00
libjava Correction. Checking in gcj/Makefile.in. 2006-05-26 16:08:19 +00:00
libmudflap Makefile.am: Add install-html target. 2006-05-24 01:42:51 +00:00
libobjc Makefile.in: Add install-html target. 2006-05-24 01:22:17 +00:00
libssp Makefile.am: Add install-html target. 2006-05-24 01:47:02 +00:00
libstdc++-v3 configure.host: If the CPU provides atomic builtins select generic/atomic_builtins/atomicity.h. 2006-05-27 12:05:58 +00:00
maintainer-scripts crontab: Don't build snapshot for 3.4.x anymore. 2006-03-11 19:29:41 +00:00
zlib .cvsignore are not needed for subversion, remove them. 2005-10-31 18:20:58 +01:00
ABOUT-NLS
ChangeLog Makefile.def (bfd, opcodes): Fix lib_path. 2006-05-25 08:00:56 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config-ml.in COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
config.guess Sync config.{sub,guess} from upstream sources 2005-11-22 20:41:02 +00:00
config.rpath all files: Update FSF address. 2005-07-16 02:30:53 +00:00
config.sub config.gcc (ms1): Replace with ... 2005-12-12 10:54:49 +00:00
configure Makefile.def: Add install-html target. 2006-05-24 17:57:58 +00:00
configure.in Makefile.def: Add install-html target. 2006-05-24 17:57:58 +00:00
COPYING COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
COPYING.LIB Update COPYING.LIB from upstream. Correct last Changelog. 2005-07-14 01:41:54 +00:00
depcomp top level: 2005-06-13 08:26:05 +00:00
install-sh COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
libtool-ldflags libtool-ldflags: New script. 2006-01-03 00:30:27 +00:00
libtool.m4 all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-c.sh ltcf-c.sh (whole_archive_flag_spec): Remove '-all_load $convenience' to match upstream libtool for darwin. 2005-11-18 23:53:08 +01:00
ltcf-cxx.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltcf-gcj.sh all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltconfig all files: Update FSF address. 2005-07-16 02:30:53 +00:00
ltmain.sh re PR libgcj/17311 (Wrong libgcc_s.so.1 is used by lt-gij) 2006-03-01 09:39:35 -08:00
MAINTAINERS Added myself (Mark Shinwell) to MAINTAINERS. 2006-05-18 11:51:08 +00:00
Makefile.def Makefile.def (bfd, opcodes): Fix lib_path. 2006-05-25 08:00:56 +00:00
Makefile.in Makefile.def (bfd, opcodes): Fix lib_path. 2006-05-25 08:00:56 +00:00
Makefile.tpl Makefile.def (bfd, opcodes): Fix lib_path. 2006-05-25 08:00:56 +00:00
missing COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
mkdep
mkinstalldirs COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
move-if-change Import from Autoconf sources: 2005-11-21 13:21:37 +11:00
README
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.