aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-04-20 15:27:02 +0000
committerNick Clifton <nickc@redhat.com>2005-04-20 15:27:02 +0000
commit5f9084e9c2b99e4f8a56b62868116269e4f7ec63 (patch)
tree9a65159fe76d305bdcf3adf11673cd9de4579e12 /gas
parent3f6da7220654ac586c2322e1d005d72cc4372b23 (diff)
downloadgdb-5f9084e9c2b99e4f8a56b62868116269e4f7ec63.zip
gdb-5f9084e9c2b99e4f8a56b62868116269e4f7ec63.tar.gz
gdb-5f9084e9c2b99e4f8a56b62868116269e4f7ec63.tar.bz2
(get_aligned_diff): Change type of branch_align to offsetT so that its
signedness matches that of target_size.
Diffstat (limited to 'gas')
-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)