[PATCH] D63690: [ELF][PPC][X86] Check overflow using [-2**(n-1), 2**n) 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
Sat Jun 22 23:03:05 PDT 2019
- Previous message: [PATCH] D63690: [ELF][PPC][X86] Check overflow using [-2**(n-1), 2**n) for R_PPC_ADDR16, R_PPC64_ADDR{16,32}, R_X86_64_{8,16}
- Next message: [PATCH] D63690: [ELF][PPC][X86] Check overflow using [-2**(n-1), 2**n) for R_PPC_ADDR16, R_PPC64_ADDR{16,32}, R_X86_64_{8,16}
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
MaskRay marked an inline comment as done.
MaskRay added inline comments.
================
Comment at: ELF/Arch/X86_64.cpp:368
case R_X86_64_32:
checkUInt(Loc, Val, 32, Type);
write32le(Loc, Val);
----------------
This is special, bfd uses complain_overflow_unsigned for this, so this does not need a fix..
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63690/new/
https://reviews.llvm.org/D63690
- Previous message: [PATCH] D63690: [ELF][PPC][X86] Check overflow using [-2**(n-1), 2**n) for R_PPC_ADDR16, R_PPC64_ADDR{16,32}, R_X86_64_{8,16}
- Next message: [PATCH] D63690: [ELF][PPC][X86] Check overflow using [-2**(n-1), 2**n) for R_PPC_ADDR16, R_PPC64_ADDR{16,32}, R_X86_64_{8,16}
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the llvm-commits
mailing list