Fix build error with --enable-targets=all.
gas/ * as.c (INITIALIZING_EMULS): Define. * config/obj-multi.h (FAKE_LABEL_NAME): When INITIALIZING_EMULS set, don't define it.
This commit is contained in:
parent
f45e2a7704
commit
5f71e59e1a
@ -1,3 +1,9 @@
|
||||
2017-11-23 Jim Wilson <jimw@sifive.com>
|
||||
|
||||
* as.c (INITIALIZING_EMULS): Define.
|
||||
* config/obj-multi.h (FAKE_LABEL_NAME): When INITIALIZING_EMULS set,
|
||||
don't define it.
|
||||
|
||||
2017-11-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
||||
|
||||
* testsuite/gas/i386/avx512f_vaes-intel.d: Regenerate.
|
||||
|
4
gas/as.c
4
gas/as.c
@ -31,6 +31,10 @@
|
||||
|
||||
#define COMMON
|
||||
|
||||
/* Disable code to set FAKE_LABEL_NAME in obj-multi.h, to avoid circular
|
||||
reference. */
|
||||
#define INITIALIZING_EMULS
|
||||
|
||||
#include "as.h"
|
||||
#include "subsegs.h"
|
||||
#include "output-file.h"
|
||||
|
@ -155,7 +155,10 @@
|
||||
|
||||
#define EMIT_SECTION_SYMBOLS (this_format->emit_section_symbols)
|
||||
|
||||
#ifndef INITIALIZING_EMULS
|
||||
/* We want to use the default FAKE_LABEL_NAME in as.c. */
|
||||
#define FAKE_LABEL_NAME (this_emulation->fake_label_name)
|
||||
#endif
|
||||
|
||||
#ifdef OBJ_MAYBE_ELF
|
||||
/* We need OBJ_SYMFIELD_TYPE so that symbol_get_obj is defined in symbol.c
|
||||
|
Loading…
Reference in New Issue
Block a user