This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/binutils ChangeLog readelf.c
- From: jakub at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 28 Feb 2005 15:27:20 -0000
- Subject: src/binutils ChangeLog readelf.c
CVSROOT: /cvs/src
Module name: src
Changes by: jakub@sourceware.org 2005-02-28 15:27:19
Modified files:
binutils : ChangeLog readelf.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.874&r2=1.875
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/binutils/readelf.c.diff?cvsroot=src&r1=1.280&r2=1.281