]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
readelf: avoid accidental fallthrough in RISC-V relocations
authorEd Maste <emaste@FreeBSD.org>
Fri, 5 Feb 2016 20:54:51 +0000 (20:54 +0000)
committerEd Maste <emaste@FreeBSD.org>
Fri, 5 Feb 2016 20:54:51 +0000 (20:54 +0000)
commit23541160bb3e58f5deb04a299eda60fc80b731bc
tree2c407491789c80d8fb3eae03ad6ab210e60d9caf
parent5652770d8f616a159ecbe1b136cd7f287a5a8892
readelf: avoid accidental fallthrough in RISC-V relocations

This would have printed an unknown RISC-V relocation type as a SPARC
relocation.

CID: 1331398
Obtained from: ELF Tool Chain r3283
Sponsored by: The FreeBSD Foundation
contrib/elftoolchain/readelf/readelf.c