History log of /openbsd-current/libexec/ld.so/riscv64/rtld_machine.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.4 29-Jan-2023 gnezdo

Unite all nitems copies in ld.so/util.h

OK deraadt


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.3 08-Jan-2022 guenther

Prep .c files for removing the #includes from */archdep.h
* replace #include "archdep.h" with #includes of what is used, pulling in
"syscall.h", "util.h", and "archdep.h" as needed
* delete #include <sys/syscall.h> from syscall.h
* only pull in <sys/stat.h> to the three files that use _dl_fstat(),
forward declare struct stat in syscall.h for the others
* NBBY is for <sys/select.h> macros; just use '8' in dl_printf.c
* <machine/vmparam.h> is only needed on i386; conditionalize it
* stop using __LDPGSZ: use _MAX_PAGE_SHIFT (already used by malloc.c)
where necessary
* delete other bogus #includes, order legit per style: <sys/*> then
<*/*>, then <*>, then "*"

dir.c improvement from jsg@
ok and testing assistance deraadt@


Revision tags: OPENBSD_7_0_BASE
# 1.2 26-Jun-2021 kettenis

Make lazy binding work on riscv64.

prompted by deraadt@


# 1.1 28-Apr-2021 drahn

riscv64 ld.so
derived from arm64
go ahead deraadt@


# 1.3 08-Jan-2022 guenther

Prep .c files for removing the #includes from */archdep.h
* replace #include "archdep.h" with #includes of what is used, pulling in
"syscall.h", "util.h", and "archdep.h" as needed
* delete #include <sys/syscall.h> from syscall.h
* only pull in <sys/stat.h> to the three files that use _dl_fstat(),
forward declare struct stat in syscall.h for the others
* NBBY is for <sys/select.h> macros; just use '8' in dl_printf.c
* <machine/vmparam.h> is only needed on i386; conditionalize it
* stop using __LDPGSZ: use _MAX_PAGE_SHIFT (already used by malloc.c)
where necessary
* delete other bogus #includes, order legit per style: <sys/*> then
<*/*>, then <*>, then "*"

dir.c improvement from jsg@
ok and testing assistance deraadt@


Revision tags: OPENBSD_7_0_BASE
# 1.2 26-Jun-2021 kettenis

Make lazy binding work on riscv64.

prompted by deraadt@


# 1.1 28-Apr-2021 drahn

riscv64 ld.so
derived from arm64
go ahead deraadt@


# 1.2 26-Jun-2021 kettenis

Make lazy binding work on riscv64.

prompted by deraadt@


# 1.1 28-Apr-2021 drahn

riscv64 ld.so
derived from arm64
go ahead deraadt@


# 1.1 28-Apr-2021 drahn

riscv64 ld.so
derived from arm64
go ahead deraadt@