This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD] handle more ppc relocs
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Tue, 4 Sep 2012 21:30:45 -0700
- Subject: Re: [GOLD] handle more ppc relocs
- References: <20120905025720.GR3159@bubble.grove.modra.org>
On Tue, Sep 4, 2012 at 7:57 PM, Alan Modra <amodra@gmail.com> wrote:
>
> - enum overflow_status
> + typedef enum overflow_status
> {
> status_ok,
> status_overflow
> - };
> + } Status;
This is C++. You can just write
enum Status
...
That will make Status a typedef.
Also, note that gold normally uses all upper case for enum constants.
Ian