Use frag_now_fix_octets in gas d10v, d30v
authorAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2014 04:11:00 +0000 (14:41 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 4 Nov 2014 12:10:44 +0000 (22:40 +1030)
commit127a8db1ed4fc7903007dc23c6b11f613933f9ef
tree522833f4eb898ed9b079caaebfe0f25dd497b94c
parent0cdcdbf8dbadc70194d46b4c3400ba8cc2a10fc0
Use frag_now_fix_octets in gas d10v, d30v

obstack_next_free is supposed to return a void* rather than the char*
it does currently, so expressions involving pointer arithmetic need
a cast.  Avoid the issue.

* config/tc-d10v.c (find_opcode): Call frag_now_fix_octets rather
than equivalent obstack_next_free expression.
* config/tc-d30v.c (find_format): Likewise.
gas/ChangeLog
gas/config/tc-d10v.c
gas/config/tc-d30v.c
This page took 0.025123 seconds and 4 git commands to generate.