This fixes an internal error in GAS, triggered by the test case reported in PR 16765.
authorNick Clifton <nickc@redhat.com>
Wed, 2 Apr 2014 15:29:35 +0000 (16:29 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 2 Apr 2014 15:29:35 +0000 (16:29 +0100)
commitcad0da33dc43a207a7c4baf32223831b2d0ac60c
tree244fde7f7c77a5900a562609059257e4cad76823
parent7a79c51466c30188d49d03d3e3593c87e5a3345e
This fixes an internal error in GAS, triggered by the test case reported in PR 16765.
The problem was that gcc was generating assembler with missing unwind directives in it,
so that a gas_assert was being triggered.  The patch replaces the assert with an error
message.

* config/tc-arm.c (create_unwind_entry): Report an error if an
attempt to recreate an unwind directive is encountered.
gas/ChangeLog
gas/config/tc-arm.c