[LLVMdev] MIPs backend generates wrong reloc info for static data

Akira Hatanaka ahatanak at gmail.com
Wed Nov 28 12:35:46 PST 2012


Could you file a PR, with the exact command (including options such as
-target, etc.) to reproduce this problem?

On Wed, Nov 28, 2012 at 9:20 AM, HEITZMANN Frédéric 218168 <
frederic.heitzmann at cea.fr> wrote:

> Hi all,
>
> I use llvm-clang with a MIPS target, and it seems that the backend
> generates wrong reloc info.
> I attach a very simple test case.
> * Compile test.c with 'clang -internal-as -g'
> * use mips-elf-objdump -S to get the generate assembly code (see test.lst)
> * use mips-elf-readelf -a to look for relocation info (see test.readelf)
>
> All relocations for static data are 0000 ?!
>
> I did not managed to locate the problem in the code, but I would be glad
> to help if someone can narrow the search area in the code base.
>
> Thanks for you help,
>
> --
> Fred
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121128/2364c052/attachment.html>


More information about the llvm-dev mailing list