jbush001 / NyuziToolchain

Port of LLVM/Clang C compiler to Nyuzi parallel processor architecture
Other
62 stars 28 forks source link

LLD does not check range for ABS32 relocations #73

Closed jbush001 closed 7 years ago

jbush001 commented 7 years ago

These can be out of range if there is an addend. e.g.:

.long foo + 0xffffffff
jbush001 commented 7 years ago

LLD can't really check this now, as the value is cast to an unsigned and the overflow is lost by the time the target gets the relocation.