OSDN Git Service

2000-05-02 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl@lucon.org>
Tue, 2 May 2000 17:51:36 +0000 (17:51 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 2 May 2000 17:51:36 +0000 (17:51 +0000)
* elf.c (prep_headers): USe ELFOSABI_NONE instead of
ELFOSABI_SYSV.

bfd/ChangeLog
bfd/elf.c

index fd8c7f8..10112b2 100644 (file)
@@ -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.
index 82b9b45..3f500d6 100644 (file)
--- 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++)