We strip a trailing _fbsd from emulation names, but if the result is not a valid emulation the error was somewhat confusing:
% ld.lld -m elf_amd64_fbsd unknown emulation: elf_amd64
Use the unmodified emulation name in error messages.
Differential D24357
Report original emulation name in "unknown emulation" error emaste on Sep 8 2016, 10:59 AM. Authored by
Details We strip a trailing _fbsd from emulation names, but if the result is not a valid emulation the error was somewhat confusing: % ld.lld -m elf_amd64_fbsd unknown emulation: elf_amd64 Use the unmodified emulation name in error messages.
Diff Detail
Event TimelineComment Actions This is OK too. Please wait on Rui on this one as he might have some opinions on the variable name. |