Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/include fix relocation type. 277 is R_AARCH...



details:   https://anonhg.NetBSD.org/src/rev/b4082cebd584
branches:  trunk
changeset: 363909:b4082cebd584
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Aug 15 11:08:18 2018 +0000

description:
fix relocation type. 277 is R_AARCH64_ADD_ABS_LO12_NC

diffstat:

 sys/arch/aarch64/include/elf_machdep.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1009ee790c18 -r b4082cebd584 sys/arch/aarch64/include/elf_machdep.h
--- a/sys/arch/aarch64/include/elf_machdep.h    Wed Aug 15 10:49:47 2018 +0000
+++ b/sys/arch/aarch64/include/elf_machdep.h    Wed Aug 15 11:08:18 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elf_machdep.h,v 1.2 2017/11/06 03:47:45 christos Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.3 2018/08/15 11:08:18 ryo Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
 #define        R_AARCH64_ADR_PREL_LO21         274     /* S + A - P */
 #define        R_AARCH64_ADR_PREL_PG_HI21      275     /* Page(S + A) - Page(P) */
 #define        R_AARCH64_ADR_PREL_PG_HI21_NC   276     /* Page(S + A) - Page(P) */
-#define        R_AARCH64_ADR_ABS_LO21_NC       277     /* S + A */
+#define R_AARCH64_ADD_ABS_LO12_NC      277     /* S + A */
 #define        R_AARCH64_LDST8_ABS_LO12_NC     278     /* S + A */
 #define R_AARCH_TSTBR14                        279     /* S + A - P */
 #define R_AARCH_CONDBR19               281     /* S + A - P */



Home | Main Index | Thread Index | Old Index