aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-12-10 14:25:05 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-12-10 14:25:05 +0000
commit3ae8dd8d5191ffbedfc70e15e20d8f1c03f6f294 (patch)
tree29ea7335bd50cab976c79539746a5311d836ea64 /gas/config/tc-mips.h
parent89a1e9c36d4f27f6afdd7024ec3bf29859365125 (diff)
downloadgdb-3ae8dd8d5191ffbedfc70e15e20d8f1c03f6f294.zip
gdb-3ae8dd8d5191ffbedfc70e15e20d8f1c03f6f294.tar.gz
gdb-3ae8dd8d5191ffbedfc70e15e20d8f1c03f6f294.tar.bz2
* config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
(mips_address_bytes): New prototype. * config/tc-mips.c (mips_address_bytes): New function.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r--gas/config/tc-mips.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h
index 8b17480..abd8d1e 100644
--- a/gas/config/tc-mips.h
+++ b/gas/config/tc-mips.h
@@ -42,6 +42,9 @@ struct expressionS;
#define MAX_RELOC_EXPANSION 3
#define LOCAL_LABELS_FB 1
+#define TC_ADDRESS_BYTES mips_address_bytes
+extern int mips_address_bytes (void);
+
/* Maximum symbol offset that can be encoded in a BFD_RELOC_GPREL16
relocation. */
#define MAX_GPREL_OFFSET (0x7FF0)