Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so #if defined -> #ifdef



details:   https://anonhg.NetBSD.org/src/rev/562abf8110da
branches:  trunk
changeset: 536993:562abf8110da
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Sep 25 06:43:46 2002 +0000

description:
#if defined -> #ifdef

diffstat:

 libexec/ld.elf_so/headers.c |  4 ++--
 libexec/ld.elf_so/rtld.c    |  4 ++--
 libexec/ld.elf_so/rtld.h    |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 9d426685ac12 -r 562abf8110da libexec/ld.elf_so/headers.c
--- a/libexec/ld.elf_so/headers.c       Wed Sep 25 06:43:17 2002 +0000
+++ b/libexec/ld.elf_so/headers.c       Wed Sep 25 06:43:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: headers.c,v 1.13 2002/09/13 13:28:43 mycroft Exp $      */
+/*     $NetBSD: headers.c,v 1.14 2002/09/25 06:43:46 mycroft Exp $      */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -194,7 +194,7 @@
 #endif
                        break;
 
-#if defined(__mips__)
+#ifdef __mips__
                case DT_MIPS_LOCAL_GOTNO:
                        obj->local_gotno = dynp->d_un.d_val;
                        break;
diff -r 9d426685ac12 -r 562abf8110da libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Wed Sep 25 06:43:17 2002 +0000
+++ b/libexec/ld.elf_so/rtld.c  Wed Sep 25 06:43:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.c,v 1.76 2002/09/24 20:23:11 mycroft Exp $         */
+/*     $NetBSD: rtld.c,v 1.77 2002/09/25 06:43:46 mycroft Exp $         */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -174,7 +174,7 @@
 
        assert(objself.needed == NULL);
 
-#if !defined(__mips__)
+#ifndef __mips__
        /* no relocation for mips/i386 */
        assert(!objself.textrel);
 #endif
diff -r 9d426685ac12 -r 562abf8110da libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h  Wed Sep 25 06:43:17 2002 +0000
+++ b/libexec/ld.elf_so/rtld.h  Wed Sep 25 06:43:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.h,v 1.57 2002/09/24 20:23:12 mycroft Exp $         */
+/*     $NetBSD: rtld.h,v 1.58 2002/09/25 06:43:46 mycroft Exp $         */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -149,7 +149,7 @@
        const Elf_Sym  *symtab;         /* Symbol table */
        const char     *strtab;         /* String table */
        unsigned long   strsize;        /* Size in bytes of string table */
-#if defined(__mips__)
+#ifdef __mips__
        Elf_Word        local_gotno;    /* Number of local GOT entries */
        Elf_Word        symtabno;       /* Number of dynamic symbols */
        Elf_Word        gotsym;         /* First dynamic symbol in GOT */



Home | Main Index | Thread Index | Old Index