aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fd8c7f8..10112b2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-02 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (prep_headers): USe ELFOSABI_NONE instead of
+ ELFOSABI_SYSV.
+
2000-05-02 Alan Modra <alan@linuxcare.com.au>
* targets.c (bfd_target_vector): Restore bfd_elf32_hppa_vec.
diff --git a/bfd/elf.c b/bfd/elf.c
index 82b9b45..3f500d6 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3205,7 +3205,7 @@ prep_headers (abfd)
bfd_big_endian (abfd) ? ELFDATA2MSB : ELFDATA2LSB;
i_ehdrp->e_ident[EI_VERSION] = bed->s->ev_current;
- i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_SYSV;
+ i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_NONE;
i_ehdrp->e_ident[EI_ABIVERSION] = 0;
for (count = EI_PAD; count < EI_NIDENT; count++)