collect2.c (symkind): New enum.
authorOlivier Hainque <hainque@adacore.com>
Sat, 26 Jul 2008 14:26:45 +0000 (14:26 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Sat, 26 Jul 2008 14:26:45 +0000 (14:26 +0000)
commit4326ea401acdfac5fcda58f891efe8c9b3ed4e6e
tree1682d4c4b09bbdd2bec925f7503f038a81e40d08
parent19f0452d2bad880e2aa4feb734d0a6e9d7824d07
collect2.c (symkind): New enum.

* collect2.c (symkind): New enum.  Symbol kinds we care about.
(is_ctor_dtor): Return symkind instead of int.  Adjust prototype,
code and head comment accordingly.
(scan_prog_file): Use symkind names instead of bare integers.

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