Fix unintitialised TIC6X data
authorAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 01:26:56 +0000 (10:56 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 03:01:53 +0000 (12:31 +0930)
commit7e9def1e93c408b5df80ed67b79ef7ac9d5c9289
tree4882000f47bb7d44a07947cb317a7e195c73ba68
parent6e210b4129b522c1a0b0c6dee24ee469d5020583
Fix unintitialised TIC6X data

MALLOC_PERTURB_=1 results in the following fails due to uninitialised
exindx data:

FAIL: C6X unwinding directives 1 (little endian)
FAIL: C6X unwinding directives 2 (big endian)
FAIL: C6X unwinding directives 3 (segment change)
FAIL: ld-tic6x/unwind-1
FAIL: ld-tic6x/unwind-2
FAIL: ld-tic6x/unwind-3
FAIL: ld-tic6x/unwind-4
FAIL: ld-tic6x/unwind-6

* config/tc-tic6x.c (s_tic6x_ehtype): Clear after frag_more.
(tic6x_output_exidx_entry): Likewise.
(md_apply_fix): Simplify 1 byte md_number_to_chars.
gas/ChangeLog
gas/config/tc-tic6x.c