[ELF] Support --oformat= beside Separate --oformat
authorFangrui Song <i@maskray.me>
Mon, 29 Nov 2021 02:44:23 +0000 (18:44 -0800)
committerFangrui Song <i@maskray.me>
Mon, 29 Nov 2021 02:44:23 +0000 (18:44 -0800)
commit11291326cd983288117b52e955e7936548373c89
tree7bb2e66cb0bc1f742a076ed828d065039e9f09a8
parentb5f1fa3e5c1503137c63d5eab1bd213dea706041
[ELF] Support --oformat= beside Separate --oformat

Both GNU ld's manpage and ours use --oformat= as the canonical form.
It's odd that we do not support it...
lld/ELF/Options.td
lld/test/ELF/oformat-binary.s