Could you file a PR, with the exact command (including options such as -target, etc.) to reproduce this problem?<br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 9:20 AM, HEITZMANN Frédéric 218168 <span dir="ltr"><<a href="mailto:frederic.heitzmann@cea.fr" target="_blank">frederic.heitzmann@cea.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I use llvm-clang with a MIPS target, and it seems that the backend generates wrong reloc info.<br>
I attach a very simple test case.<br>
* Compile test.c with 'clang -internal-as -g'<br>
* use mips-elf-objdump -S to get the generate assembly code (see test.lst)<br>
* use mips-elf-readelf -a to look for relocation info (see test.readelf)<br>
<br>
All relocations for static data are 0000 ?!<br>
<br>
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.<br>
<br>
Thanks for you help,<br>
<br>
--<br>
Fred<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>