aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2005-05-27 07:11:45 +0000
committerZack Weinberg <zackw@panix.com>2005-05-27 07:11:45 +0000
commitadbaf9485ab55c0b6005000585120c9f0e1b39d6 (patch)
tree6b432da8461b1ae1ef1dd1e1dcf85d538e84f80f /gas/config/tc-arm.h
parent5656b6b85eb5164bdd35a912af9b7c9d1024b9db (diff)
downloadgdb-adbaf9485ab55c0b6005000585120c9f0e1b39d6.zip
gdb-adbaf9485ab55c0b6005000585120c9f0e1b39d6.tar.gz
gdb-adbaf9485ab55c0b6005000585120c9f0e1b39d6.tar.bz2
* config/tc-arm.h (TC_FIX_TYPE): Change to int.
(TC_INIT_FIX_DATA): Initialize to 0, not NULL. * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast. (md_apply_fix3): Delete fix_is_thumb variable; refer to fixP->tc_fix_data directly in the sole place it was used. Explicitly truncate value, *valP, fixP->fx_addnumber, and fixP->fx_offset to 32 bits, for consistent behavior between 32- and 64-bit hosts.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r--gas/config/tc-arm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 7660cfc..4f52f43 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -96,8 +96,8 @@ struct fix;
deliberately not been updated to mark assembler created stabs
symbols as Thumb. */
-#define TC_FIX_TYPE PTR
-#define TC_INIT_FIX_DATA(FIX) ((FIX)->tc_fix_data = NULL)
+#define TC_FIX_TYPE int
+#define TC_INIT_FIX_DATA(FIX) ((FIX)->tc_fix_data = 0)
/* We need to keep some local information on symbols. */