diff options
author | Ronald Hoogenbllon <rhoogenboom@irdeto.com> | 2015-10-21 15:16:35 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-21 15:16:35 +0100 |
commit | 2b35fb28f397a26c0da03f7579116d28af2af824 (patch) | |
tree | 7dc8a9042b84587fa9c317fbf1feda1caf6a1f97 /gdb | |
parent | 1283d92f0e4704bb31b1e163b9c88216756ef62c (diff) | |
download | gdb-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 'gdb')
0 files changed, 0 insertions, 0 deletions