aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-03-09 08:23:46 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-03-09 08:23:46 -0700
commit384f368958f2a5bb083660e58e5f8a010e6ad429 (patch)
tree4d4bedb95a27d69fd9dcd2f5c40210d6eaec92a9 /opcodes
parent0ba678c9ae62c20bb7f2370f51a4e9f1c8f2f409 (diff)
downloadgdb-384f368958f2a5bb083660e58e5f8a010e6ad429.zip
gdb-384f368958f2a5bb083660e58e5f8a010e6ad429.tar.gz
gdb-384f368958f2a5bb083660e58e5f8a010e6ad429.tar.bz2
x86: Also pass -P to $(CPP) when processing i386-opc.tbl
Since i386-opc.tbl contains '\' to avoid very long lines and i386-gen requires that each instruction must be in one line, also pass -P to $(CPP) to inhibit generation of linemarkers in the output from the preprocessor to support i386-gen. * Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP). * Makefile.in: Regenerated.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/Makefile.am2
-rw-r--r--opcodes/Makefile.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 47a6372..62a843a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP).
+ * Makefile.in: Regenerated.
+
2020-03-09 Jan Beulich <jbeulich@suse.com>
* i386-opc.tbl (avx_irel): New. Use is for AVX512 vpcmp*
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 4f06074..7318bf0 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -561,7 +561,7 @@ $(srcdir)/i386-tbl.h: $(srcdir)/i386-init.h
@echo $@
$(srcdir)/i386-init.h: @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg.tbl i386-opc.h
- $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
< $(srcdir)/i386-opc.tbl \
| ./i386-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir)
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index 8564803..ddb9346 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -1535,7 +1535,7 @@ $(srcdir)/i386-tbl.h: $(srcdir)/i386-init.h
@echo $@
$(srcdir)/i386-init.h: @MAINT@ i386-gen$(EXEEXT_FOR_BUILD) i386-opc.tbl i386-reg.tbl i386-opc.h
- $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
+ $(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - \
< $(srcdir)/i386-opc.tbl \
| ./i386-gen$(EXEEXT_FOR_BUILD) --srcdir $(srcdir)