diff options
author | emaste <emaste@FreeBSD.org> | 2015-01-21 01:07:58 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-01-21 01:07:58 +0000 |
commit | b0c7bd39a20a4d8cfcb56c20be0428c1a6474ae8 (patch) | |
tree | 750e9e3b9be4532588ade041656db719ab6af581 /contrib/elftoolchain/readelf | |
parent | 03fe27a77383de96ee608557018620836fe5cb12 (diff) | |
download | FreeBSD-src-b0c7bd39a20a4d8cfcb56c20be0428c1a6474ae8.zip FreeBSD-src-b0c7bd39a20a4d8cfcb56c20be0428c1a6474ae8.tar.gz |
redelf: Add missing R_X86_64_ relocation types
PR: 196918
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1570
Diffstat (limited to 'contrib/elftoolchain/readelf')
-rw-r--r-- | contrib/elftoolchain/readelf/readelf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/elftoolchain/readelf/readelf.c b/contrib/elftoolchain/readelf/readelf.c index 6e1e52a..a8c15c4 100644 --- a/contrib/elftoolchain/readelf/readelf.c +++ b/contrib/elftoolchain/readelf/readelf.c @@ -1480,6 +1480,20 @@ r_type(unsigned int mach, unsigned int type) case 21: return "R_X86_64_DTPOFF32"; case 22: return "R_X86_64_GOTTPOFF"; case 23: return "R_X86_64_TPOFF32"; + case 24: return "R_X86_64_PC64"; + case 25: return "R_X86_64_GOTOFF64"; + case 26: return "R_X86_64_GOTPC32"; + case 27: return "R_X86_64_GOT64"; + case 28: return "R_X86_64_GOTPCREL64"; + case 29: return "R_X86_64_GOTPC64"; + case 30: return "R_X86_64_GOTPLT64"; + case 31: return "R_X86_64_PLTOFF64"; + case 32: return "R_X86_64_SIZE32"; + case 33: return "R_X86_64_SIZE64"; + case 34: return "R_X86_64_GOTPC32_TLSDESC"; + case 35: return "R_X86_64_TLSDESC_CALL"; + case 36: return "R_X86_64_TLSDESC"; + case 37: return "R_X86_64_IRELATIVE"; default: return ""; } default: return ""; |