collect2.c (static_obj): New variable.
authorTony Reix <tony.reix@atos.com>
Tue, 19 Jun 2018 19:17:46 +0000 (19:17 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 19 Jun 2018 19:17:46 +0000 (15:17 -0400)
commit6a513e2a1b446a2aa7accec36ac055935e9d6491
treef6bc3a864ce42a09da3c879ff54da190e22eafe4
parente8c487163ac2988dc7d90774e068d9c043193a3d
collect2.c (static_obj): New variable.

2018-06-19  Tony Reix  <tony.reix@atos.com>
            Damien Bergamini  <damien.bergamini@atos.com>
            David Edelsohn  <dje.gcc@gmail.com>

        * collect2.c (static_obj): New variable.
        (static_libs): New variable.
        (is_in_list): Uncomment declaration.
        (main): Track AIX libraries linked statically.
        (is_in_list): Uncomment definition.
        (scan_prog_file): Don't add AIX shared libraries initializer
        to constructor list if linking statically.

Co-Authored-By: Damien Bergamini <damien.bergamini@atos.com>
Co-Authored-By: David Edelsohn <dje.gcc@gmail.com>
From-SVN: r261759
gcc/ChangeLog
gcc/collect2.c