From 1c92cebb26a62dbf3dc3d5d53a1aa52782dbe015 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 10 Oct 2001 18:44:33 +0000 Subject: [PATCH] Update. 2001-10-10 Ulrich Drepper * elf/elf.h: Add more ELFOSABI_* constants. (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize --- ChangeLog | 6 +++++- elf/elf.h | 12 +++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a142804..4b807d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-10-10 Ulrich Drepper + + * elf/elf.h: Add more ELFOSABI_* constants. + 2001-10-04 Ben Collins * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in @@ -44,7 +48,7 @@ * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Call sparc64_fixup_plt. - (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize + (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize near jumps and 0xfffff800XXXXXXXX target addresses, no thread safety for non-lazy binding. Fix .plt[32768+] handling. (elf_machine_plt_value): Don't add addend. diff --git a/elf/elf.h b/elf/elf.h index 555fffa..3b69cdc 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -137,8 +137,18 @@ typedef struct /* Value must be EV_CURRENT */ #define EI_OSABI 7 /* OS ABI identification */ -#define ELFOSABI_SYSV 0 /* UNIX System V ABI */ +#define ELFOSABI_NONE 0 /* UNIX System V ABI */ +#define ELFOSABI_SYSV 0 /* Alias. */ #define ELFOSABI_HPUX 1 /* HP-UX */ +#define ELFOSABI_NETBSD 2 /* NetBSD. */ +#define ELFOSABI_LINUX 3 /* Linux. */ +#define ELFOSABI_SOLARIS 6 /* Sun Solaris. */ +#define ELFOSABI_AIX 7 /* IBM AIX. */ +#define ELFOSABI_IRIX 8 /* SGI Irix. */ +#define ELFOSABI_FREEBSD 9 /* FreeBSD. */ +#define ELFOSABI_TRU64 10 /* Compaq TRU64 UNIX. */ +#define ELFOSABI_MODESTO 11 /* Novell Modesto. */ +#define ELFOSABI_OPENBSD 12 /* OpenBSD. */ #define ELFOSABI_ARM 97 /* ARM */ #define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */ -- 2.7.4