Fix illegal memory access problems with readelf processing corrupt RL78 binaries.
PR binutils/21155 * readelf.c (IN_RANGE): New macro. Tests for an address + offset being within a given range. (target_specific_reloc_handling): Use macro to test for underflow as well as overflow of reloc offset.
parent
7e0de605
Please register or sign in to comment