From 5ca975dd60349a4b8f3f5effdf95764238d8347f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20F=C3=A4rber?= Date: Sat, 4 Oct 2008 19:11:10 +0000 Subject: [PATCH] 2008-10-04 Andreas Faerber * Makefile.am: Add build rules for ppc64. This avoids the build failing at pedump with unresolved symbols due to lack of arch_sources. Instead it will now fail earlier due to lack of cpu-ppc64.md. This commit is licensed under the MIT X11 license. svn path=/trunk/mono/; revision=114845 --- mono/mini/ChangeLog | 9 +++++++++ mono/mini/Makefile.am | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index 16a8c53b524..f90a5709b17 100644 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,3 +1,12 @@ +2008-10-04 Andreas Färber + + * Makefile.am: Add build rules for ppc64. + This avoids the build failing at pedump with unresolved symbols + due to lack of arch_sources. Instead it will now fail earlier + due to lack of cpu-ppc64.md. + + Contributed under MIT/X11 license. + 2008-10-04 Mark Probst * mini-amd64.c (mono_arch_emit_call): Support stack arguments for diff --git a/mono/mini/Makefile.am b/mono/mini/Makefile.am index 2fe2c4f44eb..a5724224ffa 100644 --- a/mono/mini/Makefile.am +++ b/mono/mini/Makefile.am @@ -309,6 +309,13 @@ arch_built=cpu-ppc.h arch_define=__ppc__ endif +if POWERPC64 +arch_sources = $(ppc_sources) +arch_BURGSRC= $(srcdir)/inssel-long.brg $(srcdir)/inssel-ppc.brg +arch_built=cpu-ppc64.h +arch_define=__ppc__ +endif + if MIPS arch_sources = $(mips_sources) arch_BURGSRC= $(srcdir)/inssel-long32-mips.brg $(srcdir)/inssel-mips.brg @@ -435,6 +442,9 @@ cpu-amd64.h: cpu-amd64.md genmdesc$(EXEEXT) cpu-ppc.h: cpu-ppc.md genmdesc$(EXEEXT) $(GENMDESC_PRG) $(srcdir)/cpu-ppc.md cpu-ppc.h ppcg4 +cpu-ppc64.h: cpu-ppc64.md genmdesc$(EXEEXT) + $(GENMDESC_PRG) $(srcdir)/cpu-ppc64.md cpu-ppc64.h ppcg4 + cpu-arm.h: cpu-arm.md genmdesc$(EXEEXT) $(GENMDESC_PRG) $(srcdir)/cpu-arm.md cpu-arm.h arm_cpu_desc -- 2.25.1