aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-10-10 18:44:33 +0000
committerUlrich Drepper <drepper@redhat.com>2001-10-10 18:44:33 +0000
commit1c92cebb26a62dbf3dc3d5d53a1aa52782dbe015 (patch)
tree5d4bdcfc635d6520c6bb33e814890ee937d498fb
parentb61345a1add0789a12fe341563374d64b5134771 (diff)
downloadglibc-1c92cebb26a62dbf3dc3d5d53a1aa52782dbe015.tar
glibc-1c92cebb26a62dbf3dc3d5d53a1aa52782dbe015.tar.gz
glibc-1c92cebb26a62dbf3dc3d5d53a1aa52782dbe015.tar.bz2
glibc-1c92cebb26a62dbf3dc3d5d53a1aa52782dbe015.zip
Update.
2001-10-10 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add more ELFOSABI_* constants. (sparc64_fixup_plt): Moved from elf_machine_fixup_plt. Optimize
-rw-r--r--ChangeLog6
-rw-r--r--elf/elf.h12
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a1428043d3..4b807d8113 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-10 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/elf.h: Add more ELFOSABI_* constants.
+
2001-10-04 Ben Collins <bcollins@debian.org>
* 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 555fffae00..3b69cdcc72 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 */