gas/
commitf77561d7e9b270171afbcb60cdab8c902c0fbf4f
authorH.J. Lu <hjl@lucon.org>
Mon, 3 Mar 2008 15:28:58 +0000 (3 15:28 +0000)
committerH.J. Lu <hjl@lucon.org>
Mon, 3 Mar 2008 15:28:58 +0000 (3 15:28 +0000)
treedfa513b769e986b2a04ec2d1cde58e84be64ff21
parent131cd434ec81aa23718dca4bd46569ecb3349e84
gas/

2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
    H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5543
* read.c (pseudo_set): Don't allow global register symbol.

* symbols.c (S_SET_EXTERNAL): Don't allow register symbol
global.

2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5543
* write.c (write_object_file): Don't allow symbols which were
equated to register.  Stop if there is an error.

gas/testsuite/

2008-03-03  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/5543
* gas/i386/i386.exp: Run inval-equ-1 and inval-equ-2.

* gas/i386/inval-equ-1.l: New.
* gas/i386/inval-equ-1.s: Likewise.
* gas/i386/inval-equ-2.l: Likewise.
* gas/i386/inval-equ-2.s: Likewise.
gas/ChangeLog
gas/read.c
gas/symbols.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/inval-equ-1.l [new file with mode: 0644]
gas/testsuite/gas/i386/inval-equ-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/inval-equ-2.l [new file with mode: 0644]
gas/testsuite/gas/i386/inval-equ-2.s [new file with mode: 0644]
gas/write.c