* subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
authorAlan Modra <amodra@gmail.com>
Fri, 16 Feb 2007 03:40:17 +0000 (03:40 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 16 Feb 2007 03:40:17 +0000 (03:40 +0000)
commite7ff5c732e7b95aafccd0910ea1a5cb8251a1033
tree475ae3dfa37e29602f298ca73b6f1148c5f45231
parent010a1144c1ff414a90d5150165ea45a25a8fd65e
* subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
xmalloc, memset.  Don't bother assigning NULL to known zero mem.
(subseg_set_rest): Remove unnecessary cast.
* write.c: Include libbfd.h.  Replace PTR with void * throughout.
Remove unnecessary forward declarations and casts.
(set_symtab): Delete extern bfd_alloc.
(fixup_segment): Move.
gas/ChangeLog
gas/subsegs.c
gas/write.c