[llvm-commits] [PATCH]: PPC64 emission of gnu as dialect asm fix
Roman Divacky
rdivacky at freebsd.org
Mon Jun 6 08:41:33 PDT 2011
I forgot to reset the Subject, sorry
On Mon, Jun 06, 2011 at 05:38:22PM +0200, Roman Divacky wrote:
> Hi there,
>
> MC currently hardcodes the raw text emission of VK_PPC_HA16/VK_PPC_LO16
> symbols to the darwin format, ie:
>
> ha16(symbol) and lo16(symbol)
>
> Gnu as accepts this format:
>
> symbol at ha and symbol at l
>
> The attached patch splits VK_PPC_HA16/VK_PPC_LO16 into
>
> VK_PPC_DARWIN_HA16,
> VK_PPC_DARWIN_LO16,
> VK_PPC_GAS_HA16,
> VK_PPC_GAS_LO16
>
> using each variant based on whether the target is darwin.
>
>
> This enables LLVM to be used on PowerPC64 on non-darwin platforms
> (tested on FreeBSD).
>
> OK to commit? Or is there a better way to distinguish those two
> asm dialects?
>
> roman
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list