History log of /openbsd-current/libexec/ld.so/m88k/SYS.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.6 11-Dec-2023 deraadt

Make sure the syscall table entries are aligned on a 4-byte boundary.
Required for strict-alignment architectures and a good idea on others.
same as kettenis commit to libc


# 1.5 10-Dec-2023 deraadt

Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL)
with {uint offset, uint syscall#} entries in libc & ld.so.
In libc a few syscall# entries (break, sigprocmask, _tfork, _threxit)
are duplicated because additional or inline uses occur (that situation
is handled elsewhere)
ok kettenis


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.4 23-Oct-2019 guenther

Prefer the size-independent ELF identifiers over the size-specific ones.
Strip superfluous parens from return statements while here.

Done programatically with two perl invocations

idea ok kettenis@ drahn@
ok visa@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 03-Feb-2019 guenther

_dl_cerror is trivial on alpha and m88k; just inline the hanlding into
the stubs

noted by miod@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.2 03-Sep-2017 aoyama

Fix m88k problem in recent ld.so changes.

- move _dl_cerror function from SYS.h to ldasm.S to avoid duplicate
definition when linking
- [SYS.h] pull some macros from lib/libc/arch/m88k/DEFS.h
- [ldasm.S] add "'never hit' but needed" br again in _dl_cacheflush
(thanks to Miod Vallat)
- [ldasm.S] change ld.hu into ld.h in order to get a correctly signed
and sign-extended value (also thanks to Miod Vallat)

ok deraadt@


# 1.1 27-Aug-2017 deraadt

Replace heaps of hand-written syscall stubs with a simpler framework
which is largely MI.
ok visa kettenis


# 1.6 11-Dec-2023 deraadt

Make sure the syscall table entries are aligned on a 4-byte boundary.
Required for strict-alignment architectures and a good idea on others.
same as kettenis commit to libc


# 1.5 10-Dec-2023 deraadt

Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL)
with {uint offset, uint syscall#} entries in libc & ld.so.
In libc a few syscall# entries (break, sigprocmask, _tfork, _threxit)
are duplicated because additional or inline uses occur (that situation
is handled elsewhere)
ok kettenis


Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.4 23-Oct-2019 guenther

Prefer the size-independent ELF identifiers over the size-specific ones.
Strip superfluous parens from return statements while here.

Done programatically with two perl invocations

idea ok kettenis@ drahn@
ok visa@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 03-Feb-2019 guenther

_dl_cerror is trivial on alpha and m88k; just inline the hanlding into
the stubs

noted by miod@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.2 03-Sep-2017 aoyama

Fix m88k problem in recent ld.so changes.

- move _dl_cerror function from SYS.h to ldasm.S to avoid duplicate
definition when linking
- [SYS.h] pull some macros from lib/libc/arch/m88k/DEFS.h
- [ldasm.S] add "'never hit' but needed" br again in _dl_cacheflush
(thanks to Miod Vallat)
- [ldasm.S] change ld.hu into ld.h in order to get a correctly signed
and sign-extended value (also thanks to Miod Vallat)

ok deraadt@


# 1.1 27-Aug-2017 deraadt

Replace heaps of hand-written syscall stubs with a simpler framework
which is largely MI.
ok visa kettenis


# 1.4 23-Oct-2019 guenther

Prefer the size-independent ELF identifiers over the size-specific ones.
Strip superfluous parens from return statements while here.

Done programatically with two perl invocations

idea ok kettenis@ drahn@
ok visa@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.3 03-Feb-2019 guenther

_dl_cerror is trivial on alpha and m88k; just inline the hanlding into
the stubs

noted by miod@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.2 03-Sep-2017 aoyama

Fix m88k problem in recent ld.so changes.

- move _dl_cerror function from SYS.h to ldasm.S to avoid duplicate
definition when linking
- [SYS.h] pull some macros from lib/libc/arch/m88k/DEFS.h
- [ldasm.S] add "'never hit' but needed" br again in _dl_cacheflush
(thanks to Miod Vallat)
- [ldasm.S] change ld.hu into ld.h in order to get a correctly signed
and sign-extended value (also thanks to Miod Vallat)

ok deraadt@


# 1.1 27-Aug-2017 deraadt

Replace heaps of hand-written syscall stubs with a simpler framework
which is largely MI.
ok visa kettenis


# 1.3 03-Feb-2019 guenther

_dl_cerror is trivial on alpha and m88k; just inline the hanlding into
the stubs

noted by miod@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.2 03-Sep-2017 aoyama

Fix m88k problem in recent ld.so changes.

- move _dl_cerror function from SYS.h to ldasm.S to avoid duplicate
definition when linking
- [SYS.h] pull some macros from lib/libc/arch/m88k/DEFS.h
- [ldasm.S] add "'never hit' but needed" br again in _dl_cacheflush
(thanks to Miod Vallat)
- [ldasm.S] change ld.hu into ld.h in order to get a correctly signed
and sign-extended value (also thanks to Miod Vallat)

ok deraadt@


# 1.1 27-Aug-2017 deraadt

Replace heaps of hand-written syscall stubs with a simpler framework
which is largely MI.
ok visa kettenis


Revision tags: OPENBSD_6_2_BASE
# 1.2 03-Sep-2017 aoyama

Fix m88k problem in recent ld.so changes.

- move _dl_cerror function from SYS.h to ldasm.S to avoid duplicate
definition when linking
- [SYS.h] pull some macros from lib/libc/arch/m88k/DEFS.h
- [ldasm.S] add "'never hit' but needed" br again in _dl_cacheflush
(thanks to Miod Vallat)
- [ldasm.S] change ld.hu into ld.h in order to get a correctly signed
and sign-extended value (also thanks to Miod Vallat)

ok deraadt@


# 1.1 27-Aug-2017 deraadt

Replace heaps of hand-written syscall stubs with a simpler framework
which is largely MI.
ok visa kettenis