collect2.c (main): Only export initfunc and finifunc if LD_INIT_SWITCH not defined.
authorDavid Edelsohn <edelsohn@gnu.org>
Sat, 6 Mar 2004 20:49:30 +0000 (20:49 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 6 Mar 2004 20:49:30 +0000 (15:49 -0500)
commitaaef9b06ac9ea6d57345f70e22327a122d6d897c
tree987b073666e53f5505a9113ffd957ec49bddccfe
parent7a9a5a4441eeed70b2f5608dd9510612ae195f90
collect2.c (main): Only export initfunc and finifunc if LD_INIT_SWITCH not defined.

        * collect2.c (main): Only export initfunc and finifunc if
        LD_INIT_SWITCH not defined.
        (scan_prog_file): Only export constructors and destructors if
        LD_INIT_SWITCH not defined.  Only export symbols not found in
        shared objects.

From-SVN: r79031
gcc/ChangeLog
gcc/collect2.c