From 5f9084e9c2b99e4f8a56b62868116269e4f7ec63 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 20 Apr 2005 15:27:02 +0000 Subject: [PATCH] (get_aligned_diff): Change type of branch_align to offsetT so that its signedness matches that of target_size. --- gas/ChangeLog | 4 ++++ gas/config/tc-xtensa.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b75c42e..0e3bb00 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ 2005-04-20 Nick Clifton + * config/tc-xtensa.c (get_aligned_diff): Change type of + branch_align to offsetT so that its signedness matches that of + target_size. + * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit number into a readable string. (load_register): Likewise. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 4e7524d..62277ad 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -8179,7 +8179,7 @@ get_aligned_diff (fragS *fragP, addressT address, offsetT *max_diff) bfd_boolean is_loop; int align_power; offsetT opt_diff; - addressT branch_align; + offsetT branch_align; assert (fragP->fr_type == rs_machine_dependent); switch (fragP->fr_subtype) -- 2.7.4