diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-05-10 15:41:47 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-05-10 15:41:47 +0100 |
commit | 80cf2e08cc4ae44ac8d15d62191a867f2a60b162 (patch) | |
tree | f5124d3153896b6d1a523caa3279182000e1d0c6 /gcc/mkconfig.sh | |
parent | fd01a351dff3f953994a7a14015b9aaa3f77582d (diff) | |
download | gcc-80cf2e08cc4ae44ac8d15d62191a867f2a60b162.tar.gz |
config.gcc (libgcc_tm_file): Define instead of including files from ../../libgcc/config/ in tm_file.
gcc:
* config.gcc (libgcc_tm_file): Define instead of including files
from ../../libgcc/config/ in tm_file.
* configure.ac (libgcc_tm_file_list, libgcc_tm_include_list):
Define.
* configure: Regenerate.
* Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list,
libgcc_tm.h, cs-libgcc_tm.h): New.
(TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list).
(clean): Remove libgcc_tm.h.
* config/arm/symbian.h (RENAME_LIBRARY): Remove.
* mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET.
* system.h (DECLARE_LIBRARY_RENAMES): Poison.
libgcc:
* config/arm/symbian-lib.h: New.
From-SVN: r173619
Diffstat (limited to 'gcc/mkconfig.sh')
-rw-r--r-- | gcc/mkconfig.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/mkconfig.sh b/gcc/mkconfig.sh index d56df8cf53e..d96af1d2f2b 100644 --- a/gcc/mkconfig.sh +++ b/gcc/mkconfig.sh @@ -1,6 +1,7 @@ #! /bin/sh -# Copyright (C) 2001, 2002, 2006, 2007, 2010 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2006, 2007, 2010, 2011 +# Free Software Foundation, Inc. # This file is part of GCC. # GCC is free software; you can redistribute it and/or modify @@ -19,7 +20,7 @@ # Generate gcc's various configuration headers: -# config.h, tconfig.h, bconfig.h, tm.h, and tm_p.h. +# config.h, tconfig.h, bconfig.h, tm.h, libgcc_tm.h, and tm_p.h. # $1 is the file to generate. DEFINES, HEADERS, and possibly # TARGET_CPU_DEFAULT are expected to be set in the environment. @@ -88,8 +89,9 @@ if [ -n "$HEADERS" ]; then fi # If this is tm.h, now include insn-flags.h only if IN_GCC is defined -# but neither GENERATOR_FILE nor USED_FOR_TARGET is defined. (Much of -# this is temporary.) +# but neither GENERATOR_FILE nor USED_FOR_TARGET is defined. Also +# include libgcc_tm.h if USED_FOR_TARGET is defined. (Much of this is +# temporary.) case $output in tm.h ) @@ -97,6 +99,9 @@ case $output in #if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET # include "insn-flags.h" #endif +#ifdef USED_FOR_TARGET +# include "libgcc_tm.h" +#endif EOF ;; esac |