]> git.ipfire.org Git - thirdparty/gcc.git/commit
collect2.c (XCOFF_SCAN_LIBS): Remove.
authorAndrey Slepuhin <pooh@msu.net>
Fri, 20 Feb 1998 00:37:32 +0000 (00:37 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 20 Feb 1998 00:37:32 +0000 (17:37 -0700)
commit31eb7f85088413712f64d6eec7e7345ba777b23f
tree58ca42969e5e4d6dae26807e6458e7e14e0f5246
parent1d7f28e10f0356a7d4474d99b05f43f54d8c46ad
collect2.c (XCOFF_SCAN_LIBS): Remove.

        * collect2.c (XCOFF_SCAN_LIBS): Remove.
        (export_flag): New variable.
        (export_file): #ifdef COLLECT_EXPORT_LIST.
        (import_file, exports, imports, undefined): New variables.
        (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
        (dump_list, dump_prefix_list, is_in_list): New functions.
        (write_export_file): $ifdef COLLECT_EXPORT_LIST.
        (write_import_file, resolve_lib_name): New functions.
        (use_import_list, ignore_library): Same.
        (collect_exit): maybe_unlink import_file and #ifdef.
        (handler): Same.
        (main): New variable importf, #ifdef exportf.  Move parsing of
        -shared before general argument parsing.  Resolve AIX library
        paths and import libgcc.a symbols.  Treat .so shared libraries the
        same as objects and .a libraries.  Create alias for object_lst and
        increment it instead of original pointer.  Scan AIX libraries as
        objects earlier instead of using scan_libraries.  Perform AIX
        tlink later to resolve templates instead of forking ld.
        (GCC_OK_SYMBOL): Ensure symbol not in undef section.
        (GCC_UNDEF_SYMBOL): New macro.
        (scan_prog_file): Loop for members of AIX libraries.  Handle
        export/import of ctors/dtors.
        (aix_std_libs): New variable.
        (scan_libraries, XCOFF): Delete.

Co-Authored-By: David Edelsohn <edelsohn@mhpcc.edu>
From-SVN: r18133
gcc/ChangeLog
gcc/collect2.c