[llvm-commits] [llvm] r134511 - /llvm/trunk/test/MC/ELF/relocation.s

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Jul 7 10:21:58 PDT 2011


On 07/06/2011 01:55 PM, Kevin Enderby wrote:
> Author: enderby
> Date: Wed Jul  6 12:55:20 2011
> New Revision: 134511
>
> URL: http://llvm.org/viewvc/llvm-project?rev=134511&view=rev
> Log:
> Update MC/ELF/relocation.s with change to X86 PUSH64i8 in r134501.

Now for

bar:
         pushq    $bar

we produce a R_X86_64_8 and gas produces a R_X86_64_32S. Since
they are both sign extended, I think this is a valid improvement.

Just wondering why gas doesn't do the same.

Thanks,
Rafael



More information about the llvm-commits mailing list