summaryrefslogtreecommitdiff
path: root/gas/as.c
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/as.c
parentf45e2a7704c738ba8195a667f910297c4155924e (diff)
downloadbinutils-gdb-5f71e59e1a284eec67ba2a91851d0ec8319b0b95.tar.gz
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/as.c')
-rw-r--r--gas/as.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/as.c b/gas/as.c
index fbf3257fbbf..5c9c07e5e0d 100644
--- a/gas/as.c
+++ b/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"