aboutsummaryrefslogtreecommitdiff
path: root/binutils/NEWS
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-03-01 16:39:42 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2007-03-01 16:39:42 +0000
commitd3e52d400ebf3840199b62eaafa92954110dc4fa (patch)
tree7f4378331536c4e5e2ad822afd989d2cf101f111 /binutils/NEWS
parent336becc77940136f16d65d66361397d6c4556293 (diff)
downloadgdb-d3e52d400ebf3840199b62eaafa92954110dc4fa.zip
gdb-d3e52d400ebf3840199b62eaafa92954110dc4fa.tar.gz
gdb-d3e52d400ebf3840199b62eaafa92954110dc4fa.tar.bz2
binutils/
200x-xx-xx Phil Edwards <phil@codesourcery.com> Richard Sandiford <richard@codesourcery.com> * NEWS: Mention addition of --extract-symbol. * doc/binutils.texi: Document it. * objcopy.c (extract_symbol): New variable. (OPTION_EXTRACT_SYMBOLS): New command_line_switch. (copy_options): Add an entry for --extract-symbol. (copy_usage): Mention --extract-symbol. (copy_object): Set the start address to zero for --extract-symbol. Do not copy private BFD data in that case. (setup_section): Set the size, LMA and VMA to zero for --extract-symbol. Do not copy private BFD data in that case. (copy_section): Do not copy section contents if --extract-symbol is passed. (copy_main): Set extract_symbol to TRUE if --extract-symbol is passed. ld/testsuite/ * ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d, * ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests. * ld-elf/binutils.exp: Run them.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r--binutils/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS
index d12450e..f63a736 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -1,5 +1,10 @@
-*- text -*-
+* Add --extract-symbol command line option to objcopy, which will
+ strip everything out of an ordinary object file or executable except
+ for its symbol table. Files containing just symbols can be useful
+ to some OSes.
+
* Add "-x NAME" to readelf in addition to "-x NUMBER".
* Add -i and -t switches to cxxfilt. -i disables the display of implementation