[lld] r325379 - Don't depend on "call foo" producing a X86_64_PC32.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 17 03:16:22 PST 2018

>Newer versions of the gnu assembler produce a X86_64_PLT32 for
>calls. There is a change under review in llvm to do the same, so update
>the tests to not depend on it.
>We can still produce a R_X86_64_PC32 with ".long foo - .".
>    lld/trunk/test/ELF/copy-errors.s
>    lld/trunk/test/ELF/copy-rel-corrupted.s
>    lld/trunk/test/ELF/copy-rel-pie.s
>    lld/trunk/test/ELF/gc-sections-shared.s
>    lld/trunk/test/ELF/map-file.s
>    lld/trunk/test/ELF/non-abs-reloc.s
>    lld/trunk/test/ELF/relocatable-symbols.s
>    lld/trunk/test/ELF/verdef-defaultver.s
>    lld/trunk/test/ELF/writable-sec-plt-reloc.s
>    lld/trunk/test/ELF/x86-64-reloc-pc32-fpic.s
>    lld/trunk/test/ELF/znotext-plt-relocations-protected.s

Cool, thanks ! That helps to D43383 a lot.


More information about the llvm-commits mailing list