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.
This commit is contained in:
Sriraman Tallam
2013-02-11 19:36:56 +00:00
parent 6fb8fc9012
commit eb2f8e51cc
2 changed files with 32 additions and 27 deletions

View File

@ -1,3 +1,8 @@
2013-02-11 Sriraman Tallam <tmsriram@google.com>
* plugin-api.h (enum ld_plugin_level): Assign integers
explicitly for all values.
2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>