diff options
| author | ruki <[email protected]> | 2026-07-18 20:56:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-07-18 20:56:26 +0800 |
| commit | f2868ddfe82e0ce73888deebbf940dc9f511ef5e (patch) | |
| tree | 457cafa9833ecf395c464a6873b7e291d4f4b8f5 /xmake/modules/cli/binutils/bin2obj.lua | |
| parent | 6b3632901ad14e99d306232c15cf788f6b081066 (diff) | |
detect obj flags for bin2elf
Diffstat (limited to 'xmake/modules/cli/binutils/bin2obj.lua')
| -rw-r--r-- | xmake/modules/cli/binutils/bin2obj.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/cli/binutils/bin2obj.lua b/xmake/modules/cli/binutils/bin2obj.lua index 06493143a..c8314594f 100644 --- a/xmake/modules/cli/binutils/bin2obj.lua +++ b/xmake/modules/cli/binutils/bin2obj.lua @@ -32,7 +32,8 @@ local options = { {nil, "target_minver", "kv", nil, "Set the target minimum version (e.g., 10.0, 18.2)."}, {nil, "xcode_sdkver", "kv", nil, "Set the Xcode SDK version (e.g., 10.0, 18.2)."}, {nil, "zeroend", "k", nil, "Append a null terminator ('\\0') at the end of data."}, - {nil, "cosmocc", "k", nil, "Enable cosmocc support (generate concomitant object file)."} + {nil, "cosmocc", "k", nil, "Enable cosmocc support (generate concomitant object file)."}, + {nil, "refobj", "kv", nil, "Mirror class/endianness/machine/e_flags from a reference elf object."} } function main(...) |
