diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-12 15:42:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-12 15:42:04 +0000 |
commit | f91ea8497661e80927b17cabda43af803e60391c (patch) | |
tree | b568bebd345c04df219493bd41412a2b8ee46d18 /binutils/NEWS | |
parent | f353eb8a51a81b3997cf97a7e02c5a7fdafb8a6e (diff) | |
download | gdb-f91ea8497661e80927b17cabda43af803e60391c.zip gdb-f91ea8497661e80927b17cabda43af803e60391c.tar.gz gdb-f91ea8497661e80927b17cabda43af803e60391c.tar.bz2 |
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.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r-- | binutils/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS index 0bde43a..7c39501 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -18,6 +18,9 @@ Changes in binutils 2.10: * dlltool now takes --export-all-symbols, --no-export-all-symbols, --exclude-symbols, and --no-default-excludes options. +* objcopy now takes a -j/--only-section option to copy only the specified + sections. + Changes in binutils 2.9: * Added windres program, which can be used to manipulate resources in WIN32 |