aboutsummaryrefslogtreecommitdiff
path: root/binutils/NEWS
diff options
context:
space:
mode:
authorRonald Hoogenbllon <rhoogenboom@irdeto.com>2015-10-21 15:16:35 +0100
committerNick Clifton <nickc@redhat.com>2015-10-21 15:16:35 +0100
commit2b35fb28f397a26c0da03f7579116d28af2af824 (patch)
tree7dc8a9042b84587fa9c317fbf1feda1caf6a1f97 /binutils/NEWS
parent1283d92f0e4704bb31b1e163b9c88216756ef62c (diff)
downloadgdb-2b35fb28f397a26c0da03f7579116d28af2af824.zip
gdb-2b35fb28f397a26c0da03f7579116d28af2af824.tar.gz
gdb-2b35fb28f397a26c0da03f7579116d28af2af824.tar.bz2
Add ability for objcopy to insert new symbols into a binary.
PR binutils/19104 binutils * objcopy.c (command_line_switch): Add OPTION_ADD_SYMBOL. (copy_options): Add add-symbol. (copy_usage): Likewise. (parse_symflags): New function. (need_sym_before): New function. (create_new_symbol): New function. (filter_symbols): Add code to insert new symbols. (copy_main): Process OPTION_ADD_SYMBOL. * doc/binutils.texi: Document new feature. * NEWS: Add note about the new feature. tests * binutils-all/add-symbol.d: New test. * binutils-all/objcopy.exp: Run the new test.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r--binutils/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS
index fb36cf1..b0508f8 100644
--- a/binutils/NEWS
+++ b/binutils/NEWS
@@ -1,5 +1,8 @@
-*- text -*-
+* Add option to objcopy to insert new symbols into a file:
+ --add-symbol <name>=[<section>:]<value>[,<flags>]
+
* Add support for the ARC EM/HS, and ARC600/700 architectures.
* Extend objcopy --compress-debug-sections option to support