bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/11509] Strange evaluation of symbol containing register


From: hjl dot tools at gmail dot com
Subject: [Bug gas/11509] Strange evaluation of symbol containing register
Date: 21 Apr 2010 18:26:50 -0000

------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-04-21 
18:10 -------
Subject: Bug 11509

CVSROOT:        /cvs/src
Module name:    src
Changes by:     address@hidden  2010-04-21 18:09:53

Modified files:
        gas            : ChangeLog read.c 
        gas/config     : tc-i386-intel.c tc-i386.c 
        gas/testsuite  : ChangeLog 
        gas/testsuite/gas/i386: equ.d equ.s 

Log message:
        Properly handle ".equ symbol, reg + NUM" in x86 Intel syntax.
        
        gas/
        
        2010-04-21  H.J. Lu  <address@hidden>
        
        PR gas/11509
        * config/tc-i386-intel.c (i386_intel_simplify_register): New.
        (i386_intel_simplify): Use i386_is_register and
        i386_intel_simplify_register. Set X_md for O_register and
        check X_md for O_constant.
        (i386_intel_operand): Use i386_is_register.
        
        * config/tc-i386.c (i386_is_register): New.
        (x86_cons): Initialize the X_md field.  Use i386_is_register.
        (parse_register): Use i386_is_register.
        (tc_x86_parse_to_dw2regnum): Likewise.
        
        gas/testsuite/
        
        2010-04-21  H.J. Lu  <address@hidden>
        
        PR gas/11509
        * gas/i386/equ.s: Add tests for ".equ symbol, reg + NUM".
        * gas/i386/equ.d: Updated.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4136&r2=1.4137
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/read.c.diff?cvsroot=src&r1=1.162&r2=1.163
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-i386-intel.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-i386.c.diff?cvsroot=src&r1=1.431&r2=1.432
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1657&r2=1.1658
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/equ.d.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/i386/equ.s.diff?cvsroot=src&r1=1.4&r2=1.5


------- Additional Comments From hjl dot tools at gmail dot com  2010-04-21 
18:26 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11509

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]