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 fix non-portable bit-fields



details:   https://anonhg.NetBSD.org/src/rev/81f8fe2f205f
branches:  trunk
changeset: 494406:81f8fe2f205f
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 06 03:16:51 2000 +0000

description:
fix non-portable bit-fields

diffstat:

 libexec/ld.elf_so/rtld.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r 8b7099e1a557 -r 81f8fe2f205f libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h  Thu Jul 06 03:14:05 2000 +0000
+++ b/libexec/ld.elf_so/rtld.h  Thu Jul 06 03:16:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.h,v 1.25 2000/04/15 05:41:46 erh Exp $     */
+/*     $NetBSD: rtld.h,v 1.26 2000/07/06 03:16:51 christos Exp $        */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -195,13 +195,13 @@
        int             (*dlclose) __P((void *));
        int             (*dladdr) __P((const void *, Dl_info *));
 
-       int             mainprog:1;     /* True if this is the main program */
-       int             rtld:1;         /* True if this is the dynamic linker */
-       int             textrel:1;      /* True if there are relocations to
+       u_int32_t       mainprog:1,     /* True if this is the main program */
+                       rtld:1,         /* True if this is the dynamic linker */
+                       textrel:1,      /* True if there are relocations to
                                         * text seg */
-       int             symbolic:1;     /* True if generated with
+                       symbolic:1,     /* True if generated with
                                         * "-Bsymbolic" */
-       int             printed:1;      /* True if ldd has printed it */
+                       printed:1;      /* True if ldd has printed it */
 
        struct link_map linkmap;        /* for GDB */
 



Home | Main Index | Thread Index | Old Index