https://sourceware.org/bugzilla/show_bug.cgi?id=19104

            Bug ID: 19104
           Summary: [PATCH] 'add symbol' feature in objcopy
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: rhoogenboom at irdeto dot com
  Target Milestone: ---

Created attachment 8699
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8699&action=edit
add-symbol patch

Objcopy allows to strip/remove and manipulate all kinds of symbols in an
object. Sometimes it might be useful to be able to ADD a symbol too.

The attached patch does just that. It adds the --add-symbol option (can be used
multiple times) that allows to add a new symbol to the end of the symbol table
with an arbitrary absolute value.

If this is found useful, I can add the functionality to allow adding symbols
relative to a specific section too. The patch was made for the FC21 binutils
(2.24-32).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to