src/gas ChangeLog config/tc-i386.c testsuite/C ...

jbeulich@sourceware.org jbeulich@sourceware.org
Tue Aug 7 16:57:00 GMT 2012


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jbeulich@sourceware.org	2012-08-07 16:57:49

Modified files:
	gas            : ChangeLog 
	gas/config     : tc-i386.c 
	gas/testsuite  : ChangeLog 
	gas/testsuite/gas/i386: i386.exp 
Added files:
	gas/testsuite/gas/i386: x86-64-segovr.d x86-64-segovr.s 

Log message:
	Despite them being ignored by the CPU, gas issues segment override
	prefixes for other than FS/GS in 64-bit mode. If doing so at all, it
	should clearly do this correctly. Determining the default segment,
	however, requires to take into consideration RegRex (so far, RSP, RBP,
	R12, and R13 were all treated equally here).
	
	gas/
	2012-08-07  Jan Beulich <jbeulich@suse.com>
	
	* config/tc-i386-intel.c (build_modrm_byte): Split determining
	default segment from figuring out encoding. Honor RegRex for
	the former.
	
	gas/testsuite/
	2012-08-07  Jan Beulich <jbeulich@suse.com>
	
	* gas/i386/x86-64-segovr.{s,l}: New.
	* gas/i386/i386.exp: Run new test.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4787&r2=1.4788
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-i386.c.diff?cvsroot=src&r1=1.503&r2=1.504
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2075&r2=1.2076
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/x86-64-segovr.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/x86-64-segovr.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/i386.exp.diff?cvsroot=src&r1=1.172&r2=1.173



More information about the Binutils-cvs mailing list