[PATCH] D63690: [ELF][PPC][X86] Use [-2**(n-1), 2**n) to check overflows for R_PPC_ADDR16, R_PPC64_ADDR{16,32}, R_X86_64_{8,16}

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 23 22:38:09 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364164: [ELF][PPC][X86] Use [-2**(n-1), 2**n) to check overflows for R_PPC_ADDR16… (authored by MaskRay, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63690/new/

https://reviews.llvm.org/D63690

Files:
  lld/trunk/ELF/Arch/PPC.cpp
  lld/trunk/ELF/Arch/PPC64.cpp
  lld/trunk/ELF/Arch/X86_64.cpp
  lld/trunk/ELF/Target.h
  lld/trunk/test/ELF/Inputs/i386-reloc-16-error.s
  lld/trunk/test/ELF/Inputs/i386-reloc-16.s
  lld/trunk/test/ELF/Inputs/i386-reloc-8-error.s
  lld/trunk/test/ELF/Inputs/i386-reloc-8.s
  lld/trunk/test/ELF/Inputs/x86-64-reloc-16-error.s
  lld/trunk/test/ELF/Inputs/x86-64-reloc-16.s
  lld/trunk/test/ELF/Inputs/x86-64-reloc-8-error.s
  lld/trunk/test/ELF/Inputs/x86-64-reloc-8.s
  lld/trunk/test/ELF/aarch64-abs16.s
  lld/trunk/test/ELF/aarch64-abs32.s
  lld/trunk/test/ELF/aarch64-prel16.s
  lld/trunk/test/ELF/aarch64-prel32.s
  lld/trunk/test/ELF/i386-reloc-16.s
  lld/trunk/test/ELF/i386-reloc-8.s
  lld/trunk/test/ELF/ppc32-reloc-addr.s
  lld/trunk/test/ELF/ppc64-addr16-error.s
  lld/trunk/test/ELF/ppc64-reloc-addr.s
  lld/trunk/test/ELF/x86-64-reloc-16.s
  lld/trunk/test/ELF/x86-64-reloc-8-16.s
  lld/trunk/test/ELF/x86-64-reloc-8.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63690.206157.patch
Type: text/x-patch
Size: 17288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190624/ecb97d87/attachment.bin>


More information about the llvm-commits mailing list