Fix gold to use mallinfo2 if available instead of deprecated mallinfo.
authorDuncan Simpson <dr.duncan.p.simpson@gmail.com>
Fri, 19 Mar 2021 21:22:08 +0000 (14:22 -0700)
committerCary Coutant <ccoutant@gmail.com>
Fri, 19 Mar 2021 21:22:08 +0000 (14:22 -0700)
commit4ee60495054b362530a7471d363e00143ecb5cbe
tree3d4c8ce6e35c58fc1cbfb8edec25e1eb59ccd909
parent5cde809b7b9da3ad3aa0d65f0e5e92ab199d64f0
Fix gold to use mallinfo2 if available instead of deprecated mallinfo.

gold/
PR gold/26585
* configure.ac: Add check for mallinfo2.
* configure: Regenerate.
* main.cc (main): Use mallinfo2 if available.
gold/ChangeLog
gold/configure
gold/configure.ac
gold/main.cc