Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/elf2aout new symbol names for former Elf_xxx



details:   https://anonhg.NetBSD.org/src/rev/c3ec46e534dc
branches:  trunk
changeset: 480409:c3ec46e534dc
user:      is <is%NetBSD.org@localhost>
date:      Tue Jan 11 20:33:21 2000 +0000

description:
new symbol names for former Elf_xxx

diffstat:

 usr.bin/elf2aout/elf2aout.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b96376961c9a -r c3ec46e534dc usr.bin/elf2aout/elf2aout.c
--- a/usr.bin/elf2aout/elf2aout.c       Tue Jan 11 17:21:02 2000 +0000
+++ b/usr.bin/elf2aout/elf2aout.c       Tue Jan 11 20:33:21 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf2aout.c,v 1.8 2000/01/09 11:26:01 is Exp $  */
+/*     $NetBSD: elf2aout.c,v 1.9 2000/01/11 20:33:21 is Exp $  */
 
 /*
  * Copyright (c) 1995
@@ -210,7 +210,7 @@
 
        /* We now have enough information to cons up an a.out header... */
        aex.a_midmag = htonl((symflag << 26) | (MID_PMAX << 16) | OMAGIC);
-       if (ex.e_machine == Elf_em_ppc)
+       if (ex.e_machine == EM_PPC)
                aex.a_midmag = htonl((symflag << 26) | (MID_POWERPC << 16)
                        | OMAGIC);
                



Home | Main Index | Thread Index | Old Index