[llvm-commits] Mip MC - Submission request for initial 64 bit direct object support

Carter, Jack jcarter at mips.com
Thu Mar 29 10:30:57 PDT 2012


As requested the test case has been incorporated into elf-basic.s with added comments to point out which assembler invocations generates which code and also annotated the CHECK calls themselves.

Cheers,

Jack
________________________________________
From: Rafael EspĂ­ndola [rafael.espindola at gmail.com]
Sent: Wednesday, March 28, 2012 5:59 PM
To: Carter, Jack
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] Mip MC - Submission request for initial 64 bit direct object support

On 28 March 2012 20:01, Carter, Jack <jcarter at mips.com> wrote:
> This patch allows llvm to recognize that a 64 bit object file is being
> produced and that the subsequently generated ELF header has the correct
> information.

Can you mereg elf-64bit-basic.s into elf-basic.s?

+  // FIXME: We can't tell if we are PIC (dynamic) or CPIC (static)
+  unsigned Flag = ELF::EF_MIPS_NOREORDER;

How does the mips assembler find this? Command line option?

> Cheers,
>
> Jack

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 64bit.patch
Type: text/x-patch
Size: 9593 bytes
Desc: 64bit.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120329/ba9c3fa9/attachment.bin>


More information about the llvm-commits mailing list