diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-02-28 15:27:16 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-02-28 15:27:16 +0000 |
commit | e9e446227d91e4e0902ee7a3a1381b64eacfcd68 (patch) | |
tree | b40b0bf61aacfe11b0ec2c8a51e286d99db103ae /binutils/ChangeLog | |
parent | 2da12f1243a8fc0fd8fb420410bce7572992b389 (diff) | |
download | gdb-e9e446227d91e4e0902ee7a3a1381b64eacfcd68.zip gdb-e9e446227d91e4e0902ee7a3a1381b64eacfcd68.tar.gz gdb-e9e446227d91e4e0902ee7a3a1381b64eacfcd68.tar.bz2 |
* readelf.c (get_file_type, get_machine_name, get_osabi_name,
get_segment_type, get_section_type_name, get_elf_class,
get_data_encoding, get_group_flags, dynamic_section_mips_val,
get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
get_AT_name, process_mips_specific, process_gnu_liblist,
get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
sprintf where needed.
(get_dynamic_type): Likewise. Increase buff to 64 bytes.
(get_elf_section_flags): Increase buff to 33 bytes. Avoid
using strcat.
(get_dynamic_flags): Renamed to...
(print_dynamic_flags): ... this. Print the flags to stdout instead
of returning them as string.
(process_dynamic_section): Adjust caller.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 56e3581..96cd194 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,20 @@ +2005-02-28 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (get_file_type, get_machine_name, get_osabi_name, + get_segment_type, get_section_type_name, get_elf_class, + get_data_encoding, get_group_flags, dynamic_section_mips_val, + get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name, + get_AT_name, process_mips_specific, process_gnu_liblist, + get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of + sprintf where needed. + (get_dynamic_type): Likewise. Increase buff to 64 bytes. + (get_elf_section_flags): Increase buff to 33 bytes. Avoid + using strcat. + (get_dynamic_flags): Renamed to... + (print_dynamic_flags): ... this. Print the flags to stdout instead + of returning them as string. + (process_dynamic_section): Adjust caller. + 2005-02-25 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (display_debug_ranges): Print out offset for end of |