[cfe-commits] [patch] ld emulation mode on mips platform

Eli Friedman eli.friedman at gmail.com
Mon Nov 7 08:32:36 PST 2011


On Mon, Nov 7, 2011 at 12:58 AM, Atanasyan, Simon <satanasyan at mips.com> wrote:
> The driver runs "ld" with incorrect emulation mode on a mips platform. That leads to the following error:
> [[
> /usr/bin/ld: unrecognised emulation mode: elf_x86_64
> Supported emulations: elf32ltsmip elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> ]]
>
> Here is a patch that fixes this issue. The patch does not support "n32" abi (i.e. does not handle elf32ltsmipn32 / elf32btsmipn32 emulation modes). I plan to fix it later.

Patch looks fine.

-Eli



More information about the cfe-commits mailing list