[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30147] Allow to specify PE export name
From: |
pali at kernel dot org |
Subject: |
[Bug ld/30147] Allow to specify PE export name |
Date: |
Tue, 12 Mar 2024 20:35:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30147
--- Comment #4 from Pali Rohár <pali at kernel dot org> ---
Also I must admit that it is annoying if some flags has to be passed to LD as
command line arguments and some other flags via (new temporary) file which is
specified as command line argument. It is highly unexpected usage/behavior.
I see that -soname for ELF targets has quite different meaning than PE export
name, even that it is used for similar purposes.
Nick, what about these changes?
* Throws warning or maybe better error when -soname= is specified for non-ELF
target (targets which do not support soname).
* Document that -soname= is ELF specific. Document how to set PE export name,
what is default value and how ELF soname and PE export name differs.
* Add a new command line option for setting PE export name (+ document it) for
both DLL libraries and EXE executables. I do not know what can be the best name
but reusing -soname is not a good idea (as it does quite different thing).
Maybe -pe-export-name? Or -exportname?
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/30147] Allow to specify PE export name,
pali at kernel dot org <=