From adf98d187e190b582aa562f9ea892938c36c7fd0 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 7 Jun 2005 17:54:14 +0000 Subject: [PATCH] gas: * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h * config/tc-xtensa.c, config/tc-z8k.c: Replace all instances of the string "_apply_fix3" with "_apply_fix". * po/POTFILES.in, po/gas.pot: Regenerate. bfd: * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. cgen: * doc/porting.texi: Change all mention of md_apply_fix3 and gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix respectively. --- ChangeLog | 104 +++++++++++++++++++++++++---------------------- doc/porting.texi | 8 ++-- 2 files changed, 59 insertions(+), 53 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9250608..a01a918 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-06-07 Zack Weinberg + + * doc/porting.texi: Change all mention of md_apply_fix3 and + gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix + respectively. + 2005-05-18 Dave Brolley * utils-sim.scm (-gen-decode-default-entry): New function. @@ -22,9 +28,9 @@ 2005-05-06 Jim Blandy * pprint.scm, cos-pprint.scm: Add documentation. - + * pprint.scm (pprint): Don't wipe out elide-table after each call. - + * pprint.scm, cos-pprint.scm: New files. 2005-04-04 Nick Clifton @@ -143,7 +149,7 @@ 2005-01-20 Jim Blandy - * opcodes.scm (gen-switch): Use concat instead of string-map. + * opcodes.scm (gen-switch): Use concat instead of string-map. * utils.scm (concat): New function. * insn.scm (-sub-insn-make!): Use concat instead of string-map. @@ -565,7 +571,7 @@ media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd, cmhtob): Use new operands. * cpu/frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define. - (parse_even_register): New function. + (parse_even_register): New function. 2003-06-04 Doug Evans @@ -873,7 +879,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke From Robert Cragie : * cpu/arm7.cpu (ldm*-sw*, stm*-sw*): New instructions. - + 2002-07-17 Frank Ch. Eigler Ben Elliston John Healy @@ -1001,7 +1007,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke (cgen-defs.h): Likewise. (cgen-write.cxx): Likewise. (cgen-semantics.cxx): Likewise. - (cgen-sem-switch.cxx): Likewise. + (cgen-sem-switch.cxx): Likewise. * sid-decode.scm (cgen-decode.h): Likewise. (cgen-decode.cxx): Likewise. * sid-model.scm (cgen-model.cxx): Likewise. @@ -1056,7 +1062,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke * utils-gen.scm (-gen-extract-word): Correct computation of the length of the field being extracted. -2001-10-29 Johan Rydberg +2001-10-29 Johan Rydberg * doc/rtl.texi (Expressions): Document the (error ..), (sqrt ..), (cos ...) and (sin ..) rtx. @@ -1193,7 +1199,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke @PREFIX@_INSN_MAX. * sid.scm (gen-cpu-insn-enum-decl): Do not append a dummy `max' instruction onto the instruction list. - + * sim-decode.scm (@prefix@_init_idesc_table): Compute tabsize using the size of the table and its elements. (-gen-decode-insn-globals): Define the idesc table's size to be @@ -1403,7 +1409,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke 2000-11-20 Frank Ch. Eigler - * opc-itab.scm (-gen-ifmt-table, -gen-macro-insn-table: Remove + * opc-itab.scm (-gen-ifmt-table, -gen-macro-insn-table: Remove unneeded "\n\n" from F() macro definition. 2000-11-15 Greg McGary @@ -1550,7 +1556,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke * hardware.scm ( get-index-mode): Define method. * operand.scm ( gen-pretty-name): Tolerate no op:sem-name. * rtl-c.scm (-c-rtl-get): Improve an error message. - * sim.scm (-op-gen-set-trace): Support lvalues. + * sim.scm (-op-gen-set-trace): Support lvalues. 2000-08-22 Frank Ch. Eigler @@ -1663,7 +1669,7 @@ Fri Feb 21 19:48:19 2003 J"orn Rennecke Exclude multi-insns. * sim-decode.scm (cgen-decode.h, cgen-decode.cxx): Ditto. * utils-sim.scm (op-extract?): Handle derived operands. - + * gas-test.scm (cgen-build.sh): Quote '*' chars printed by objdump. * semantics.scm (-build-operand!): Handle 'DFLT case during parsing. * hardware.scm (hardware-for-mode): New function. @@ -1934,7 +1940,7 @@ Fri Apr 21 22:18:48 2000 Jim Wilson * doc/porting.texi (Supported Guile versions): Likewise. 2000-03-16 Frank Ch. Eigler - + * sid-cpu.scm (-gen-sem-switch-engine): Adjust calling & callback convention to new sid sidutil::basic_cpu code. (-gen-sfrag-engine-fn): Ditto. @@ -1942,7 +1948,7 @@ Fri Apr 21 22:18:48 2000 Jim Wilson (-hw-gen-set-quiet-pc): Mark delay slot execution specially in pbb mode. (cxmake-skip): Implement properly for pbb mode. - + 2000-03-03 Ben Elliston * doc/internals.texi: New file. @@ -1955,7 +1961,7 @@ Fri Apr 21 22:18:48 2000 Jim Wilson 2000-02-25 Nick Clifton * desc-cpu.scm (*_cgen_cpu_open): Initialise signed_overflow_ok_p - field. + field. Thu Feb 24 14:09:01 2000 Doug Evans @@ -1964,7 +1970,7 @@ Thu Feb 24 14:09:01 2000 Doug Evans 2000-02-23 Andrew Haley - * m32r.cpu (pcmpbz): Make pcmpbz a special (i.e. hidden) + * m32r.cpu (pcmpbz): Make pcmpbz a special (i.e. hidden) instruction. 2000-02-24 Ben Elliston @@ -1987,7 +1993,7 @@ Thu Feb 24 14:09:01 2000 Doug Evans (-frag-cost-compute!): Ditto. * utils.scm (copyright-cygnus): Add Y2K. * sid-cpu.scm (@prefix@_pbb_run): Add unsigned& argument. - + 2000-01-25 Nick Clifton * desc-cpu.scm (@arch@_cgen_cpu_open): Add code to initialise @@ -2227,7 +2233,7 @@ Wed Sep 29 14:39:39 1999 Dave Brolley @prefix@_sem_fn. (cgen-decode.h): Add using namespace @arch@. (cgen-decode.cxx): Include @cpu@.h instead of @arch@-main.h. - + * rtl-c.scm (): New member output-language. (estate-output-language-c?,estate-output-language-c++?): New procs. (,vmake!): Handle #:output-language. @@ -2261,7 +2267,7 @@ Tue Sep 21 17:12:55 1999 Dave Brolley * sid.scm (,cxmake-skip): New method. (,cxmake-skip): New method. - + * decode.scm (decode-build-table): Delete args startbit,index-list. All callers updated. * utils-sim.scm (gen-decoder): Delete args startbit,index-list. @@ -2269,7 +2275,7 @@ Tue Sep 21 17:12:55 1999 Dave Brolley * sim-decode.scm (-gen-decode-fn): Always pass 0 for startbit to decode-get-best-bits. * sid-decode.scm (-gen-decode-fn): Ditto. - + * hardware.scm (hw-bits): New proc. (-hw-parse): New arg layout. All callers updated. (define-full-hardware): New arg layout. All callers updated. @@ -2472,7 +2478,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans (gen-reg-access-defn): Ditto. (-gen-hw-addr): Rewrite. (-op-gen-queued-write): Rewrite. - * sim-cpu.scm (-gen-cpu-reg-access-decls): + * sim-cpu.scm (-gen-cpu-reg-access-decls): (-gen-scache-semantic-fn): Handle with-generic-write. (-gen-no-scache-semantic-fn): Ditto. @@ -2530,7 +2536,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans * sim-decode.scm (-gen-decoder-switch): Ditto. * sid-decode.scm (-gen-decode-expr-entry): Ditto. (-gen-decoder-switch): Ditto. - + * insn.scm (insn-virtual?): New proc. * enum.scm (gen-enum-decl): Speed up, build string as list and then @@ -2623,7 +2629,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans gen-sfmt-argvars-foo and rewrite. (-gen-record-args): Rewrite. (-gen-extract-case): Tweak. - + * cgen-gh.c (gh_putc,gh_puts): New functions. * cgen-gh.h (gh_putc,gh_puts): Declare them. * cos.c (_object_print_elms,_object_print): Use them. @@ -2637,14 +2643,14 @@ Wed Aug 18 15:04:30 1999 Doug Evans * dev.scm (load-opc): Use load instead of maybe-load. (load-gtest,load-sim,load-stest): Ditto. (load-sid): Ditto. - + 1999-07-23 Doug Evans * sid-cpu.scm (-gen-sem-switch-engine): Move definition of `count' up to avoid g++ 'goto crosses initialization' warning. (-gen-sfrag-engine-fn): Delete vpc arg to NEXT_FRAG. (-gen-sfrag-case): Update use of NEXT_FRAG. - + 1999-07-22 Doug Evans * cos.c (cos_init): Protect _make_x_symbol from garbage collection. @@ -2676,7 +2682,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans * insn.scm (*): Update. * mach.scm (*): Update. * sid.scm (*): Update. - + 1999-07-19 Doug Evans Record objects as a smob. @@ -2728,7 +2734,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans * cgen-gas.scm (cgen): Ditto. * cgen-stest.scm (cgen): Ditto. * cgen-sid.scm (cgen): Ditto. - + 1999-07-05 Doug Evans * opc-asmdis.scm (-gen-parse-switch): New local var `junk'. @@ -2750,7 +2756,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans (-gen-hw-index): Ditto. * sid.scm (-gen-hw-index-raw): Handle scalar indices. (-gen-hw-index): Ditto. - + * sem-frags.scm: New file. * attr.scm (attr-parse): Add better checking of input. @@ -2858,12 +2864,12 @@ Wed Aug 18 15:04:30 1999 Doug Evans with gen-define-ifields. Ditto for gen-extract-foo. (-gen-decode-fn): Use gen-ifld-extract-decl/gen-ifld-extract procs rather than method calls. - + 1999-06-18 Doug Evans * sid.scm (-create-virtual-insns!): New local `context', pass it to insn-read. - + * rtl.scm (-rtx-traverse): Output symbol shortcuts in source form, (operand name) not (operand object), (local name) not (local object). (rtx-traverse-with-locals): New proc. @@ -2911,7 +2917,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans * sim.scm (sim-finish!): Update. * simplify.inc: (define-normal-insn): Update. * sid-cpu.scm (gen-semantic-code): Update. - + * iformat.scm (-ifmt-lookup-ifmt!): Use insn-set-ifmt!. (-ifmt-lookup-sfmt!): Use insn-set-sfmt!. (ifmt-compute!): Ditto. @@ -2975,7 +2981,7 @@ Wed Aug 18 15:04:30 1999 Doug Evans (-hw-gen-set-quiet): s/FUN-ACCESS/FUN-SET/. (,cxmake-get): Tweak. (sim-finish!): Delete FUN-ACCESS attribute. Create FUN-GET,FUN_SET. - + 1999-06-07 Doug Evans * thumb.cpu (dnti): Delete timing spec. @@ -3121,7 +3127,7 @@ Thu Jun 3 16:00:40 1999 Doug Evans * sim.scm (,gen-profile-index-type): Use "unsigned short" if there's more than 255 registers. * sid.scm (,gen-profile-index-type): Ditto. - + * hardware.scm (-hw-parse): Flag as error CACHE-ADDR specified with get/set specs. @@ -3158,7 +3164,7 @@ Thu Jun 3 16:00:40 1999 Doug Evans * sid.scm (,cxmake-get): Call GETMEM method, not function. (,gen-set-quiet): Call SETMEM method, not function. - + * utils-cgen.scm (keyword-list->arg-list): Fix call to substring, hobbit can't handle optional third arg. @@ -3181,7 +3187,7 @@ Thu Jun 3 16:00:40 1999 Doug Evans * sid-cpu.scm (-gen-hardware-types): Rename @cpu@_cpu to @cpu@_cpu_cgen. - + * attr.scm (obj-prepend-atlist!): New proc. * opc-opinst.scm (cgen-opinst.c): Analyze instructions if necessary. @@ -3212,7 +3218,7 @@ Thu Jun 3 16:00:40 1999 Doug Evans (cgen-semantics.cxx): @arch@-cgen.h renamed to @arch@-main.h. * sid-decode.scm (cgen-decode.cxx): Ditto. * sid-model.scm (cgen-model.cxx): Ditto. - + * utils-cgen.scm (context-error): Accept variable number of trailing args. @@ -3428,7 +3434,7 @@ Mon Apr 26 10:30:18 1999 Doug Evans (ldm-p): Reverse the order of register processing for decrement. (stm-p): Likewise. (stbi): Remove; handled by the str-* insns. - + 1999-04-21 Doug Evans * thumb.cpu (cmp): Fix carry bit computation. @@ -3624,7 +3630,7 @@ Mon Apr 26 10:30:18 1999 Doug Evans * simplify.inc (define-normal-insn): Update call to define-full-insn. * sid-cpu.scm (gen-semantic-code): Handle insn-condition. * sid.scm (sim-finish!): Update call to define-full-insn. - + Tue Apr 13 17:04:34 1999 Doug Evans * Makefile.am (sim-cpu): Allow specification of ISA. @@ -3809,7 +3815,7 @@ Fri Apr 9 19:26:28 1999 Jim Wilson (with-sem-switch?): New proc. (-op-gen-set-trace): Only emit `written' reference if profiling. (sim-finish!): Use h_pc_set to set pc. - + 1999-03-30 Doug Evans * sparccom.cpu (arith-cc-binop): New args s32-set-flags,s64-set-flags. @@ -3819,7 +3825,7 @@ Fri Apr 9 19:26:28 1999 Jim Wilson * sid.scm (gen-argbuf-type): Delete. (-gen-argbuf-fields-union): Move to ... * sid-decode.scm: ... here. - + * read.scm (-reader-process-expanded-1): New proc. (-reader-process-expanded): Call it to catch nested begin's. (reader-process): Move `begin' handling to -reader-process-expanded. @@ -3887,7 +3893,7 @@ Fri Apr 9 19:26:28 1999 Jim Wilson * cgen-sid.scm: Don't load sid-arch.scm. (sim-arguments): Delete unused entries. * sid-arch.scm: Delete. - + * insn.scm (,iflds): Renamed from flds. All uses updated. (,ifld-assertions): New member. (,make!): New arg ifld-assertions, all callers updated. @@ -4065,7 +4071,7 @@ Fri Apr 9 19:26:28 1999 Jim Wilson (-opt-spec-update): New proc. (common-arguments): First arg is string, not symbol. (-cgen): Call -opt-spec-update. Rewrite argument parsing. - + * rtl.scm (rtx-get): Default mode of string arg is INT. * rtl.scm (s-subword): Renamed from s-subreg. All uses updated. @@ -4082,7 +4088,7 @@ Fri Apr 9 19:26:28 1999 Jim Wilson (-extract-chunk): New proc. (-gen-extract-beyond-var-list): Use it. (gen-extract-fields): Simplify. - + 1999-03-22 Ben Elliston * arm7.cpu (ldri-p): New instruction. @@ -4090,7 +4096,7 @@ Fri Apr 9 19:26:28 1999 Jim Wilson (addi): Reinstate. (movi): Likewise. (all): Use (const x) in subreg expressions. - + 1999-03-19 Ben Elliston * arm7.cpu (smull): Use operand field `rs', not `mul-rn'. Thinko. @@ -4150,7 +4156,7 @@ Tue Mar 16 13:22:01 1999 Doug Evans * thumb.cpu (h-gr-t,h-lr-t,h-sp-t,dnti,h-hiregs): s/MACH/ISA/. * sid-decode.scm (cgen-decode.c): Call rtl-gen-init!. - + 1999-03-11 Doug Evans * hardware.scm (,mode-ok?): Ensure result is boolean. @@ -4246,7 +4252,7 @@ Tue Mar 16 13:22:01 1999 Doug Evans (-op-gen-set-quiet,-op-gen-set-quiet-parallel): New arg `gstate'. (-op-gen-set-trace,-op-gen-set-trace-parallel): Ditto. (,gen-profile-code): Update to sim.scm version. - + * sim-arch.scm (-regs-for-access-fns): New proc. (-biggest-reg-mode): New proc. (-gen-arch-reg-access-decls,-gen-arch-reg-access-defns): Rewrite. @@ -4440,7 +4446,7 @@ Tue Mar 16 13:22:01 1999 Doug Evans * utils.scm (alist-remove-duplicates): Delete. * sid.scm (sim-init!): Delete private debugging code. - + 1999-03-10 Frank Ch. Eigler * cgen-sid.scm: New file for C++ simulator application. @@ -4450,7 +4456,7 @@ Tue Mar 16 13:22:01 1999 Doug Evans * sid-model.scm: Ditto. * sid.scm: Ditto. * utils-cgen.scm (gen-mach-sid-name): Remove this accident. - + 1999-03-05 Ben Elliston * arm.cpu: New file. @@ -5086,7 +5092,7 @@ Tue Feb 23 12:10:29 1999 Doug Evans (<{integer,enum}-attribute>,gen-value-for-defn): Ditto. * dev.scm: Add sid support. - + * Makefile.am (opcodes,sim-arch,sim-cpu): New targets. (CLEANFILES): Add tmp-*. * Makefile.in: Rebuild. @@ -5881,7 +5887,7 @@ Mon Nov 9 12:07:56 1998 Dave Brolley * Makefile.in: Regenerate. * fr30.cpu (add): Change ADD to add. Add more registers and set status bits on 'add' instruction. - + Fri Nov 6 18:15:05 1998 James E Wilson * sim.scm (-gen-arch-model-decls): Default MAX_UNITS to 1 instead diff --git a/doc/porting.texi b/doc/porting.texi index 2df62e9..9d748ef 100644 --- a/doc/porting.texi +++ b/doc/porting.texi @@ -777,11 +777,11 @@ they should be used unless it's not possible). @item After parsing an instruction, call this to add the instruction to the frag and queue any fixups. @end itemize - @item @code{gas_cgen_md_apply_fix3} + @item @code{gas_cgen_md_apply_fix} @itemize @minus - @item Provides basic @code{md_apply_fix3} support. - @item @code{#define md_apply_fix3 - gas_cgen_md_apply_fix3} if you're able to use + @item Provides basic @code{md_apply_fix} support. + @item @code{#define md_apply_fix + gas_cgen_md_apply_fix} if you're able to use it. @end itemize @item @code{gas_cgen_tc_gen_reloc} -- 2.43.5