aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-h8500.c
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1993-07-12 19:42:32 +0000
committerMark Eichin <eichin@cygnus>1993-07-12 19:42:32 +0000
commit025b0302439df01169c7d9cb06493bbb53c7ce6b (patch)
tree25846278d32fbd19b92cdd1fc69ffac86a0d6f23 /gas/config/tc-h8500.c
parentd723cd17d5f3e2db2f32bee905f0632fba4389cf (diff)
downloadgdb-025b0302439df01169c7d9cb06493bbb53c7ce6b.zip
gdb-025b0302439df01169c7d9cb06493bbb53c7ce6b.tar.gz
gdb-025b0302439df01169c7d9cb06493bbb53c7ce6b.tar.bz2
fix definitions of md_create_long_jump, md_create_short_jump,
md_number_to_chars, and md_section_align to correctly use valueT and addressT
Diffstat (limited to 'gas/config/tc-h8500.c')
-rw-r--r--gas/config/tc-h8500.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c
index f64a8b6..baf4cb3 100644
--- a/gas/config/tc-h8500.c
+++ b/gas/config/tc-h8500.c
@@ -1244,8 +1244,8 @@ tc_aout_fix_to_chars ()
void
md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol)
char *ptr;
- long from_addr;
- long to_addr;
+ addressT from_addr;
+ addressT to_addr;
fragS *frag;
symbolS *to_symbol;
{
@@ -1255,7 +1255,7 @@ md_create_short_jump (ptr, from_addr, to_addr, frag, to_symbol)
void
md_create_long_jump (ptr, from_addr, to_addr, frag, to_symbol)
char *ptr;
- long from_addr, to_addr;
+ addressT from_addr, to_addr;
fragS *frag;
symbolS *to_symbol;
{
@@ -1402,10 +1402,10 @@ md_convert_frag (headers, fragP)
}
-long
+valueT
DEFUN (md_section_align, (seg, size),
segT seg AND
- long size)
+ valueT size)
{
return ((size + (1 << section_alignment[(int) seg]) - 1)
& (-1 << section_alignment[(int) seg]));
@@ -1506,7 +1506,7 @@ md_estimate_size_before_relax (fragP, segment_type)
void
md_number_to_chars (ptr, use, nbytes)
char *ptr;
- long use;
+ valueT use;
int nbytes;
{
switch (nbytes)