diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-08-24 14:02:21 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-08-24 14:02:21 +0000 |
commit | 2ef4a8e14ab95a85c4e626c905325c030b4583cf (patch) | |
tree | bb60c107a81888d00c4625fc9b41fcfbf7068b2b /gcc | |
parent | c7e9ab97becb9c49546870db43ffa3b1b99d2bff (diff) | |
download | gcc-2ef4a8e14ab95a85c4e626c905325c030b4583cf.zip gcc-2ef4a8e14ab95a85c4e626c905325c030b4583cf.tar.gz gcc-2ef4a8e14ab95a85c4e626c905325c030b4583cf.tar.bz2 |
gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove.
2009-08-24 Rafael Avila de Espindola <espindola@google.com>
* gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove.
(process_command): Don't search standard_exec_prefix_1 and
standard_exec_prefix_2.
From-SVN: r151054
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/gcc.c | 15 |
2 files changed, 6 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a69996d..0266cc46 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-08-24 Rafael Avila de Espindola <espindola@google.com> + + * gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove. + (process_command): Don't search standard_exec_prefix_1 and + standard_exec_prefix_2. + 2009-08-24 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.c (output_return_instruction): Handle for @@ -1572,8 +1572,6 @@ static const char *const standard_startfile_prefix = STANDARD_STARTFILE_PREFIX; /* For native compilers, these are well-known paths containing components that may be provided by the system. For cross compilers, these paths are not used. */ -static const char *const standard_exec_prefix_1 = "/usr/libexec/gcc/"; -static const char *const standard_exec_prefix_2 = "/usr/lib/gcc/"; static const char *md_exec_prefix = MD_EXEC_PREFIX; static const char *md_startfile_prefix = MD_STARTFILE_PREFIX; static const char *md_startfile_prefix_1 = MD_STARTFILE_PREFIX_1; @@ -4292,19 +4290,6 @@ process_command (int argc, const char **argv) PREFIX_PRIORITY_LAST, 1, 0); } - /* If not cross-compiling, search well-known system locations. */ - if (*cross_compile == '0') - { -#ifndef OS2 - add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS", - PREFIX_PRIORITY_LAST, 2, 0); - add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS", - PREFIX_PRIORITY_LAST, 2, 0); -#endif - add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS", - PREFIX_PRIORITY_LAST, 1, 0); - } - gcc_assert (!IS_ABSOLUTE_PATH (tooldir_base_prefix)); tooldir_prefix = concat (tooldir_base_prefix, spec_machine, dir_separator_str, NULL); |