1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
2015-04-10 Michael Meissner <meissner@linux.vnet.ibm.com>
Merge up to 221977.
* REVISION: Update subversion id.
2015-03-20 Michael Meissner <meissner@linux.vnet.ibm.com>
Merge up to 221543.
* REVISION: Update subversion id.
2015-02-06 Michael Meissner <meissner@linux.vnet.ibm.com>
Merge up to 220491.
* REVISION: Update subversion id.
2015-02-02 Michael Meissner <meissner@linux.vnet.ibm.com>
Merge up to 220351.
* REVISION: Update subversion id.
2015-01-12 Michael Meissner <meissner@linux.vnet.ibm.com>
* configure.ac (--with-extra-prefix=): Add configure time switches
to add additional prefix directories for the compiler to search for
extra executables, startfiles, and directories to add to the list
of shared library locations.
(--with-extra-exec-prefix=): Likewise.
(--with-extra-include-prefix=): Likewise.
(--with-extra-startfile-prefix=): Likewise.
(--with-extra-rpath-prefix=): Likewise.
* configure: Regenerate.
* doc/install.texi (--with-extra-prefix=): Document new configure
switches.
(--with-extra-exec-prefix=): Likewise.
(--with-extra-include-prefix=): Likewise.
(--with-extra-startfile-prefix=): Likewise.
(--with-extra-rpath-prefix=): Likewise.
* gcc.c (LINK_RPATH_DIRS_SPEC): Add support for configuration time
additional executable, startfile, include, and shared library
location prefixes. Add %find-dynamic-linker(), %extra-rpath-dirs(),
%extra-cpu-dirs() as spec functions.
(LINK_COMMAND_SPEC): Likewise.
(CONFIGURE_INCLUDE_PREFIX): Likewise.
(CONFIGURE_STARTFILE_PREFIX): Likewise.
(configure_include_prefix): Likewise.
(configure_startfile_prefix): Likewise.
(configure_exec_prefix): Likewise.
(static_spec_functions): Likewise.
(IS_STD_DIR): Likewise.
(config_rpath): Likewise.
(build_rpath_or_cpu_dirs): Likewise.
(get_rpath_dirs): Likewise.
(extra_rpath_dirs_spec_function): Likewsie.
(extra_cpu_dirs_spec_function): Likewise.
(find_dynamic_linker_spec_function): Likewise.
(add_multiple_prefix): New function that is like add_prefix, but
splits the prefix at PATH_SEPARATOR.
(process_command): Simplify processing COMPILER_PATH, LPATH, and
LIBRARY_PATH_ENV environment variables by using the function
add_multiple_prefix to do the splitting of the separate prefixes.
Add support for the configuration switch to add new executable,
startfile, include, and shared library prefixes.
* gcc.h (extra_cpu_dirs_spec_function): Add declaration.
* config.in (CONFIGURE_EXEC_PREFIX): Add defines for the configure
switches to add executable, startfile, include, and shared library
configuration directories.
(CONFIGURE_INCLUDE_PREFIX): Likewise.
(CONFIGURE_STARTFILE_PREFIX): Likewise.
(CONFIGURE_RPATH_PREFIX): Likewise.
* config/rs6000/x-rs6000 (driver-rs6000.o): Add $(GCC_H)
dependency.
* config/rs6000/linux64.h (GLIBC_DYNAMIC_LINKER32): If
--with-extra-startfile-prefix or --with-extra-prefix was used, use
%find-dynamic-linker() to find the dynamic linker in the startfile
prefixes.
(GLIBC_DYNAMIC_LINKER64): Likewise.
(LINUX_EXTRA_STATIC_LIBDIRS64): Likewise.
(LINK_OS_LINUX_SPEC32): Likewise.
(LINK_OS_LINUX_SPEC64): Likewise.
* config/rs6000/rs6000.h (EXTRA_SPEC_FUNCTIONS): Likewise.
(LOCAL_CPU_EXTR_SPEC_FUNCTIONS): Likewise.
* config/rs6000/sysv4.h (GLIBC_DYNAMIC_LINKER): Likewise.
(LINUX_EXTRA_STATIC_LIBDIRS32): Likewise.
(LINK_OS_LINUX_SPEC): Likewise.
(rs6000_extra_static_libdirs): Likewise.
(SUBTARGET_EXTRA_SPEC_FUNCTIONS): Likewise.
* config/rs6000/driver-rs6000.c (toplevel): Include gcc.h.
(rs6000_extra_static_libdirs): If we have extra configure
startfile prefixes, look for a machine specific file as a
subdirectory in the startfile prefixes if the user used
-mcpu=<xxx>.
2015-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
Clone branch from 219607.
* REVISION: New file, track subversion merge ids.
|