Based on patch from H. Peter Anvin <hpa@transmeta.com>:
authorIan Lance Taylor <ian@airs.com>
Sat, 12 Jun 1999 15:42:04 +0000 (15:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 12 Jun 1999 15:42:04 +0000 (15:42 +0000)
commitf91ea8497661e80927b17cabda43af803e60391c
treeb568bebd345c04df219493bd41412a2b8ee46d18
parentf353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e
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.
binutils/ChangeLog
binutils/NEWS
binutils/binutils.texi
binutils/objcopy.1
binutils/objcopy.c