old-cross-binutils/ld/testsuite
H.J. Lu f16cd0d502 Rewrite prefix processing.
gas/testsuite/

2009-11-13  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/i386.exp: Run long-1, long-1-intel, x86-64-long-1,
	and x86-64-long-1-intel.

	* gas/i386/long-1-intel.d: New.
	* gas/i386/long-1.d: Likewise.
	* gas/i386/long-1.s: Likewise.
	* gas/i386/x86-64-long-1-intel.d: Likewise.
	* gas/i386/x86-64-long-1.d: Likewise.
	* gas/i386/x86-64-long-1.s: Likewise.

	* gas/i386/jump16.d: Updated for prefix processing.
	* gas/i386/naked.d: Likewise.
	* gas/i386/nops-1-core2.d: Likewise.
	* gas/i386/nops-1-i686.d: Likewise.
	* gas/i386/nops-3-i686.d: Likewise.
	* gas/i386/nops-4-i686.d: Likewise.
	* gas/i386/nops-5-i686.d: Likewise.
	* gas/i386/nops-5.d: Likewise.
	* gas/i386/prefix.d: Likewise.
	* gas/i386/rep.d: Likewise.
	* gas/i386/string-ok.d: Likewise.
	* gas/i386/x86-64-addr32-intel.d: Likewise.
	* gas/i386/x86-64-addr32.d: Likewise.
	* gas/i386/x86-64-cbw-intel.d: Likewise.
	* gas/i386/x86-64-cbw.d: Likewise.
	* gas/i386/x86-64-io-intel.d: Likewise.
	* gas/i386/x86-64-io-suffix.d: Likewise.
	* gas/i386/x86-64-io.d: Likewise.
	* gas/i386/x86-64-lwp.d: Likewise.
	* gas/i386/x86-64-nops-1-core2.d: Likewise.
	* gas/i386/x86-64-nops-1-nocona.d: Likewise.
	* gas/i386/x86-64-nops-1.d: Likewise.
	* gas/i386/x86-64-nops-2.d: Likewise.
	* gas/i386/x86-64-nops-3.d: Likewise.
	* gas/i386/x86-64-nops-4-core2.d: Likewise.
	* gas/i386/x86-64-nops-4.d: Likewise.
	* gas/i386/x86-64-nops-5-k8.d: Likewise.
	* gas/i386/x86-64-nops-5.d: Likewise.
	* gas/i386/x86-64-rep.d: Likewise.
	* gas/i386/x86-64-stack-intel.d: Likewise.
	* gas/i386/x86-64-stack-suffix.d: Likewise.
	* gas/i386/x86-64-stack.d: Likewise.

ld/testsuite/

2009-11-13  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-x86-64/tlsbin.dd: Updated for prefix processing.
	* ld-x86-64/tlsgdesc.dd: Likewise.
	* ld-x86-64/tlsld1.dd: Likewise.
	* ld-x86-64/tlspic.dd: Likewise.

opcodes/

2009-11-13  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (ckprefix): Updated to return 0 if number of
	prefixes > 14 and record the last position for each prefix.
	(lock_prefix): Removed.
	(data_prefix): Likewise.
	(addr_prefix): Likewise.
	(repz_prefix): Likewise.
	(repnz_prefix): Likewise.
	(last_lock_prefix): New.
	(last_repz_prefix): Likewise.
	(last_repnz_prefix): Likewise.
	(last_data_prefix): Likewise.
	(last_addr_prefix): Likewise.
	(last_rex_prefix): Likewise.
	(last_seg_prefix): Likewise.
	(MAX_CODE_LENGTH): Likewise.
	(ADDR16_PREFIX): Likewise.
	(ADDR32_PREFIX): Likewise.
	(DATA16_PREFIX): Likewise.
	(DATA32_PREFIX): Likewise.
	(REP_PREFIX): Likewise.
	(seg_prefix): Likewise.
	(all_prefixes): Change size to MAX_CODE_LENGTH - 1.
	(prefix_name): Handle ADDR16_PREFIX, ADDR32_PREFIX,
	DATA16_PREFIX, DATA32_PREFIX and REP_PREFIX.
	(get_valid_dis386): Updated.
	(OP_C): Likewise.
	(OP_Monitor): Likewise.
	(REP_Fixup): Likewise.
	(print_insn): Display all prefixes.
	(putop): Set PREFIX_DATA on used_prefixes only if it is used.
	(intel_operand_size): Likewise.
	(OP_E_register): Likewise.
	(OP_G): Likewise.
	(OP_REG): Likewise.
	(OP_IMREG): Likewise.
	(OP_I): Likewise.
	(OP_I64): Likewise.
	(OP_sI): Likewise.
	(CRC32_Fixup): Likewise.
	(MOVBE_Fixup): Likewise.
	(OP_E_memory): Set REFIX_DATA on used_prefixes when it is used
	in 16bit mode.
	(OP_J): Set REX_W used if it is used. Set PREFIX_DATA on
	used_prefixes only if it is used.
