This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Strip only symbols coming from myfile.o file
- From: "Fabio Dell'Aria" <fabio dot dellaria at gmail dot com>
- To: "BinUtils Mailing List" <binutils at sourceware dot org>
- Date: Mon, 21 Jan 2008 19:38:48 +0100
- Subject: Strip only symbols coming from myfile.o file
Hi to all,
I have a compiled executable file named myfile.exe.
I need strip, from myfile.exe file, ONLY debug symbols coming from a
specified object file (file.o).
To do this I have try the following 2 commands (without any success):
objdump -G file.o > dbgfile (to store file.o debug symbols in the
dbgfile file)
obj_copy --strip-symbols=dbgfile myfile.exe myfile.exe (to strip
dbgfile file symbols)
Can someone help me please?
--
Best regards...
Fabio Dell'Aria.