Source-Changes archive

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

CVS commit: src/lib/libc/gen




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/lib/libc/gen

From: "Nick Hudson" <skrll%netbsd.org@localhost>

Date: Mon, 21 Oct 2024 06:43:34 +0000


Module Name:    src
Committed By:   skrll
Date:           Mon Oct 21 06:43:33 UTC 2024

Modified Files:
        src/lib/libc/gen: nlist_private.h

Log Message:
risc-v: Fix nlist on ELF64

The define __riscv64 is not provided (anymore?), so use _LP64 to determine
if nlist support for ELF64 should be added.

This fixes a problem pointed to me by he@

    riscv64# pstat -sh -N /netbsd
    pstat: kvm_nlist: bad namelist
    riscv64#

in that it now doesn't fail with "bad namelist". Other problems with pstat
seem to exist, however.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/gen/nlist_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: src/usr.sbin/mopd/common

Next by Date: CVS commit: src/sys/arch/mips/mips

Previous by Thread: CVS commit: src/usr.sbin/mopd/common

Next by Thread: CVS commit: src/sys/arch/mips/mips

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index