mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 13:59:40 +08:00
f1a58d928b
* config/sh/little.h: New file. * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already defined, define to 0 to select big-endian. (SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT. (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. * config/sh/t-be: New file. * config/sh/t-le: New file. * sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h. (SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise. (TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise. (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise. (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise. (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise. (ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted. (CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise. (SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise. (EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and CPP_DEFAULT_CPU_SPEC. Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL, SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC. (LINK_SPEC): Define to SH_LINK_SPEC. (TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define. (LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise. (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. (CPP_SPEC): Reduce to %(subtarget_cpp_spec). (TARGET_ENDIAN_DEFAULT): Define if not already defined. * config/sh/coff.h: New file. (TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section (TARGET_OBJFMT_CPP_BUILTINS): Define. * config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start. (ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise. (DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise. (ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise. (PTRDIFF_TYPE): Likewise. ("dbxelf.h", "elfos.h", "svr4.h"): Don't #include. (CPP_PREDEFINES): Don't define. (TARGET_OBJFMT_CPP_BUILTINS): Define. (LINK_SPEC): Define to SH_LINK_SPEC. (LINK_EMUL_PREFIX): Redefine. * config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases. (SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition. (CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise. (CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise. (TARGET_OS_CPP_BUILTINS): Define. (TARGET_DEFAULT): Redefine. (SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise. * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove. (LINK_SPEC): Don't redefine. (LINK_DEFAULT_CPU_EMUL): Redefine. (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT. * sh.c (sh_asm_named_section): Don't declare / define. * t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option. * config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h. (sh64-*-elf* tm_file): Likewise. (sh-*-rtemself* tm_file): Likewise. (sh-*-linux* tm_file): Likewise. Add sh/little.h. (sh-*-linux* tmake_file): Add sh/t-le. (sh-*-rtems* tm_file): Add sh/coff.h (sh-*-* tm_file): Likewise. * sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using CONSTANT_POOL_ADDRESS_P. * coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define. Co-Authored-By: Jason R. Thorpe <thorpej@wasabisystems.com> From-SVN: r53974 |
||
---|---|---|
boehm-gc | ||
config | ||
contrib | ||
fastjar | ||
gcc | ||
include | ||
INSTALL | ||
libf2c | ||
libffi | ||
libiberty | ||
libjava | ||
libobjc | ||
libstdc++-v3 | ||
maintainer-scripts | ||
zlib | ||
.cvsignore | ||
ChangeLog | ||
config-ml.in | ||
config.guess | ||
config.if | ||
config.sub | ||
configure | ||
configure.in | ||
COPYING | ||
COPYING.LIB | ||
install-sh | ||
libtool.m4 | ||
ltcf-c.sh | ||
ltcf-cxx.sh | ||
ltcf-gcj.sh | ||
ltconfig | ||
ltmain.sh | ||
MAINTAINERS | ||
Makefile.in | ||
missing | ||
mkdep | ||
mkinstalldirs | ||
move-if-change | ||
README | ||
symlink-tree | ||
ylwrap |
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.