This is the mail archive of the
binutils-cvs@sourceware.cygnus.com
mailing list for the binutils project.
binutils/binutils ChangeLog objcopy.c binutils ...
- To: binutils-cvs@sourceware.cygnus.com
- Subject: binutils/binutils ChangeLog objcopy.c binutils ...
- From: ian@sourceware.cygnus.com
- Date: 12 Jun 1999 22:42:05 -0000
CVSROOT: /cvs/binutils
Module name: binutils
Changes by: ian@egcs.cygnus.com 99/06/12 15:42:05
Modified files:
binutils : ChangeLog objcopy.c binutils.texi objcopy.1
NEWS
Log message:
Based on patch from H. Peter Anvin <hpa@transmeta.com>:
* objcopy.c (struct section_list): Add copy field.
(sections_copied): New static variable.
(copy_options): Add "only-section".
(copy_usage): Mention -j and --only-section.
(find_section_list): Initialize copy field.
(is_strip_section): Check for copying sections.
(copy_object): Check sections_copied when calling filter_symbols.
(setup_section): Check for copying sections.
(copy_section): Likewise.
(copy_main): Handle -j/--only-section.
* binutils.texi, objcopy.1: Document -j/--only-section.