aboutsummaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2005-05-05 15:04:39 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2005-05-05 11:04:39 -0400
commitc9392a2bf8ea86907553d8788c0cc9cb215b5a20 (patch)
tree9dcfd0cb6000a08749cf71a027450c4e0142afdb /ltconfig
parentc54c7322513c602b6a0e108afc3146ce9cc2b8f8 (diff)
downloadgcc-c9392a2bf8ea86907553d8788c0cc9cb215b5a20.zip
gcc-c9392a2bf8ea86907553d8788c0cc9cb215b5a20.tar.gz
gcc-c9392a2bf8ea86907553d8788c0cc9cb215b5a20.tar.bz2
ltconfig: Define file_list_spec.
* ltconfig: Define file_list_spec. Pass file_list_spec and with_gnu_ld to libtool. * ltcf-c.sh (aix[45]): Define file_list_spec. * ltcf-cxx.sh (aix[45]): Same. * ltcf-gcj.sh (aix[45]): Same. * ltmain.sh: If command exceeds max_cmd_len and file_list_spec exists, write list of input files to temporary file. From-SVN: r99268
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/ltconfig b/ltconfig
index 01e64be..53eb942 100755
--- a/ltconfig
+++ b/ltconfig
@@ -266,6 +266,7 @@ exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
# rely on this symbol name, it's probably fine to never include it in
# preloaded symbol tables.
extract_expsyms_cmds=
+file_list_spec=
## Tools:
old_AR="$AR"
@@ -2164,7 +2165,7 @@ case $ltmain in
finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
hardcode_libdir_flag_spec hardcode_libdir_separator \
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
- compiler_c_o need_locks exclude_expsyms include_expsyms; do
+ compiler_c_o need_locks exclude_expsyms include_expsyms file_list_spec; do
case $var in
reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
@@ -2557,6 +2558,12 @@ exclude_expsyms=$exclude_expsyms
# Symbols that must always be exported.
include_expsyms=$include_expsyms
+# Specify filename containing input files.
+file_list_spec=$file_list_spec
+
+# with_gnu_ld value
+with_gnu_ld=$with_gnu_ld
+
EOF
if test -z "$tagname"; then