Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64/include PR port-ia64/51261



details:   https://anonhg.NetBSD.org/src/rev/9bfaa43874c8
branches:  trunk
changeset: 346879:9bfaa43874c8
user:      scole <scole%NetBSD.org@localhost>
date:      Fri Aug 05 16:58:33 2016 +0000

description:
PR port-ia64/51261

Add macro R_TYPE() stub

diffstat:

 sys/arch/ia64/include/elf_machdep.h |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r a6388b536845 -r 9bfaa43874c8 sys/arch/ia64/include/elf_machdep.h
--- a/sys/arch/ia64/include/elf_machdep.h       Fri Aug 05 16:56:43 2016 +0000
+++ b/sys/arch/ia64/include/elf_machdep.h       Fri Aug 05 16:58:33 2016 +0000
@@ -27,7 +27,8 @@
  *
  * $FreeBSD: src/sys/ia64/include/elf.h,v 1.11 2003/09/25 01:10:24 peter Exp $
  */
-
+#ifndef _IA64_ELF_MACHDEP_H
+#define _IA64_ELF_MACHDEP_H
 
 #define        ELF32_MACHDEP_ENDIANNESS        XXX     /* break compilation */
 #define        ELF32_MACHDEP_ID_CASES                                          \
@@ -145,6 +146,8 @@
 #define SHF_IA_64_NORECOV 0x20000000   /* section contains code that uses speculative instructions without
                                         * recovery code
                                         */
-
+/* XXX fix these for ld.elf_so */
+#define R_IA64_COPY (0)
+#define R_TYPE(name)    __CONCAT(R_IA64_,name)
 
-
+#endif /* _IA64_ELF_MACHDEP_H */



Home | Main Index | Thread Index | Old Index