Increment length by 1 if the relocation token is removed
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Jan 2013 20:34:11 +0000 (20:34 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 15 Jan 2013 20:34:11 +0000 (20:34 +0000)
commitaf89796ad5e8a8782a9494ebb1a7376c9bd44ca6
treeedf901dc5577ce893ee1862206892c3beadb5868
parent1e5364517958c0d6000a11df1a6255937f4364eb
Increment length by 1 if the relocation token is removed

gas/

PR gas/15019
* config/tc-i386.c (lex_got): Increment length by 1 if the
relocation token is removed.

gas/testsuite/

PR gas/15019
* gas/i386/reloc32.s: Add tests for "xtrn@got -/+ 4".
* gas/i386/reloc64.s: Likewise.
* gas/i386/ilp32/reloc64.s: Likewise.

* gas/i386/reloc32.d: Updated.
* gas/i386/reloc64.d: Likewise.
* gas/i386/ilp32/reloc64.d: Likewise.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/ilp32/reloc64.d
gas/testsuite/gas/i386/ilp32/reloc64.s
gas/testsuite/gas/i386/reloc32.d
gas/testsuite/gas/i386/reloc32.s
gas/testsuite/gas/i386/reloc64.d
gas/testsuite/gas/i386/reloc64.s