mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
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:
@ -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>
|
2017-11-23 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
||||||
|
|
||||||
* testsuite/gas/i386/avx512f_vaes-intel.d: Regenerate.
|
* testsuite/gas/i386/avx512f_vaes-intel.d: Regenerate.
|
||||||
|
4
gas/as.c
4
gas/as.c
@ -31,6 +31,10 @@
|
|||||||
|
|
||||||
#define COMMON
|
#define COMMON
|
||||||
|
|
||||||
|
/* Disable code to set FAKE_LABEL_NAME in obj-multi.h, to avoid circular
|
||||||
|
reference. */
|
||||||
|
#define INITIALIZING_EMULS
|
||||||
|
|
||||||
#include "as.h"
|
#include "as.h"
|
||||||
#include "subsegs.h"
|
#include "subsegs.h"
|
||||||
#include "output-file.h"
|
#include "output-file.h"
|
||||||
|
@ -155,7 +155,10 @@
|
|||||||
|
|
||||||
#define EMIT_SECTION_SYMBOLS (this_format->emit_section_symbols)
|
#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)
|
#define FAKE_LABEL_NAME (this_emulation->fake_label_name)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef OBJ_MAYBE_ELF
|
#ifdef OBJ_MAYBE_ELF
|
||||||
/* We need OBJ_SYMFIELD_TYPE so that symbol_get_obj is defined in symbol.c
|
/* We need OBJ_SYMFIELD_TYPE so that symbol_get_obj is defined in symbol.c
|
||||||
|
Reference in New Issue
Block a user