diff options
author | Nick Clifton <nickc@redhat.com> | 2015-12-09 12:01:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-12-09 12:01:19 +0000 |
commit | c192dad24398767edd64ab7e5e3a72df9265bda0 (patch) | |
tree | 1f927f96f9f91d4ba4946897ebe8bc0692207e90 | |
parent | dcfc7dd477b74f84d673f0d20cb350c950d6dbed (diff) | |
download | binutils-gdb-c192dad24398767edd64ab7e5e3a72df9265bda0.tar.gz |
Fix compile time warning building RX target.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-rx.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4dcb9cd0dc6..c08c8b32f23 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2015-12-09 Nick Clifton <nickc@redhat.com> + + * config/tc-rx.c (rx_relax_frag): Fix compile time warning. + 2015-12-08 Jan Beulich <jbeulich@suse.com> * read.c (in_bss): New. diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index 4697e95c4f1..82e94a73d22 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -1552,7 +1552,7 @@ rx_relax_frag (segT segment ATTRIBUTE_UNUSED, fragS * fragP, long stretch) if (fragP->fr_subtype >= next_size) fragP->fr_subtype = 0; tprintf ("\033[34m -> mypc %lu next_size %u new %d old %d delta %d (fetchalign)\033[0m\n", - mypc & 7, + (unsigned long) (mypc & 7), next_size, fragP->fr_subtype, oldsize, fragP->fr_subtype-oldsize); newsize = fragP->fr_subtype; |