History log of /openbsd/lib/libc/arch/hppa/SYS.h (Results 1 – 25 of 27)
Revision Date Author Comments
# b247cc18 13-Dec-2023 miod <miod@openbsd.org>

Move a large part of SYS.h defines to DEFS.h to match where other platforms
put their macros, and also turn a few "EXIT" into "END" for consistency with
other platforms. NFCI
ok kettenis@ deraadt@


# 5bcead81 11-Dec-2023 kettenis <kettenis@openbsd.org>

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

ok deraadt@


# e8b0e862 11-Dec-2023 deraadt <deraadt@openbsd.org>

Oops, wrong argument to macro


# 83762a71 10-Dec-2023 deraadt <deraadt@openbsd.org>

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

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

show more ...


# 4c4efc0a 11-Feb-2023 guenther <guenther@openbsd.org>

Use a consistent comment to explain why 32bit archs set their second
return register to -1 in the syscall error path ("for lseek").

removal of the misleading __syscall() mention requested by deraadt

Use a consistent comment to explain why 32bit archs set their second
return register to -1 in the syscall error path ("for lseek").

removal of the misleading __syscall() mention requested by deraadt@
ok deraadt@

show more ...


# fe38b55c 07-May-2016 guenther <guenther@openbsd.org>

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@

show more ...


# 3f373d41 10-Sep-2015 guenther <guenther@openbsd.org>

Adds hidden _libc_FOO aliases for the system call stubs.
Stop generating _brk and _sbrk symbols: they've already been hidden.
Set the ELF symbol size on the syscall stubs.
Give the __{min,cur}brk sym

Adds hidden _libc_FOO aliases for the system call stubs.
Stop generating _brk and _sbrk symbols: they've already been hidden.
Set the ELF symbol size on the syscall stubs.
Give the __{min,cur}brk symbols a size and type, and hide more jump labels.

alpha, arm, m88k, sh, sparc, and vax assistance miod@
hppa assistance kettenis@
ok deraadt@ miod@

show more ...


# 1b618090 31-Aug-2015 guenther <guenther@openbsd.org>

Also add ALTEXIT_{STRONG,WEAK} to hppa64, copied from hppa. Document'em too

ok deraadt@


# 041808fe 31-Aug-2015 guenther <guenther@openbsd.org>

Add ALTEXIT_{STRONG,WEAK} to support wrapping of functions using ALTENTRY.
Fix memmove with that

ok deraadt@


# 9b9d2a55 31-Aug-2015 guenther <guenther@openbsd.org>

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that

Add framework for resolving (pun intended) libc namespace issues, using
wrapper .h files and asm labels to let internal calls resolve directly and
not be overridable or use the PLT. Then, apply that framework to most of
the functions in stdio.h, string.h, err.h, and wchar.h. Delete the
should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.

tests clean on i386, amd64, sparc64, powerpc, and mips64

naming feedback from kettenis@ and millert@
ok kettenis@

show more ...


# 514a545f 07-Apr-2015 guenther <guenther@openbsd.org>

Make pthread_atfork() track the DSO that called it like atexit() does,
unregistering callbacks if the DSO is unloaded. Move the callback
handling from libpthread to libc, though libpthread still ove

Make pthread_atfork() track the DSO that called it like atexit() does,
unregistering callbacks if the DSO is unloaded. Move the callback
handling from libpthread to libc, though libpthread still overrides the
inner call to handle locking and thread-library reinitialization.
Major version bump for both libc and libpthread.

verification that this fixes various ports ajacoutot@
asm assistance miod@; ok millert@ deraadt@

show more ...


# eca0a8db 01-Oct-2010 guenther <guenther@openbsd.org>

Provide a WEAK_ALIAS macro in <machine/asm.h> for the few platforms
that didn't already have one, and then immediately use it in libc's
SYS.h

ok miod@


# dc9d23e8 05-Jan-2006 kettenis <kettenis@openbsd.org>

System call stubs don't have a frame of their own, so use EMTRY_LEAF instead
of ENTRY. This avoids emitting bogus unwind entries, which makes gdb a lot
happier.
ok mickey@


# b1011d27 25-May-2004 mickey <mickey@openbsd.org>

PICy stuff


# 4cde09c2 02-Jun-2003 mickey <mickey@openbsd.org>

three four kill ...


# fd68ca0e 31-Oct-2002 mickey <mickey@openbsd.org>

gotta define SYSEXIT() and make all the rest of sys/*S be thread-safe now, missed this fuct in the previous take on thread-safe libc


# 401ee2a2 31-Oct-2002 mickey <mickey@openbsd.org>

marc@ said we should be always thread-safe, accomodate for that, also defining the weak symbols which we did not before in either case


# f86ce26a 24-Oct-2001 mickey <mickey@openbsd.org>

fix __PSEUDO_NOERROR, two ways


# ba8732b6 20-Sep-2001 millert <millert@openbsd.org>

Add PSEUDO_NOERROR similar to that used by NetBSD.
Some ports were setting errno in PSEUDO and some were not. Now errno
is set for all in PSEUDO and PSEUDO_NOERROR is provided for the
non-errno case

Add PSEUDO_NOERROR similar to that used by NetBSD.
Some ports were setting errno in PSEUDO and some were not. Now errno
is set for all in PSEUDO and PSEUDO_NOERROR is provided for the
non-errno case (only used by _exit).

Needs testing on vax and m88k.
XXX - hppa and powerpc still lack a real PSEUDO_NOERROR implementation.
Currently PSEUDO_NOERROR and PSEUDO are the same (so builds don't
break on those platforms).

show more ...


# fd0d495e 12-Aug-2001 heko <heko@openbsd.org>

#(endif|else) foo is incorrect, make it #endif /* foo */
deraadt@ ok


# de2db482 04-Jun-2001 mickey <mickey@openbsd.org>

entrieness cleanup


# 7fcc402f 29-Mar-2001 mickey <mickey@openbsd.org>

fix fork, brk/sbrk; rcsid embedding


# bebf55dd 14-Nov-1999 mickey <mickey@openbsd.org>

this seem proper now


# 6c68a1e1 16-Sep-1999 mickey <mickey@openbsd.org>

adopt to the new frame framework


# 301bc95d 01-Feb-1999 d <d@openbsd.org>

remove PASSTHRU


12