This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: readelf: Print sh_flags in hex
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sources dot redhat dot com
- Cc: hjl at lucon dot org
- Date: Sat, 13 Aug 2005 19:50:11 -0400 (EDT)
- Subject: Re: PATCH: readelf: Print sh_flags in hex
This following change breaks the build of readelf on hppa2.0w-hp-hpux11.11:
2005-08-10 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (do_full_section_name): Renamed to ...
(do_section_details): This.
(option): Rename "-N/--full-section-name" to
"-f/--section-details".
(usage): Likewise.
(parse_args): Likewise.
(get_elf_section_flags): Support do_section_details.
(process_section_headers): Updated for do_section_details.
gcc -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -D_GNU_SOURCE -I. -I../../src/b
inutils -I../bfd -I../../src/binutils/../bfd -I../../src/binutils/../include -DH
OST_HPPAHPUX -D_LARGEFILE64_SOURCE -I../../src/binutils/../intl -I../intl -DLOCA
LEDIR="\"/opt/gnu/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -
D_LARGEFILE64_SOURCE -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -
O2 -c ../../src/binutils/readelf.c
cc1: warnings being treated as errors
../../src/binutils/readelf.c: In function 'get_elf_section_flags':
../../src/binutils/readelf.c:3862: warning: implicit declaration of function 'st
pcpy'
../../src/binutils/readelf.c:3862: warning: incompatible implicit declaration of
built-in function 'stpcpy'
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)