old-cross-binutils/gas/config
Jan Beulich a724f0f4f5 gas/
2005-03-17  Jan Beulich  <jbeulich@novell.com>

	* config/tc-i386.c (i386_scale): Beautify error message.
	(Intel syntax comments): Update.
	(struct intel_parser_s): Add fields in_offset, in_bracket, and
	next_operand.
	(intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
	Remove declarations.
	(intel_bracket_expr): Declare.
	(i386_intel_operand): Initialize new intel_parser fields. Wrap most
	of the function body in a loop allowing to split an operand into two.
	Replace calls to malloc and checks of it returning non-NULL with
	calls to xmalloc/xstrdup.
	(intel_expr): SHORT no longer handled here. Add comment indicating
	comparison ops need implementation.
	(intel_e04, intel_e04_1): Combine, replace recursion with loop.
	Check right operand of - does not specify a register when parsing
	the address of a memory reference.
	(intel_e05, intel_e05_1): Combine, replace recursion with loop.
	Check operands do not specify a register when parsing the address of
	a memory reference.
	(intel_e06, intel_e06_1): Likewise.
	(intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
	handle SHORT as well as unary + and -. Don't accept : except for
	segment overrides or in direct far jump/call insns.
	(intel_brack_expr): New.
	(intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
	intel_brack_expr.
	(intel_e11): Replace chain of if/else-if by switch, alloing fall-
	through in certain cases. Use intel_brack_expr. Add new diagnostics.
	Allow symbolic constants as register scale value.
	(intel_get_token): Replace call to malloc and check of return value
	with call to xmalloc. Change handling for FLAT to match MASM's.
	(intel_putback_token): Don't try to back up/free current token if
	that is T_NIL.

gas/testsuite/
2005-03-17  Jan Beulich  <jbeulich@novell.com>

	* gas/i386/intel.d: Add stderr directive.
	* gas/i386/intel.e: New.
	* gas/i386/intel16.d: Add stderr directive. Adjust for changed
	source.
	* gas/i386/intel16.e: New.
	* gas/i386/intel16.s: Add instances of addressing forms with base
	and index specified in reverse order.
	* gas/i386/intelbad.l: Adjust for changed source.
	* gas/i386/intelbad.s: Add more operand forms to check.
	* gas/i386/intelok.d: Remove -r from objdump options. Add stderr
	directive. Adjust for changed source.
	* gas/i386/intelok.e: New.
	* gas/i386/intelok.s: Define MASM constants byte, word, etc. Add
	more operand forms to check.
	* gas/i386/x86_64.d: Add stderr directive.
	* gas/i386/x86_64.e: New.
	* gas/i386/x86_64.s: Adjust for parser changes.
2005-03-17 12:05:24 +00:00
..
aout_gnu.h update copyright dates 2005-03-03 11:52:12 +00:00
atof-ieee.c update copyright dates 2005-03-03 11:52:12 +00:00
atof-tahoe.c update copyright dates 2005-03-03 11:52:12 +00:00
atof-vax.c Fix copyright notices 2001-03-08 23:24:26 +00:00
e-crisaout.c * write.c (write_object_file): Fix signed/unsigned warning. 2002-12-12 22:46:47 +00:00
e-criself.c * config/e-criself.c: Fix typo in last change. 2002-12-12 23:12:34 +00:00
e-i386aout.c * symbols.c: Add missing prototypes. 2001-08-09 14:42:07 +00:00
e-i386coff.c * symbols.c: Add missing prototypes. 2001-08-09 14:42:07 +00:00
e-i386elf.c * symbols.c: Add missing prototypes. 2001-08-09 14:42:07 +00:00
e-mipsecoff.c
e-mipself.c
itbl-mips.h Fix copyright notices 2001-03-08 23:24:26 +00:00
m68k-parse.h m68k-parse.h (enum m68k_register): New control register, MBAR2 (for MCF5249) 2004-10-08 08:45:54 +00:00
m68k-parse.y update copyright dates 2005-03-03 11:52:12 +00:00
m88k-opcode.h Fix copyright notices 2001-03-08 23:24:26 +00:00
obj-aout.c * configure.in (AC_C_BIGENDIAN): Invoke. 2005-03-01 00:43:58 +00:00
obj-aout.h * configure.in (AC_C_BIGENDIAN): Invoke. 2005-03-01 00:43:58 +00:00
obj-bout.c update copyright dates 2005-03-03 11:52:12 +00:00
obj-bout.h * configure.in (AC_C_BIGENDIAN): Invoke. 2005-03-01 00:43:58 +00:00
obj-coff.c Convert to ISO C90 formatting 2005-03-16 14:57:00 +00:00
obj-coff.h Fix typo introduced by previous delta 2005-03-16 17:26:21 +00:00
obj-ecoff.c * write.c (write_object_file): Fix signed/unsigned warning. 2002-12-12 22:46:47 +00:00
obj-ecoff.h * tc.h (struct relax_type, relax_typeS): Move from here.. 2005-02-17 13:46:05 +00:00
obj-elf.c * read.c: Warning fixes. 2005-02-22 12:58:35 +00:00
obj-elf.h update copyright dates 2005-03-03 11:52:12 +00:00
obj-evax.c Fix copyright notices 2001-03-08 23:24:26 +00:00
obj-evax.h Fix copyright notices 2001-03-08 23:24:26 +00:00
obj-hp300.c * configure.in (AC_C_BIGENDIAN): Invoke. 2005-03-01 00:43:58 +00:00
obj-hp300.h update copyright dates 2005-03-03 11:52:12 +00:00
obj-ieee.c update copyright dates 2005-03-03 11:52:12 +00:00
obj-ieee.h * symbols.c (S_FORCE_RELOC): Add "strict" param. 2003-01-23 12:51:05 +00:00
obj-multi.c
obj-multi.h update copyright dates 2005-03-03 11:52:12 +00:00
obj-som.c update copyright dates 2005-03-03 11:52:12 +00:00
obj-som.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-a29k.c * tc.h (struct relax_type, relax_typeS): Move from here.. 2005-02-17 13:46:05 +00:00
tc-a29k.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-alpha.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-alpha.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-arc.c 2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> 2005-03-03 05:30:10 +00:00
tc-arc.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-arm.c * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
tc-arm.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-avr.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-avr.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-cris.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-cris.h * tc.h (struct relax_type, relax_typeS): Move from here.. 2005-02-17 13:46:05 +00:00
tc-crx.c 2004-12-23 Tomer Levi <Tomer.Levi@nsc.com> 2004-12-23 13:50:36 +00:00
tc-crx.h 2004-11-08 Tomer Levi <Tomer.Levi@nsc.com> 2004-11-08 13:51:55 +00:00
tc-d10v.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-d10v.h Update copyright date 2003-01-24 01:12:30 +00:00
tc-d30v.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-d30v.h s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
tc-dlx.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-dlx.h * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-fr30.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-fr30.h Update copyright date 2003-01-24 01:12:30 +00:00
tc-frv.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-frv.h * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-generic.c gas/ 2004-04-15 01:49:22 +00:00
tc-generic.h Fix copyright notices 2001-03-08 23:24:26 +00:00
tc-h8300.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-h8300.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-h8500.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-h8500.h Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
tc-hppa.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-hppa.h * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete. 2005-02-19 08:56:08 +00:00
tc-i370.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-i370.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-i386.c gas/ 2005-03-17 12:05:24 +00:00
tc-i386.h gas/ 2004-11-23 07:55:12 +00:00
tc-i860.c * config/tc-i860.c (md_pcrel_from): Fix typo in comment. 2003-10-31 21:33:59 +00:00
tc-i860.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-i960.c * configure.in (AC_C_BIGENDIAN): Invoke. 2005-03-01 00:43:58 +00:00
tc-i960.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-ia64.c gas/ 2005-03-08 08:27:02 +00:00
tc-ia64.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-ip2k.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-ip2k.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-iq2000.c (line_comment_chars): Include the # character as otherwise this breaks 2005-03-03 13:03:48 +00:00
tc-iq2000.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-m32r.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-m32r.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-m68hc11.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-m68hc11.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-m68k.c * config/tc-m68k.c (md_assemble): Don't use sizeof host short. 2005-03-01 01:57:39 +00:00
tc-m68k.h * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack. 2005-03-01 22:35:21 +00:00
tc-m88k.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-m88k.h * write.c (size_seg): Check adjustment to last frag. 2002-05-23 08:08:48 +00:00
tc-m68851.h Fix copyright notices 2001-03-08 23:24:26 +00:00
tc-maxq.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-maxq.h Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
tc-mcore.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-mcore.h * config/tc-mcore.h: Remove prototypes already in tc.h. 2003-11-20 03:11:18 +00:00
tc-mips.c ==> ChangeLog <== 2005-03-15 05:28:17 +00:00
tc-mips.h ==> ChangeLog <== 2005-03-15 05:28:17 +00:00
tc-mmix.c * tc.h (struct relax_type, relax_typeS): Move from here.. 2005-02-17 13:46:05 +00:00
tc-mmix.h Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible. 2003-10-18 15:53:40 +00:00
tc-mn10200.c (tc_gen_reloc): Handle the case where the reloc is the difference of two 2005-03-03 13:50:02 +00:00
tc-mn10200.h Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function. 2001-11-15 21:29:00 +00:00
tc-mn10300.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-mn10300.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-msp430.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-msp430.h Apply Dmitry Diky's patches to add relaxation to msp430. 2004-08-25 12:54:15 +00:00
tc-ns32k.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-ns32k.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-openrisc.c * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function. 2005-02-18 00:49:03 +00:00
tc-openrisc.h * symbols.c (S_FORCE_RELOC): Add "strict" param. 2003-01-23 12:51:05 +00:00
tc-or32.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-or32.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-pdp11.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-pdp11.h Fix copyright notices 2001-03-08 23:24:26 +00:00
tc-pj.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-pj.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-ppc.c * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks. 2005-03-02 13:24:01 +00:00
tc-ppc.h * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-s390.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-s390.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-sh.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-sh.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-sh64.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-sh64.h * config/tc-sh.c: Convert to ISO C90. Remove unnecessary 2003-10-11 13:40:21 +00:00
tc-sparc.c * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function. 2005-02-18 00:49:03 +00:00
tc-sparc.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-tahoe.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-tahoe.h Fix copyright notices 2001-03-08 23:24:26 +00:00
tc-tic4x.c Changed my own mail address 2005-02-27 18:44:55 +00:00
tc-tic4x.h * tc.h (struct relax_type, relax_typeS): Move from here.. 2005-02-17 13:46:05 +00:00
tc-tic30.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-tic30.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-tic54x.c gas/ 2005-03-10 09:32:20 +00:00
tc-tic54x.h gas/ 2005-03-10 09:32:20 +00:00
tc-tic80.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-tic80.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-v850.c update copyright dates 2005-03-03 11:52:12 +00:00
tc-v850.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-vax.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-vax.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-w65.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-w65.h update copyright dates 2005-03-03 11:52:12 +00:00
tc-xstormy16.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-xstormy16.h s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify 2002-11-30 08:39:46 +00:00
tc-xtensa.c * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot 2005-03-11 00:14:15 +00:00
tc-xtensa.h * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot 2005-03-11 00:14:15 +00:00
tc-z8k.c * cgen.c: Warning fixes. 2005-02-23 12:28:06 +00:00
tc-z8k.h update copyright dates 2005-03-03 11:52:12 +00:00
te-386bsd.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-aix5.h * config/te-aix5.h: Typo fix. 2002-03-22 02:07:36 +00:00
te-armeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-armlinuxeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-aux.h
te-delt88.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-delta.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-dpx2.h
te-dynix.h
te-epoc-pe.h
te-freebsd.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-generic.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-go32.h
te-hp300.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-hppa.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-hppa64.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-ic960.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-interix.h
te-irix.h update copyright dates 2005-03-03 11:52:12 +00:00
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-nbsd.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-nbsd532.h
te-netware.h * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT. 2004-06-18 14:55:49 +00:00
te-pc532mach.h
te-pe.h Adds support for fastcall symbols as used on Microsoft Windows platforms 2002-11-06 19:36:20 +00:00
te-psos.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-riscix.h
te-sparcaout.h Fix copyright notices 2001-03-08 23:24:26 +00:00
te-sun3.h update copyright dates 2005-03-03 11:52:12 +00:00
te-svr4.h
te-symbian.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-sysv32.h
te-tmips.h update copyright dates 2005-03-03 11:52:12 +00:00
te-vxworks.h * configure.tgt: Set em=vxworks for *-*-vxworks. 2005-01-06 16:17:25 +00:00
te-wince-pe.h
vax-inst.h update copyright dates 2005-03-03 11:52:12 +00:00
vms-a-conf.h
xtensa-istack.h bfd ChangeLog 2004-10-12 18:33:17 +00:00
xtensa-relax.c update copyright dates 2005-03-03 11:52:12 +00:00
xtensa-relax.h bfd ChangeLog 2004-10-12 18:33:17 +00:00