aboutsummaryrefslogtreecommitdiff
path: root/src-release
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-25 09:59:01 +0000
committerNick Clifton <nickc@redhat.com>2004-10-25 09:59:01 +0000
commitd79b3d5057332a6e4181cab6e53d7371612c66a7 (patch)
tree7ba7e114e97af822f3dcb8c0e1aeee466e1c46ad /src-release
parentfc3d45e89ebe0b81e46d82e106db51921e8c2b74 (diff)
downloadgdb-d79b3d5057332a6e4181cab6e53d7371612c66a7.zip
gdb-d79b3d5057332a6e4181cab6e53d7371612c66a7.tar.gz
gdb-d79b3d5057332a6e4181cab6e53d7371612c66a7.tar.bz2
PR 465
* readelf.c (dynamic_strings_length): New global variable. (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing strings in the dynamic string table. (process_section_headers): Initialise dynamic_strings_length. (process_dynamic_section): Likewise. (process_object): Reset dynamic_string_length when the buffer is freed. (dynamic_sections_mips_val): Use the new macros. (process_dynamic_section): Likewise. (process_version_sections): Likewise. (process_symbol_table): Likewise. (process_syminfo): Likewise. (process_mips_specific): Likewise. (dump_relocations): Add a new parameter 'strtablen' and use this to verify that string offset in a given reloc is valid. Print a suitable error message otherwise. (process_relocs): Pass the new argument to dump_relocations.
Diffstat (limited to 'src-release')
0 files changed, 0 insertions, 0 deletions