[LLVMdev] LLVM and little-endian 32-bit MIPS code generation

Gang-Ryung Uh guh at boisestate.edu
Fri Jul 15 14:55:14 PDT 2011


     We would like to assemble .s file using binutils-2.5.2 which comes with
simple-scalar3.0. Unfortunately, this particular version of binutils doesn't
seem to handle global-offset-table (position independent code) and the some
of the mips instructions. Thanks,

On Fri, Jul 15, 2011 at 11:39 AM, Eric Christopher <echristo at apple.com>wrote:

> On Jul 15, 2011, at 10:13 AM, Gang-Ryung Uh wrote:
> > Hi,
> >
> >     We have tried and generate assembly code for very simple test C code.
> But, binutils-2.5.2 (simplesim-3.0) cannot handle the produced assembly code
> with the following complaints. Could you advise which version of bitutils
> that we need to use for mips code with LLVM with Clang? Thanks,
> Something released in the last 10 years maybe? Just download something
> recent from gnu.org and you should be fine.
> -eric

Gang-Ryung Uh, Associate Professor
Department of Computer Science
College of Engineering, Boise State Univerisity
tel: 1 208 426-5691  e-mail:guh at boisestate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110715/bc464234/attachment.html>

More information about the llvm-dev mailing list