(xnm is an alias to the MinGW nm for PE COFF.
[apl]bauxite$ xnm CarbonBlackBox.o | grep cxa
U ___cxa_pure_virtual
[apl]bauxite$ /tools/linux/gcc-3.4.3-mingw/bin/i386-mingw32msvc-objcopy
--redefine-sym __cxa_pure_virtual=Carbon_PureVirtual CarbonBlackBox.o CBO.o
[apl]bauxite$ xnm CBO.o | grep cxa
U ___cxa_pure_virtual
Linux sed OTOH happily converts the strings....
--
Summary: objcopy --redefine-sym doesn't work with PE COFF
Product: binutils
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: apl at alum dot mit dot edu
CC: bug-binutils at gnu dot org
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-mingw32msvc
http://sourceware.org/bugzilla/show_bug.cgi?id=1470
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils