This patch assigns explicit integers to enum values corresponding
authorSriraman Tallam <tmsriram@google.com>
Mon, 11 Feb 2013 19:36:56 +0000 (19:36 +0000)
committerSriraman Tallam <tmsriram@google.com>
Mon, 11 Feb 2013 19:36:56 +0000 (19:36 +0000)
commitf5c033f1f3d7534aa9513c49a89d97ef0bd1cac3
treedab309ea035a88d20939ce8b189c2d6261a0822b
parent476366af6902bb771f71dd4746632bc466b65ddb
This patch assigns explicit integers to enum values corresponding
to the plugin API.  This patch helps preventing problems while
cherry-picking plugin-api.h changes from trunk gold to local branches.
For instance, a linker plugin compiled with a cherry-picked
plugin-api.h header with some enum values missing will behave
strangely when used with a linker built with the up to date header.

* plugin-api.h (enum ld_plugin_level): Assign integers
explicitly for all values.
include/ChangeLog
include/plugin-api.h