This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Assign integers explicity to enum values corresponding to the plugin API
- From: Sriraman Tallam <tmsriram at google dot com>
- To: Ian Lance Taylor <iant at google dot com>, Cary Coutant <ccoutant at google dot com>, David Li <davidxl at google dot com>, binutils <binutils at sourceware dot org>
- Date: Mon, 11 Feb 2013 11:02:09 -0800
- Subject: Re: Assign integers explicity to enum values corresponding to the plugin API
- References: <CAAs8HmywPvi9LQf1cBS8A_EQjLT0N36X5EVnHd5obiYyOS8y_g@mail.gmail.com>
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