Source-Changes archive

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

CVS commit: src/lib/libc/gen



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.




Home | Main Index | Thread Index | Old Index