b3507af78dce2175194db20bcd8038db871e3cab
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / uclibc / 0.9.33.2 / 0019-include-elf.h-update-for-ELFOSABI_-changes.patch
1 From 788d9ca73b7ed1262c83580ccc62fb3625e603c3 Mon Sep 17 00:00:00 2001
2 From: Thomas Schwinge <thomas@codesourcery.com>
3 Date: Wed, 31 Oct 2012 20:41:50 +0100
4 Subject: [PATCH] include/elf.h: update for ELFOSABI_* changes.
5
6 ELFOSABI_GNU replaces ELFOSABI_LINUX, the latter is kept as a compatibility
7 alias, and ELFOSABI_HURD is removed.  See the table on
8 <http://www.sco.com/developers/gabi/latest/ch4.eheader.html#osabi> for
9 reference.
10
11 Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>
12 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
13 ---
14  include/elf.h |    4 ++--
15  1 file changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/include/elf.h b/include/elf.h
18 index ba3e804..470046e 100644
19 --- a/include/elf.h
20 +++ b/include/elf.h
21 @@ -148,8 +148,8 @@ typedef struct
22  #define ELFOSABI_SYSV          0       /* Alias.  */
23  #define ELFOSABI_HPUX          1       /* HP-UX */
24  #define ELFOSABI_NETBSD                2       /* NetBSD.  */
25 -#define ELFOSABI_LINUX         3       /* Linux.  */
26 -#define ELFOSABI_HURD          4       /* GNU/Hurd */
27 +#define ELFOSABI_GNU           3       /* Object uses GNU ELF extensions.  */
28 +#define ELFOSABI_LINUX         ELFOSABI_GNU    /* Compatibility alias.  */
29  #define ELFOSABI_SOLARIS       6       /* Sun Solaris.  */
30  #define ELFOSABI_AIX           7       /* IBM AIX.  */
31  #define ELFOSABI_IRIX          8       /* SGI Irix.  */
32 -- 
33 1.7.10.4
34