diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-04-10 16:28:08 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-04-10 16:28:08 +0000 |
commit | 045b540e8ed0252baed399be8cb60833b399c352 (patch) | |
tree | b408f2e86e234dd342e7ca78598cc5218a27433b /gas/config | |
parent | b215186bfd8da767d092414ca6f07cbf561b4640 (diff) | |
download | gdb-045b540e8ed0252baed399be8cb60833b399c352.zip gdb-045b540e8ed0252baed399be8cb60833b399c352.tar.gz gdb-045b540e8ed0252baed399be8cb60833b399c352.tar.bz2 |
2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-m68k.c (md_begin): Support 64bit host.
(get_num): Support 64bit BFD on 32bit host.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-m68k.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 71d4c8d..ae1762f 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -4160,7 +4160,7 @@ md_begin (void) m68k_sorted_opcodes = xmalloc (m68k_numopcodes * sizeof (* m68k_sorted_opcodes)); if (!m68k_sorted_opcodes) as_fatal (_("Internal Error: Can't allocate m68k_sorted_opcodes of size %d"), - m68k_numopcodes * sizeof (* m68k_sorted_opcodes)); + m68k_numopcodes * ((int) sizeof (* m68k_sorted_opcodes))); for (i = m68k_numopcodes; i--;) m68k_sorted_opcodes[i] = m68k_opcodes + i; @@ -5292,7 +5292,7 @@ get_num (struct m68k_exp *exp, int ok) subs (exp) = 0; offs (exp) = (ok == 10) ? 1 : 0; as_warn (_("Can't deal with expression; defaulting to %ld"), - offs (exp)); + (long) offs (exp)); } } else @@ -5304,7 +5304,7 @@ get_num (struct m68k_exp *exp, int ok) subs (exp) = 0; offs (exp) = (ok == 10) ? 1 : 0; as_warn (_("Can't deal with expression; defaulting to %ld"), - offs (exp)); + (long) offs (exp)); } } |