aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-06-13 21:41:07 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-06-13 21:41:07 +0000
commit357d1bd8fd0ba1a79f347f9d989058ea1615236a (patch)
tree35dd52fd9e352f2b1a2b161dcff0e1ca1f133081 /gas/config/tc-i386.h
parentf85e18ee6c9f6650c24532f1830057919e872664 (diff)
downloadgdb-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/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 51c6cb6..d4d7d96 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -140,6 +140,9 @@ extern void x86_cons (expressionS *, int);
extern void x86_cons_fix_new
(fragS *, unsigned int, unsigned int, expressionS *);
+#define TC_ADDRESS_BYTES x86_address_bytes
+extern int x86_address_bytes (void);
+
#define DIFF_EXPR_OK /* foo-. gets turned into PC relative relocs */
#define NO_RELOC BFD_RELOC_NONE