diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-06-13 21:41:07 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-06-13 21:41:07 +0000 |
commit | 357d1bd8fd0ba1a79f347f9d989058ea1615236a (patch) | |
tree | 35dd52fd9e352f2b1a2b161dcff0e1ca1f133081 /gas/testsuite | |
parent | f85e18ee6c9f6650c24532f1830057919e872664 (diff) | |
download | gdb-357d1bd8fd0ba1a79f347f9d989058ea1615236a.zip gdb-357d1bd8fd0ba1a79f347f9d989058ea1615236a.tar.gz gdb-357d1bd8fd0ba1a79f347f9d989058ea1615236a.tar.bz2 |
Fix .dc.a for x32
gas/
* config/tc-i386.c (x86_address_bytes): New.
* config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
(x86_address_bytes): Likewise.
gas/testsuite/
* gas/i386/ilp32/x86-64-dc_a.d: New.
* gas/i386/ilp32/x86-64-dc_a.s: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/ilp32/x86-64-dc_a.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/ilp32/x86-64-dc_a.s | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index a729175..1129df0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-06-13 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/ilp32/x86-64-dc_a.d: New. + * gas/i386/ilp32/x86-64-dc_a.s: Likewise. + 2012-06-11 Andreas Schwab <schwab@linux-m68k.org> * gas/ppc/e500mc.d: Update. diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-dc_a.d b/gas/testsuite/gas/i386/ilp32/x86-64-dc_a.d new file mode 100644 index 0000000..8b2cdcd --- /dev/null +++ b/gas/testsuite/gas/i386/ilp32/x86-64-dc_a.d @@ -0,0 +1,5 @@ +#nm: -n +#name: x86-64 (ILP32) .dc.a + +0+ d foo +0+4 d bar diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-dc_a.s b/gas/testsuite/gas/i386/ilp32/x86-64-dc_a.s new file mode 100644 index 0000000..4674392 --- /dev/null +++ b/gas/testsuite/gas/i386/ilp32/x86-64-dc_a.s @@ -0,0 +1,5 @@ + .data +foo: + .dc.a 0 +bar: + .dc.a 0 |