mold icon indicating copy to clipboard operation
mold copied to clipboard

Flag --oformat doesn't seem to be supported

Open dcb314 opened this issue 3 years ago • 1 comments

dosemu.spec.out:mold: unknown command line option: --oformat

ld seems to support it.

dcb314 avatar Jan 05 '22 15:01 dcb314

AFAIK, --oformat option is almost always used in combination with the binary argument and a linker script to control the layout of the header-less output file. So, --oformat=binary is not useful without linker script support. As mold omits complex linker script support, I think it doesn't make much sense to support only the --oformat=binary flag.

rui314 avatar Jan 06 '22 13:01 rui314