aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-xtensa.c2
2 files changed, 5 insertions, 1 deletions
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 <nickc@redhat.com>
+ * 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)