Assign integers explicity to enum values corresponding to the plugin API

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


cc:binutils@sourceware.org

On Mon, Feb 11, 2013 at 11:01 AM, Sriraman Tallam <tmsriram@google.com> wrote:
> Hi,
>
>    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.
>
>
> Thanks
> Sri



More information about the Binutils mailing list