Fix uninitialised ARM data
authorAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 00:26:29 +0000 (09:56 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Jun 2014 02:56:38 +0000 (12:26 +0930)
commit4b1a927e92e49f333838f8f11e621608cccb3a03
tree789d466a32bb13584a9809113e3079eb7380175a
parent44ed9ef26f62c4b348236c4dcea1de78d03900d9
Fix uninitialised ARM data

MALLOC_PERTURB_=1 results in "FAIL: PIC" on arm-vxworks, due to garbage
in words with got relocs.

* config/tc-arm.c (s_arm_elf_cons): Initialise after frag_more.
(md_apply_fix): Delete now unnecessary zeroing for BFD_RELOC_ARM_GOT*
and BFD_RELOC_ARM_TLS* relocs.  Simplify BFD_RELOC_8 case.
gas/ChangeLog
gas/config/tc-arm.c