diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-21 22:24:24 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-05-26 08:45:03 -0400 |
commit | 79052aaec9ec394bb6c8ec9d68e7e86d5838e42b (patch) | |
tree | d88e34fb7c7adddf22c3ea310a9b59864d5aa177 /gas | |
parent | ed53407eec9eba3b55a3a00fb7eaa7eddbf01363 (diff) | |
download | gdb-79052aaec9ec394bb6c8ec9d68e7e86d5838e42b.zip gdb-79052aaec9ec394bb6c8ec9d68e7e86d5838e42b.tar.gz gdb-79052aaec9ec394bb6c8ec9d68e7e86d5838e42b.tar.bz2 |
rx: make the type of a variable bfd_reloc_code_real_type
gas/ChangeLog:
2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-rx.c (md_convert_frag): Make the type of reloc_type
bfd_reloc_code_real_type.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-rx.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index da0cdc0..ae4de64 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-05-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> + + * config/tc-rx.c (md_convert_frag): Make the type of reloc_type + bfd_reloc_code_real_type. + 2016-05-25 H.J. Lu <hongjiu.lu@intel.com> PR gas/20140 diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index f87aac1..a9beec7 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -1762,7 +1762,8 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED, rx_bytesT * rxb = fragP->tc_frag_data; addressT addr0, mypc; int disp; - int reloc_type, reloc_adjust; + int reloc_adjust; + bfd_reloc_code_real_type reloc_type; char * op = fragP->fr_opcode; int keep_reloc = 0; int ri; @@ -2138,6 +2139,8 @@ md_convert_frag (bfd * abfd ATTRIBUTE_UNUSED, case BFD_RELOC_RX_32_OP: fix->fx_size = 4; break; + default: + break; } } |