diff options
author | Alan Modra <amodra@gmail.com> | 2014-11-04 14:41:00 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-11-04 22:40:44 +1030 |
commit | 127a8db1ed4fc7903007dc23c6b11f613933f9ef (patch) | |
tree | 522833f4eb898ed9b079caaebfe0f25dd497b94c /gas/ChangeLog | |
parent | 0cdcdbf8dbadc70194d46b4c3400ba8cc2a10fc0 (diff) | |
download | gdb-127a8db1ed4fc7903007dc23c6b11f613933f9ef.zip gdb-127a8db1ed4fc7903007dc23c6b11f613933f9ef.tar.gz gdb-127a8db1ed4fc7903007dc23c6b11f613933f9ef.tar.bz2 |
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.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 18ceb94..bffcc37 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-11-04 Alan Modra <amodra@gmail.com> + + * 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. + 2014-11-03 Nick Clifton <nickc@redhat.com> * config/tc-msp430.c (msp430_srcoperand): Fix range test for |