[llvm] r235222 - Compute A-B if both A and B are in the same comdat section.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Apr 20 05:35:05 PDT 2015


I am currently testing the attached patch.

On 20 April 2015 at 08:33, Vasileios Kalintiris
<Vasileios.Kalintiris at imgtec.com> wrote:
>> What is the triple? What is the error? What is the corresponding gas output?
>
> The original triple was mips-mti-linux-gnu but the test case produces the same error with the x86_64-unknown-linux-gnu triple. The error was in comments in the attached file:
>
> $ clang -target x86_64-unknown-linux-gnu -c test.s
> test.s:13:9: error: Cannot represent a difference across sections
>              .4byte  ($c)-($func_begin0)
>
> I have attached a temporary patch that is working for me but I'm not familiar with this part of code.
>
> Thanks,
> Vasileios
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 1784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150420/2ceb01a1/attachment.obj>


More information about the llvm-commits mailing list