]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
Fix reading of .debug_str_offsets{,.dwo} twice.
authorDoug Evans <dje@google.com>
Mon, 13 Apr 2015 19:50:17 +0000 (12:50 -0700)
committerDoug Evans <dje@google.com>
Mon, 13 Apr 2015 19:50:17 +0000 (12:50 -0700)
commit0d2a7a932244fab27d6c4ce211ea8f7708a1a9cc
tree234fd3f8a7dcb81a20eab1016b9744d653a6a21e
parent0ff6fcb2f0f2e3c0de3708ec41fb849d1461c9d7
Fix reading of .debug_str_offsets{,.dwo} twice.

PR binutils/18218
* readelf.c (printable_section_name): Constify sec argument.
(apply_relocations): Ditto.  New arg "size".  All callers updated.
(load_specific_debug_section): Constify sec argument.
Remove side-effect of modifying sec->sh_size.
binutils/ChangeLog
binutils/readelf.c