Issue 129366
Summary llvm-objcopy --redefine-syms Does Not Update Symbols in PE/COFF (.dll) Files
Labels new issue
Assignees
Reporter Harishmcw
    Hi Developers,

When using llvm-objcopy on a PE/COFF .dll file to rename symbols using the --redefine-syms option, the command executes successfully, and the timestamp of the file updates. However, when inspecting the modified .dll, the symbols remain unchanged.

Command Executed:

`llvm-objcopy --redefine-syms objcopy.def openblas.dll`

Definition File (objcopy.def):

```
lsame_ scipy_lsame_
xerbla_ scipy_xerbla_
isamax_ scipy_isamax_
isamin_ scipy_isamin_
ismax_ scipy_ismax_
```
Please confirm whether --redefine-syms is expected to work on PE/COFF .dll files. If not, should it be documented as unsupported? Otherwise, if this is a bug, a fix would be greatly appreciated.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to