binutils-gdb/gas/config
Jan Beulich 9306ca4a20 gas/
2004-11-04 Jan Beulich <jbeulich@novell.com>

	* config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
	intel syntax and no register prefix, allow $ in symbol names when
	intel syntax.
	(set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
	(intel_float_operand): Add fourth return value indicating math control
	operations. Make classification more precise.
	(md_assemble): Complain if memory operand of mov[sz]x has no size
	specified.
	(parse_insn): Translate word operands to floating point instructions
	operating on integers as well as control instructions to short ones
	as expected by AT&T syntax. Translate 'd' suffix to short one only for
	floating point instructions operating on non-integer operands.
	(match_template): Remove fldcw special case. Adjust q-suffix handling
	to permit it on fild/fistp/fisttp in AT&T mode.
	(process_suffix): Don't guess DefaultSize insns' suffix from
	stackop_size for certain floating point control instructions. Guess
	suffix for branch and [ls][gi]dt based on flag_code. Split error
	messages for Intel and AT&T syntax, and make the condition more strict
	for the former. Adjust suppressing of generation of operand size
	overrides.
	(intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
	OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
	more error checking.
	* config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
	SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.

gas/testsuite/
2004-11-04 Jan Beulich <jbeulich@novell.com>
	* gas/i386/i386.exp: Execute new tests intelbad and intelok.
	* gas/i386/intelbad.[sl]: New test to check for various things not
	permitted in Intel mode.
	* gas/i386/intel.d, gas/i386/opcode.d, gas/i386/x86-64-opcode.d:
	Adjust for change to segment register store.
	* gas/i386/intelok.[sd]: New test to check various Intel mode specific
	things get handled correctly.
	* gas/i386/x86_64.[sd]: Remove unsupported constructs referring to
	'high' and 'low' parts of an operand, which the parser previously
	accepted while neither telling that it's not supported nor that it
	ignored the remainder of the line following these supposed keywords.

include/opcode/
2004-11-04 Jan Beulich <jbeulich@novell.com>

	* i386.h (sldx_Suf): Remove.
	(FP, l_FP, sl_FP, x_FP): Don't imply IgnoreSize.
	(q_FP): Define, implying no REX64.
	(x_FP, sl_FP): Imply FloatMF.
	(i386_optab): Split reg and mem forms of moving from segment registers
	so that the memory forms can ignore the 16-/32-bit operand size
	distinction. Adjust a few others for Intel mode. Remove *FP uses from
	all non-floating-point instructions. Unite 32- and 64-bit forms of
	movsx, movzx, and movd. Adjust floating point operations for the above
	changes to the *FP macros. Add DefaultSize to floating point control
	insns operating on larger memory ranges. Remove left over comments
	hinting at certain insns being Intel-syntax ones where the ones
	actually meant are already gone.

opcodes/
2004-11-04 Jan Beulich <jbeulich@novell.com>

	* i386-dis.c (Eq, Edqw, indirEp, Gdq, I1): Define.
	(indirEb): Remove.
	(Mp): Use f_mode rather than none at all.
	(t_mode, dq_mode, dqw_mode, f_mode, const_1_mode): Define. t_mode
	replaces what previously was x_mode; x_mode now means 128-bit SSE
	operands.
	(dis386): Make far jumps and calls have an 'l' prefix only in AT&T
	mode. movmskpX's, pextrw's, and pmovmskb's first operands are Gdq.
	pinsrw's second operand is Edqw.
	(grps): 1-bit shifts' and rotates' second operands are I1. cmpxchg8b's
	operand is Eq. movntq's and movntdq's first operands are EM. s[gi]dt,
	fldenv, frstor, fsave, fstenv all should also have suffixes in Intel
	mode when an operand size override is present or always suffixing.
	More instructions will need to be added to this group.
	(putop): Handle new macro chars 'C' (short/long suffix selector),
	'I' (Intel mode override for following macro char), and 'J' (for
	adding the 'l' prefix to far branches in AT&T mode). When an
	alternative was specified in the template, honor macro character when
	specified for Intel mode.
	(OP_E): Handle new *_mode values. Correct pointer specifications for
	memory operands. Consolidate output of index register.
	(OP_G): Handle new *_mode values.
	(OP_I): Handle const_1_mode.
	(OP_ESreg, OP_DSreg): Generate pointer specifications. Indicate
	respective opcode prefix bits have been consumed.
	(OP_EM, OP_EX): Provide some default handling for generating pointer
	specifications.
2004-11-04 09:16:09 +00:00
..
aout_gnu.h 2002-06-08 Matt Thomas <matt@3am-software.com> 2002-06-09 00:45:42 +00:00
atof-ieee.c Fix thinko in last commit. 2002-04-11 11:21:01 +00:00
atof-tahoe.c * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
atof-vax.c
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
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h
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 Reorganise m68k instruction decoding and improve handling of MAC/EMAC 2004-05-24 14:33:22 +00:00
m88k-opcode.h
obj-aout.c * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code. 2004-03-27 11:36:09 +00:00
obj-aout.h * config/obj-aout.h: Fix comment typos. 2003-11-20 00:01:55 +00:00
obj-bout.c * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
obj-bout.h * config/obj-aout.h: Fix comment typos. 2003-11-20 00:01:55 +00:00
obj-coff.c Add CRX insns: pushx, popx 2004-07-27 11:37:12 +00:00
obj-coff.h * config/obj-aout.h: Fix comment typos. 2003-11-20 00:01:55 +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 gas reloc rewrite. 2002-09-05 00:01:18 +00:00
obj-elf.c * config/obj-elf.c (obj_elf_section_type): Handle init_array, 2004-09-08 20:52:49 +00:00
obj-elf.h * config/obj-elf.c: Convert to C90, remove unneeded prototypes and 2003-12-13 12:57:40 +00:00
obj-evax.c
obj-evax.h
obj-hp300.c
obj-hp300.h
obj-ieee.c * config/obj-ieee.c: Remove duplicate prototypes. 2003-11-20 04:12:19 +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 gas reloc rewrite. 2002-09-05 00:01:18 +00:00
obj-som.c * config/obj-som.c (adjust_stab_sections): Add prototype. 2004-07-20 03:07:08 +00:00
obj-som.h * config/obj-som.c (adjust_stab_sections): Add prototype. 2004-07-20 03:07:08 +00:00
obj-vms.c Remove redundant returns in void functions. 2003-12-10 06:41:08 +00:00
obj-vms.h * config/obj-aout.h: Fix comment typos. 2003-11-20 00:01:55 +00:00
tc-a29k.c * config/tc-a29k.c (insert_sreg): Prototype. 2002-12-12 22:43:45 +00:00
tc-a29k.h * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-alpha.c Remove duplicate code and provide a function for generating internally consistent 'value out of range' messages 2004-05-06 11:01:48 +00:00
tc-alpha.h * read.c: Remove unneeded prototypes. 2003-12-13 08:23:05 +00:00
tc-arc.c * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an 2004-10-01 08:08:54 +00:00
tc-arc.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-arm.c Add ARM CFI support 2004-10-25 12:26:04 +00:00
tc-arm.h Add ARM CFI support 2004-10-25 12:26:04 +00:00
tc-avr.c * gas/config/tc-avr.c: Add support for 2004-09-11 13:15:05 +00:00
tc-avr.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-cris.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-cris.h * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-crx.c 2004-10-28 Tomer Levi <Tomer.Levi@nsc.com> 2004-10-28 10:14:46 +00:00
tc-crx.h Add CRX insns: pushx, popx 2004-07-27 11:37:12 +00:00
tc-d10v.c * config/tc-a29k.h: Fix comment typos. 2003-11-21 00:24:40 +00:00
tc-d10v.h Update copyright date 2003-01-24 01:12:30 +00:00
tc-d30v.c Remove redundant returns in void functions. 2003-12-10 06:41:08 +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 Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug. 2004-04-01 08:22:47 +00:00
tc-dlx.h * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-fr30.c opcodes: 2003-06-10 22:08:45 +00:00
tc-fr30.h Update copyright date 2003-01-24 01:12:30 +00:00
tc-frv.c * configure.in: Set em=linux for frv-*-*linux*. 2004-05-06 02:46:45 +00:00
tc-frv.h * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. 2004-05-07 06:28:04 +00:00
tc-generic.c gas/ 2004-04-15 01:49:22 +00:00
tc-generic.h
tc-h8300.c Add support for relaxation of bit manipulation instructions. 2004-01-12 15:02:22 +00:00
tc-h8300.h * config/tc-h8300.c: Convert to ISO-C. 2003-11-20 03:31:36 +00:00
tc-h8500.c Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
tc-h8500.h Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
tc-hppa.c * config/obj-som.c (adjust_stab_sections): Add prototype. 2004-07-20 03:07:08 +00:00
tc-hppa.h bfd: 2004-07-27 22:30:25 +00:00
tc-i370.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-i370.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-i386.c gas/ 2004-11-04 09:16:09 +00:00
tc-i386.h gas/ 2004-11-04 09:16:09 +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 2003-08-07 Jason Eckhardt <jle@rice.edu> 2003-08-07 19:20:45 +00:00
tc-i960.c * config/tc-hppa.c: Fix comment typos. 2003-11-21 14:38:06 +00:00
tc-i960.h Update copyright date 2003-01-24 01:12:30 +00:00
tc-ia64.c 2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com> 2004-10-25 15:47:52 +00:00
tc-ia64.h Emit error for unaligned instructions. 2004-07-04 00:29:21 +00:00
tc-ip2k.c * config/tc-arc.c: Remove a local prototype of atof_ieee. 2003-11-20 01:36:49 +00:00
tc-ip2k.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-iq2000.c Patch reviewed and approved by nickc@redhat.com. 2004-02-26 14:12:26 +00:00
tc-iq2000.h * config/tc-hppa.c: Fix comment typos. 2003-11-21 14:38:06 +00:00
tc-m32r.c Add support for M32R GOT relocs 2004-06-25 16:11:09 +00:00
tc-m32r.h Add support for M32R GOT relocs 2004-06-25 16:11:09 +00:00
tc-m68hc11.c Stop indexed move byte instructions from being relaxed. 2004-01-21 11:17:53 +00:00
tc-m68hc11.h * config/tc-m68hc11.c: Convert to ISO C90. 2003-10-27 09:57:59 +00:00
tc-m68k.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf. 2004-01-26 18:09:30 +00:00
tc-m88k.c * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +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
tc-mcore.c * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +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 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp 2004-10-07 22:29:19 +00:00
tc-mips.h [ bfd/ChangeLog ] 2004-04-29 05:14:22 +00:00
tc-mmix.c * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif. 2004-09-14 20:00:26 +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 Remove duplicate code and provide a function for generating internally consistent 'value out of range' messages 2004-05-06 11:01:48 +00:00
tc-mn10200.h
tc-mn10300.c * config/tc-mn10300.h (tc_fix_adjustable): Define. 2004-05-28 21:33:07 +00:00
tc-mn10300.h * config/tc-mn10300.h (tc_fix_adjustable): Define. 2004-05-28 21:33:07 +00:00
tc-msp430.c Apply Dmitry Diky's patches to add relaxation to msp430. 2004-08-25 12:54:15 +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 * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-ns32k.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-openrisc.c opcodes: 2003-06-10 22:08:45 +00:00
tc-openrisc.h * symbols.c (S_FORCE_RELOC): Add "strict" param. 2003-01-23 12:51:05 +00:00
tc-or32.c * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-or32.h * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-pdp11.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-pdp11.h
tc-pj.c * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-pj.h * symbols.c (S_FORCE_RELOC): Add "strict" param. 2003-01-23 12:51:05 +00:00
tc-ppc.c 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-02 00:18:31 +00:00
tc-ppc.h * frags.h (struct frag): Add has_code and insn_addr fields. 2004-07-02 06:40:19 +00:00
tc-s390.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-s390.h * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove. 2004-05-05 13:06:18 +00:00
tc-sh64.c * config/tc-a29k.h: Fix comment typos. 2003-11-22 02:35:31 +00:00
tc-sh64.h * config/tc-sh.c: Convert to ISO C90. Remove unnecessary 2003-10-11 13:40:21 +00:00
tc-sh.c include/elf/ChangeLog: 2004-07-29 05:17:41 +00:00
tc-sh.h Add support for sh-symbian-elf target 2004-07-06 16:58:43 +00:00
tc-sparc.c 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-02 00:18:31 +00:00
tc-sparc.h * dw2gencfi.c (cfi_pseudo_table): Add cfi_gnu_window_save. 2003-08-29 20:20:18 +00:00
tc-tahoe.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-tahoe.h
tc-tic4x.c * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
tc-tic4x.h * config/tc-tic4x.c (md_assemble): Added support for one-line parallel insns. 2003-05-18 22:23:15 +00:00
tc-tic30.c * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
tc-tic30.h * config/tc-tic30.c: #include stdarg.h or varargs.h. 2002-12-12 21:34:53 +00:00
tc-tic54x.c * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
tc-tic54x.h
tc-tic80.c * config/tc-tic30.c: #include stdarg.h or varargs.h. 2002-12-12 21:34:53 +00:00
tc-tic80.h * ChangeLog-9295: Fix a typo. 2002-12-17 01:13:56 +00:00
tc-v850.c Add support for a -g switch to GAS 2004-08-17 12:19:58 +00:00
tc-v850.h bfd/ 2003-07-25 14:35:56 +00:00
tc-vax.c * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 2004-11-03 01:54:25 +00:00
tc-vax.h gas reloc rewrite. 2002-09-05 00:01:18 +00:00
tc-w65.c * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg. 2002-12-03 12:01:45 +00:00
tc-w65.h * ChangeLog-9295: Fix a typo. 2002-12-17 01:13:56 +00:00
tc-xstormy16.c Accept and ignore @fptr() directives for 4-byte fixups. 2004-10-18 08:02:25 +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 bfd ChangeLog 2004-10-12 23:05:32 +00:00
tc-xtensa.h bfd ChangeLog 2004-10-12 23:05:32 +00:00
tc-z8k.c * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere. 2003-12-15 22:02:42 +00:00
tc-z8k.h * config/tc-z8k.c: Convert to ISO-C. 2003-11-28 20:10:18 +00:00
te-386bsd.h
te-aix5.h * config/te-aix5.h: Typo fix. 2002-03-22 02:07:36 +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
te-generic.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-go32.h
te-hp300.h
te-hppa64.h
te-hppa.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-ic960.h
te-interix.h
te-irix.h * configure.in (em): Set to irix on all Irix systems. 2003-01-27 22:45:58 +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-nbsd532.h
te-nbsd.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
te-sun3.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-svr4.h
te-symbian.h * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors. 2004-09-03 17:15:44 +00:00
te-sysv32.h
te-tmips.h * config/atof-tahoe.c: Fix comment typos. 2003-11-22 15:32:28 +00:00
te-wince-pe.h
vax-inst.h 2002-06-08 Matt Thomas <matt@3am-software.com> 2002-06-09 00:45:42 +00:00
vms-a-conf.h
vms-conf.h
xtensa-istack.h bfd ChangeLog 2004-10-12 18:33:17 +00:00
xtensa-relax.c bfd ChangeLog 2004-10-12 18:33:17 +00:00
xtensa-relax.h bfd ChangeLog 2004-10-12 18:33:17 +00:00