derivedConstants: Add support for AIX
authorHerbert Valerio Riedel <hvr@gnu.org>
Thu, 19 Nov 2015 11:55:26 +0000 (12:55 +0100)
committerBen Gamari <ben@smart-cactus.org>
Thu, 19 Nov 2015 12:24:33 +0000 (13:24 +0100)
commit7dfde0e8263f123c2a21dde50027fa97a20500ec
tree4332f6dd1bdbfe756a5c1b1d9c55b1da9561df52
parent65d7ff06573f8c55ec98b43059f7abffae79d8c3
derivedConstants: Add support for AIX

On IBM AIX `nm` doesn't support reporting symbol sizes, so we need to
resort to `objdump` instead, which has a peculiar output format on AIX.

depends on D1499

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: kgardas, thomie

Differential Revision: https://phabricator.haskell.org/D1500
utils/deriveConstants/Main.hs