[PATCH] Fix build error with --enable-targets=all.

Jim Wilson jimw@sifive.com
Thu Nov 23 20:36:00 GMT 2017


On Wed, Nov 22, 2017 at 7:15 PM, Jim Wilson <jimw@sifive.com> wrote:

> It only fails with --enable-targets=all, which is something I didn't think
> to
> check.  I can fix it with the following patch.  This assumes we won't add
> anything else to as.c that uses FAKE_LABEL_NAME, so we can just disable the
> setting in obj-multi.h for this file.  I can't think of anything more
> elegant
> at the moment.
>
>         gas/
>         * as.c (INITIALIZING_EMULS): Define.
>         * config/obj-multi.h (FAKE_LABEL_NAME): When INITIALIZING_EMULS
> set,
>         don't define it.
>

Committed.  So that enable-targets=all builds work again.  If you don't
like this patch, we can revise it later.

Jim



More information about the Binutils mailing list