From 505b88fb5d0725884d473d5a208e604bbda54c4f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 12 Aug 2011 20:33:34 +0000 Subject: [PATCH] Add R_X86_64_RELATIVE64. 2011-08-12 H.J. Lu PR ld/13082 * x86-64.h (R_X86_64_RELATIVE64): New. --- include/elf/ChangeLog | 5 +++++ include/elf/x86-64.h | 1 + 2 files changed, 6 insertions(+) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 39152ac6de7..02eb787ca91 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2011-08-12 H.J. Lu + + PR ld/13082 + * x86-64.h (R_X86_64_RELATIVE64): New. + 2011-07-24 Chao-ying Fu Maciej W. Rozycki diff --git a/include/elf/x86-64.h b/include/elf/x86-64.h index 56254d25f1d..9022f8482f2 100644 --- a/include/elf/x86-64.h +++ b/include/elf/x86-64.h @@ -72,6 +72,7 @@ START_RELOC_NUMBERS (elf_x86_64_reloc_type) descriptor. */ RELOC_NUMBER (R_X86_64_TLSDESC, 36) /* 2x64-bit TLS descriptor. */ RELOC_NUMBER (R_X86_64_IRELATIVE, 37) /* Adjust indirectly by program base */ + RELOC_NUMBER (R_X86_64_RELATIVE64, 38) /* 64bit adjust by program base */ RELOC_NUMBER (R_X86_64_GNU_VTINHERIT, 250) /* GNU C++ hack */ RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251) /* GNU C++ hack */ END_RELOC_NUMBERS (R_X86_64_max) -- 2.30.2