OSDN Git Service

* config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
authorDoug Evans <dje@sebabeach.org>
Mon, 19 Oct 2009 15:27:38 +0000 (15:27 +0000)
committerDoug Evans <dje@sebabeach.org>
Mon, 19 Oct 2009 15:27:38 +0000 (15:27 +0000)
commit5ba44d9ac90e818b47bc3ba72db43d4027c33af7
treeb3bddf654e629f81013d94efe3de05789cdae3c2
parent77845dcc8bc29a3a8df551bcebd3d29a45e861fb
* config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
correctly for all 16 bit relocs.  Return BFD_RELOC_NONE if reloc
isn't recognized, not BFD_RELOC_XC16X_SOF.

testsuite:
* gas/xc16x/shlrol.s: Specify constant shift amount.
* gas/xc16x/xc16x.exp (do_xc16x_shlrol): Update expected output.
gas/ChangeLog
gas/config/tc-xc16x.c
gas/testsuite/ChangeLog
gas/testsuite/gas/xc16x/shlrol.s
gas/testsuite/gas/xc16x/xc16x.exp