In the FreeBSD world x86_64 still has its original name, amd64. Accept it as an alias.
Issue encountered while trying to link the FreeBSD kernel (modules) with lld, with D24060 and a build patch to always set -m (https://reviews.freebsd.org/D7837).
Differential D24356
ELF: accept -m elf_amd64 as an alias for -m elf_x86_64 emaste on Sep 8 2016, 10:52 AM. Authored by
Details In the FreeBSD world x86_64 still has its original name, amd64. Accept it as an alias. Issue encountered while trying to link the FreeBSD kernel (modules) with lld, with D24060 and a build patch to always set -m (https://reviews.freebsd.org/D7837).
Diff Detail Event Timeline
|
Instead of adding "AMD64:" lines, can you reuse exiting "X86-64"? I think the output will be the same.