2003-09-08 Dave Brolley <brolley@redhat.com>
On behalf of Doug Evans <dje@sebabeach.org> * cgen.sh: New arg archfile. * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode, cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
This commit is contained in:
parent
9c2de72926
commit
ea52ff81ba
|
@ -1,3 +1,10 @@
|
||||||
|
2003-09-08 Dave Brolley <brolley@redhat.com>
|
||||||
|
|
||||||
|
On behalf of Doug Evans <dje@sebabeach.org>
|
||||||
|
* cgen.sh: New arg archfile.
|
||||||
|
* Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
|
||||||
|
cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
|
||||||
|
|
||||||
2003-08-28 Andrew Cagney <cagney@redhat.com>
|
2003-08-28 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
|
* dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
|
||||||
|
|
|
@ -674,31 +674,37 @@ CGEN_FLAGS_TO_PASS = \
|
||||||
cgen-arch: force
|
cgen-arch: force
|
||||||
$(SHELL) $(srccom)/cgen.sh arch $(srcdir) \
|
$(SHELL) $(srccom)/cgen.sh arch $(srcdir) \
|
||||||
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
||||||
$(arch) "$(FLAGS)" ignored "$(isa)" $(mach) ignored ignored
|
$(arch) "$(FLAGS)" ignored "$(isa)" $(mach) ignored \
|
||||||
|
$(archfile) ignored
|
||||||
|
|
||||||
cgen-cpu: force
|
cgen-cpu: force
|
||||||
$(SHELL) $(srccom)/cgen.sh cpu $(srcdir) \
|
$(SHELL) $(srccom)/cgen.sh cpu $(srcdir) \
|
||||||
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
||||||
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
|
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \
|
||||||
|
$(archfile) "$(EXTRAFILES)"
|
||||||
|
|
||||||
cgen-defs: force
|
cgen-defs: force
|
||||||
$(SHELL) $(srccom)/cgen.sh defs $(srcdir) \
|
$(SHELL) $(srccom)/cgen.sh defs $(srcdir) \
|
||||||
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
||||||
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored
|
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \
|
||||||
|
$(archfile) ignored
|
||||||
|
|
||||||
cgen-decode: force
|
cgen-decode: force
|
||||||
$(SHELL) $(srccom)/cgen.sh decode $(srcdir) \
|
$(SHELL) $(srccom)/cgen.sh decode $(srcdir) \
|
||||||
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
||||||
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
|
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \
|
||||||
|
$(archfile) "$(EXTRAFILES)"
|
||||||
|
|
||||||
cgen-cpu-decode: force
|
cgen-cpu-decode: force
|
||||||
$(SHELL) $(srccom)/cgen.sh cpu-decode $(srcdir) \
|
$(SHELL) $(srccom)/cgen.sh cpu-decode $(srcdir) \
|
||||||
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
||||||
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
|
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \
|
||||||
|
$(archfile) "$(EXTRAFILES)"
|
||||||
|
|
||||||
cgen-desc: force
|
cgen-desc: force
|
||||||
$(SHELL) $(srccom)/cgen.sh desc $(srcdir) \
|
$(SHELL) $(srccom)/cgen.sh desc $(srcdir) \
|
||||||
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
$(CGEN) $(CGENDIR) "$(CGENFLAGS)" \
|
||||||
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" ignored
|
$(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \
|
||||||
|
$(archfile) ignored
|
||||||
|
|
||||||
## End COMMON_POST_CONFIG_FRAG
|
## End COMMON_POST_CONFIG_FRAG
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# Usage: /bin/sh cgen.sh {"arch"|"cpu"|"decode"|"defs"|"cpu-decode"} \
|
# Usage: /bin/sh cgen.sh {"arch"|"cpu"|"decode"|"defs"|"cpu-decode"} \
|
||||||
# srcdir cgen cgendir cgenflags \
|
# srcdir cgen cgendir cgenflags \
|
||||||
# arch archflags cpu mach suffix extrafiles
|
# arch archflags cpu mach suffix archfile extrafiles
|
||||||
#
|
#
|
||||||
# We store the generated files in the source directory until we decide to
|
# We store the generated files in the source directory until we decide to
|
||||||
# ship a Scheme interpreter (or other implementation) with gdb/binutils.
|
# ship a Scheme interpreter (or other implementation) with gdb/binutils.
|
||||||
|
@ -24,6 +24,7 @@ isa=$9
|
||||||
# portably bring parameters beyond $9 into view
|
# portably bring parameters beyond $9 into view
|
||||||
shift ; mach=$9
|
shift ; mach=$9
|
||||||
shift ; suffix=$9
|
shift ; suffix=$9
|
||||||
|
shift ; archfile=$9
|
||||||
shift ; extrafiles=$9
|
shift ; extrafiles=$9
|
||||||
|
|
||||||
rootdir=${srcdir}/../..
|
rootdir=${srcdir}/../..
|
||||||
|
@ -57,7 +58,7 @@ arch)
|
||||||
${cgenflags} \
|
${cgenflags} \
|
||||||
-f "${archflags}" \
|
-f "${archflags}" \
|
||||||
-m ${mach} \
|
-m ${mach} \
|
||||||
-a ${arch} \
|
-a ${archfile} \
|
||||||
-i ${isa} \
|
-i ${isa} \
|
||||||
-A tmp-arch.h1 \
|
-A tmp-arch.h1 \
|
||||||
-B tmp-arch.c1 \
|
-B tmp-arch.c1 \
|
||||||
|
@ -111,7 +112,7 @@ cpu | decode | cpu-decode)
|
||||||
${cgenflags} \
|
${cgenflags} \
|
||||||
-f "${archflags}" \
|
-f "${archflags}" \
|
||||||
-m ${mach} \
|
-m ${mach} \
|
||||||
-a ${arch} \
|
-a ${archfile} \
|
||||||
-i ${isa} \
|
-i ${isa} \
|
||||||
${fileopts}
|
${fileopts}
|
||||||
|
|
||||||
|
@ -180,7 +181,7 @@ defs)
|
||||||
${cgenflags} \
|
${cgenflags} \
|
||||||
-f "${archflags}" \
|
-f "${archflags}" \
|
||||||
-m ${mach} \
|
-m ${mach} \
|
||||||
-a ${arch} \
|
-a ${archfile} \
|
||||||
-i ${isa} \
|
-i ${isa} \
|
||||||
-G tmp-defs.h1
|
-G tmp-defs.h1
|
||||||
sed $sedscript < tmp-defs.h1 > tmp-defs.h
|
sed $sedscript < tmp-defs.h1 > tmp-defs.h
|
||||||
|
@ -197,7 +198,7 @@ desc)
|
||||||
${cgenflags} \
|
${cgenflags} \
|
||||||
-f "${archflags}" \
|
-f "${archflags}" \
|
||||||
-m ${mach} \
|
-m ${mach} \
|
||||||
-a ${arch} \
|
-a ${archfile} \
|
||||||
-i ${isa} \
|
-i ${isa} \
|
||||||
-H tmp-desc.h1 \
|
-H tmp-desc.h1 \
|
||||||
-C tmp-desc.c1 \
|
-C tmp-desc.c1 \
|
||||||
|
|
Loading…
Reference in New Issue