[Patch] Add private dumper to objdump

Alan Modra amodra@gmail.com
Tue May 10 02:47:00 GMT 2011


On Thu, May 05, 2011 at 04:27:38PM +0200, Tristan Gingold wrote:
> 	* od-xcoff.c: New file.
> 	* objdump.h: New file.
> 	* objdump.c: Include objdump.h
> 	(dump_private_options, objdump_private_vectors): New variables.
> 	(usage): Mention -P/--private.  Display handled options.
> 	(long_options): Add -P/--private.
> 	(dump_target_specific): New function.
> 	(dump_bfd): Handle dump_private_options.
> 	(main): Handle -P.
> 	* doc/binutils.texi (objdump): Document -P/--private.
> 	* configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
> 	New variables, compute them.
> 	(od_vectors): Add vectors for private dumpers. Make them uniq.
> 	(OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
> 	* Makefile.am (HFILES): Add objdump.h
> 	(CFILES): Add od-xcoff.c
> 	(OBJDUMP_PRIVATE_OFILES): New variable.
> 	(objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
> 	(objdump_LDADD): Ditto.
> 	(EXTRA_objdump_SOURCES): Define.
> 	* Makefile.in: Regenerate.
> 	* configure: Regenerate.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list