aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2017-11-23 12:30:47 -0800
committerJim Wilson <jimw@sifive.com>2017-11-23 12:30:47 -0800
commit5f71e59e1a284eec67ba2a91851d0ec8319b0b95 (patch)
tree5447ca328741a72cdd8e087ef38d3803bcf8fe95 /gas/config
parentf45e2a7704c738ba8195a667f910297c4155924e (diff)
downloadgdb-5f71e59e1a284eec67ba2a91851d0ec8319b0b95.zip
gdb-5f71e59e1a284eec67ba2a91851d0ec8319b0b95.tar.gz
gdb-5f71e59e1a284eec67ba2a91851d0ec8319b0b95.tar.bz2
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-multi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/obj-multi.h b/gas/config/obj-multi.h
index 74f254b..5bde426 100644
--- a/gas/config/obj-multi.h
+++ b/gas/config/obj-multi.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