Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   jkoshy
Date:           Thu Dec 11 21:03:29 UTC 2025

Modified Files:
        src/include: Makefile
        src/sys/sys: Makefile
Added Files:
        src/include: elf.h

Log Message:
Implement an up to date and cross-platform <elf.h> for userland use.

With this change:

- Elftoolchain's <sys/elfdefinitions.h> is used for the definitions
  that make up the ELF gABI and its processor-specific ABI
  supplements.

- Existing NetBSD-local definitions are brought in via
  the kernel header <sys/exec_elf.h>, for continuity.

This changeset prepares the ground for migrating userland-only
definitions out of the kernel header, for better separation
of concerns.

This changeset also eases the development of cross-architecture
ELF tools since <elf.h> now offers ELF-related constants for all
of the architectures that NetBSD currently supports.

PR lib/59564


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/include/Makefile
cvs rdiff -u -r0 -r1.1 src/include/elf.h
cvs rdiff -u -r1.185 -r1.186 src/sys/sys/Makefile

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