2009-11-13 20:42:10 +00:00
..
config update copyright dates 2009-09-02 07:25:43 +00:00
ld-alpha bfd/ 2009-09-24 15:56:52 +00:00
ld-arm 2009-11-02 Paul Brook <paul@codesourcery.com> 2009-11-02 13:44:05 +00:00
ld-auto-import update copyright dates 2009-09-02 07:25:43 +00:00
ld-bootstrap * bootstrap.exp: Detect if plugins are enabled. Skip the static 2009-10-16 10:32:51 +00:00
ld-cdtest update copyright dates 2009-09-02 07:25:43 +00:00
ld-checks update copyright dates 2009-09-02 07:25:43 +00:00
ld-cris * ld-cris/dso12-pltdis.d: New test. 2009-10-29 11:50:57 +00:00
ld-crx update copyright dates 2009-09-02 07:25:43 +00:00
ld-cygwin update copyright dates 2009-09-02 07:25:43 +00:00
ld-d10v update copyright dates 2009-09-02 07:25:43 +00:00
ld-discard update copyright dates 2009-09-02 07:25:43 +00:00
ld-elf * ld-elf/pr349-1.s, * ld-elf/pr349-2.s, * ld-elf/pr349.d: New. 2009-10-14 10:52:54 +00:00
ld-elfcomm * ld-elfcomm/elfcomm.exp: Compile with -fcommon. 2009-10-30 10:46:00 +00:00
ld-elfvers Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-elfvsb bfd/ 2009-09-24 15:56:52 +00:00
ld-elfweak update copyright dates 2009-09-02 07:25:43 +00:00
ld-fastcall update copyright dates 2009-09-02 07:25:43 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-gc * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding 2009-10-01 23:29:29 +00:00
ld-h8300 update copyright dates 2009-09-02 07:25:43 +00:00
ld-i386 bfd/ 2009-09-24 15:56:52 +00:00
ld-ia64 Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
ld-ifunc Don't return on STT_GNU_IFUNC symbol when stripping. 2009-11-09 14:37:16 +00:00
ld-libs binutils/testsuite/ 2009-04-16 04:24:07 +00:00
ld-linkonce update copyright dates 2009-09-02 07:25:43 +00:00
ld-m68hc11 update copyright dates 2009-09-02 07:25:43 +00:00
ld-m68k update copyright dates 2009-09-02 07:25:43 +00:00
ld-maxq update copyright dates 2009-09-02 07:25:43 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-mmix Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-mn10300 Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-pe ld/ChangeLog: 2009-09-03 18:04:35 +00:00
ld-pie update copyright dates 2009-09-02 07:25:43 +00:00
ld-powerpc ld/ 2009-10-02 15:00:30 +00:00
ld-s390 bfd/ 2009-09-24 15:56:52 +00:00
ld-scripts * ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU. 2009-11-02 03:44:20 +00:00
ld-selective update copyright dates 2009-09-02 07:25:43 +00:00
ld-sh Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-shared update copyright dates 2009-09-02 07:25:43 +00:00
ld-sparc bfd/ 2009-09-24 15:56:52 +00:00
ld-spu bfd/ 2009-10-01 13:09:56 +00:00
ld-srec * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding 2009-10-01 23:29:29 +00:00
ld-undefined 2009-09-14 H.J. Lu <hongjiu.lu@intel.com> 2009-09-14 14:07:26 +00:00
ld-v850 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-versados update copyright dates 2009-09-02 07:25:43 +00:00
ld-vxworks Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-x86-64 Rewrite prefix processing. 2009-11-13 20:42:10 +00:00
ld-xc16x update copyright dates 2009-09-02 07:25:43 +00:00
ld-xstormy16 update copyright dates 2009-09-02 07:25:43 +00:00
ld-xtensa bfd/ 2009-09-24 15:56:52 +00:00
lib * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding 2009-10-01 23:29:29 +00:00
ChangeLog Rewrite prefix processing. 2009-11-13 20:42:10 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-9303