Fwd: Negation overflow in readelf.c

2015-07-19 Thread Dingbao Xie
Dear developers, I have found 3 undefined behaviors in readelf. If you build binutils-2.25 with ubsan (require gcc-4.9 or clang-3.3) and execute command: readelf -a test_file (test files are in the attachment). You will see 3 runtime errors: readelf.c:1543:39: runtime error: negation of -92233720

[Bug ld/18692] New: AArch64: ld --emit-relocs corrupts section relative relocations

2015-07-19 Thread ard.biesheuvel at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=18692 Bug ID: 18692 Summary: AArch64: ld --emit-relocs corrupts section relative relocations Product: binutils Version: 2.24 Status: NEW Severity: normal