Re: elf_abi.h -> elf.h

2017-10-27 Thread Jeremie Courreges-Anglas
On Fri, Oct 27 2017, Martin Pieuchot  wrote:
> I'd like to get rid of  which is not portable at all.
>
>  is at least present on Solaris, FreeBSD and OSX.
>
> ok?

ok

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



elf_abi.h -> elf.h

2017-10-27 Thread Martin Pieuchot
I'd like to get rid of  which is not portable at all.

 is at least present on Solaris, FreeBSD and OSX.

ok?

Index: games/hangman/ksyms.c
===
RCS file: /cvs/src/games/hangman/ksyms.c,v
retrieving revision 1.10
diff -u -p -r1.10 ksyms.c
--- games/hangman/ksyms.c   8 Jan 2016 13:40:05 -   1.10
+++ games/hangman/ksyms.c   27 Oct 2017 08:49:41 -
@@ -18,7 +18,7 @@
 
 #include 
 #include 
-#include 
+#include 
 #include 
 #include 
 #include 
Index: lib/libc/gen/nlist.c
===
RCS file: /cvs/src/lib/libc/gen/nlist.c,v
retrieving revision 1.68
diff -u -p -r1.68 nlist.c
--- lib/libc/gen/nlist.c25 Dec 2016 20:30:41 -  1.68
+++ lib/libc/gen/nlist.c27 Oct 2017 08:49:41 -
@@ -40,7 +40,7 @@
 #include 
 #include 
 #include  /* pulls in nlist.h */
-#include 
+#include 
 
 #define MINIMUM(a, b)  (((a) < (b)) ? (a) : (b))
 
Index: libexec/ld.so/alpha/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/alpha/archdep.h,v
retrieving revision 1.20
diff -u -p -r1.20 archdep.h
--- libexec/ld.so/alpha/archdep.h   24 Jan 2017 07:48:37 -  1.20
+++ libexec/ld.so/alpha/archdep.h   27 Oct 2017 08:49:41 -
@@ -33,7 +33,7 @@
 
 #defineMACHID  EM_ALPHA_EXP/* ELF e_machine ID value checked */
 
-#include 
+#include 
 #include 
 #include "syscall.h"
 #include "util.h"
Index: libexec/ld.so/amd64/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/amd64/archdep.h,v
retrieving revision 1.11
diff -u -p -r1.11 archdep.h
--- libexec/ld.so/amd64/archdep.h   21 Jan 2017 01:15:00 -  1.11
+++ libexec/ld.so/amd64/archdep.h   27 Oct 2017 08:49:41 -
@@ -33,7 +33,7 @@
 
 #defineMACHID  EM_AMD64/* ELF e_machine ID value checked */
 
-#include 
+#include 
 #include 
 #include "syscall.h"
 #include "util.h"
Index: libexec/ld.so/arm/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/arm/archdep.h,v
retrieving revision 1.12
diff -u -p -r1.12 archdep.h
--- libexec/ld.so/arm/archdep.h 24 Jan 2017 07:48:37 -  1.12
+++ libexec/ld.so/arm/archdep.h 27 Oct 2017 08:49:41 -
@@ -33,7 +33,7 @@
 
 #defineMACHID  EM_ARM  /* ELF e_machine ID value checked */
 
-#include 
+#include 
 #include 
 #include "syscall.h"
 #include "util.h"
Index: libexec/ld.so/hppa/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/hppa/archdep.h,v
retrieving revision 1.15
diff -u -p -r1.15 archdep.h
--- libexec/ld.so/hppa/archdep.h24 Jan 2017 07:48:37 -  1.15
+++ libexec/ld.so/hppa/archdep.h27 Oct 2017 08:49:41 -
@@ -35,7 +35,7 @@
 
 #defineMACHID  EM_PARISC   /* ELF e_machine ID value 
checked */
 
-#include 
+#include 
 #include 
 #include "syscall.h"
 #include "util.h"
Index: libexec/ld.so/i386/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/i386/archdep.h,v
retrieving revision 1.19
diff -u -p -r1.19 archdep.h
--- libexec/ld.so/i386/archdep.h24 Jan 2017 07:48:37 -  1.19
+++ libexec/ld.so/i386/archdep.h27 Oct 2017 08:49:41 -
@@ -33,7 +33,7 @@
 
 #defineMACHID  EM_386  /* ELF e_machine ID value checked */
 
-#include 
+#include 
 #include 
 #include "syscall.h"
 #include "util.h"
Index: libexec/ld.so/ldd/ldd.c
===
RCS file: /cvs/src/libexec/ld.so/ldd/ldd.c,v
retrieving revision 1.21
diff -u -p -r1.21 ldd.c
--- libexec/ld.so/ldd/ldd.c 2 Jul 2017 19:06:12 -   1.21
+++ libexec/ld.so/ldd/ldd.c 27 Oct 2017 08:49:41 -
@@ -26,7 +26,7 @@
 
 #include 
 #include 
-#include 
+#include 
 #include 
 #include 
 #include 
Index: libexec/ld.so/m88k/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/m88k/archdep.h,v
retrieving revision 1.5
diff -u -p -r1.5 archdep.h
--- libexec/ld.so/m88k/archdep.h24 Jan 2017 07:48:37 -  1.5
+++ libexec/ld.so/m88k/archdep.h27 Oct 2017 08:49:41 -
@@ -33,7 +33,7 @@
 
 #defineMACHID  EM_88K  /* ELF e_machine ID value 
checked */
 
-#include 
+#include 
 #include 
 #include "syscall.h"
 #include "util.h"
Index: libexec/ld.so/mips64/archdep.h
===
RCS file: /cvs/src/libexec/ld.so/mips64/archdep.h,v
retrieving revision 1.13
diff -u -p -r1.13 archdep.h
--- libexec/ld.so/mips64/archdep.h  13 Aug 2017 14:57:19 -  1.13
+++ libexec/ld.so/mips64/archdep.h  27 Oct 2017 08:49:42 -
@@ -29,7 +29,7 @@
 #ifndef _MIPS_ARCHDEP_H_
 #define _MIPS_ARCHDEP_H_
 
-#include