PATCH: binutils/9784: Would like an option to provide a prefix for the debug info source

Nick Clifton nickc@redhat.com
Tue Feb 3 15:31:00 GMT 2009


Hi H.J.

> 2009-01-25  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR binutils/9784
> 	* NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
> 
> 	* doc/binutils.texi: Document --prefix=PREFIX and
> 	--prefix-strip=LEVEL.
> 
> 	* objdump.c: Include "filenames.h".
> 	(prefix): New.
> 	(prefix_strip): Likewise.
> 	(prefix_length): Likewise.
> 	(usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
> 	(option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
> 	(long_options): Likewise.
> 	(show_line): Handle prefix and prefix_strip.
> 	(main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
> 
> 	* readelf.c (PATH_MAX): Moved to ...
> 	* sysdep.h: Here.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list