* coffcode.h (coff_slurp_line_table): bfd_alloc lineno_cache first
authorAlan Modra <amodra@gmail.com>
Tue, 5 Aug 2008 03:03:46 +0000 (03:03 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 5 Aug 2008 03:03:46 +0000 (03:03 +0000)
commit46f2f11d4c9ae297683194868b3238984bc85750
tree4e2ec4a3ecaf38b311462271817e8f5e6f334dea
parent5be973eb83ff501f1a12d104214e55d11cf17729
* coffcode.h (coff_slurp_line_table): bfd_alloc lineno_cache first
so that we don't inadvertently free it.  Use bfd_alloc for sort
arrays, and memcpy sorted line table.
bfd/ChangeLog
bfd/coffcode.h