* readelf.c (GET_DATA_ALLOC): Remove.
authorAlan Modra <amodra@gmail.com>
Thu, 28 Jun 2001 13:58:36 +0000 (13:58 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 28 Jun 2001 13:58:36 +0000 (13:58 +0000)
commita6e9f9dfd0ab3cd55e4a893d327f502222188ff3
tree6d8cdd83e8eaaa660d74656c20c8e32624ce7ab4
parentad98fdaf510e66376482f21152e0a57d0bd47071
* readelf.c (GET_DATA_ALLOC): Remove.
(GET_DATA): Remove.
(get_data): New function combining above macros, with an extra
test for zero size.
Use get_data, and catch error return throughout file.
binutils/ChangeLog
binutils/readelf.c