summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-05 15:04:39 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-05 15:04:39 +0000
commit3fec05cabefa5f41151f85f0051cba33f902653d (patch)
tree9dcfd0cb6000a08749cf71a027450c4e0142afdb /ltconfig
parent81f6de2f518a15431548a61b50144e6dbeaf3fdf (diff)
downloadgcc-3fec05cabefa5f41151f85f0051cba33f902653d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/ltconfig b/ltconfig
index 01e64be2cff..53eb9421eab 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