Assign integers explicity to enum values corresponding to the plugin API

Sriraman Tallam tmsriram@google.com
Mon Feb 11 19:37:00 GMT 2013


Thanks, committed now. I will update the copy in gcc tree with this change asap.


Sri

On Mon, Feb 11, 2013 at 11:21 AM, Ian Lance Taylor <iant@google.com> wrote:
>>> On Mon, Feb 11, 2013 at 11:01 AM, Sriraman Tallam <tmsriram@google.com> wrote:
>>>>
>>>>    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.
>
> This is OK.
>
> Thanks.
>
> Ian



More information about the Binutils mailing list