History log of /openbsd-current/lib/libc/arch/mips64/sys/sbrk.S
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 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_7_3_BASE OPENBSD_7_4_BASE
# 1.10 08-Dec-2022 guenther

_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386,
macppc, mips64, and sparc64 code.

ok deraadt@ jca@ krw@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.9 27-Nov-2021 visa

Make brk() and sbrk() weak again to fix build with clang 13.

OK jsg@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.8 30-May-2016 guenther

Consistently reference '_end' instead of 'end' in the brk/sbrk implementation

ok deraadt@


Revision tags: OPENBSD_5_9_BASE
# 1.7 05-Sep-2015 guenther

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.

ok deraadt@


# 1.6 26-Aug-2015 guenther

Hide many (194!) symbols that nothing should be using.
Delete exect(2); it wasn't portable across archs and nothing used it.

ports test build by naddy@
ok deraadt@ kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.5 04-Apr-2011 guenther

Move __cerror to ___cerror with a weak alias so that rthreads can override it.
On mips64, also correct the name called from plain cerror to __cerror.

"looks correct" miod@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 07-Aug-2005 espie

zap rcsid.
okay deraadt@ (tested them all)


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.3 09-Sep-2004 pefo

mips64 is now going ABI64 and shared library support!
String functions need some optimization/rewrite to take full advantage.


# 1.2 07-Sep-2004 pefo

32 -> 64 bit cleanups but no optimizations yet


# 1.1 11-Aug-2004 pefo

Move mips to mips64


# 1.10 08-Dec-2022 guenther

_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386,
macppc, mips64, and sparc64 code.

ok deraadt@ jca@ krw@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.9 27-Nov-2021 visa

Make brk() and sbrk() weak again to fix build with clang 13.

OK jsg@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.8 30-May-2016 guenther

Consistently reference '_end' instead of 'end' in the brk/sbrk implementation

ok deraadt@


Revision tags: OPENBSD_5_9_BASE
# 1.7 05-Sep-2015 guenther

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.

ok deraadt@


# 1.6 26-Aug-2015 guenther

Hide many (194!) symbols that nothing should be using.
Delete exect(2); it wasn't portable across archs and nothing used it.

ports test build by naddy@
ok deraadt@ kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.5 04-Apr-2011 guenther

Move __cerror to ___cerror with a weak alias so that rthreads can override it.
On mips64, also correct the name called from plain cerror to __cerror.

"looks correct" miod@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 07-Aug-2005 espie

zap rcsid.
okay deraadt@ (tested them all)


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.3 09-Sep-2004 pefo

mips64 is now going ABI64 and shared library support!
String functions need some optimization/rewrite to take full advantage.


# 1.2 07-Sep-2004 pefo

32 -> 64 bit cleanups but no optimizations yet


# 1.1 11-Aug-2004 pefo

Move mips to mips64


# 1.9 27-Nov-2021 visa

Make brk() and sbrk() weak again to fix build with clang 13.

OK jsg@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.8 30-May-2016 guenther

Consistently reference '_end' instead of 'end' in the brk/sbrk implementation

ok deraadt@


Revision tags: OPENBSD_5_9_BASE
# 1.7 05-Sep-2015 guenther

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.

ok deraadt@


# 1.6 26-Aug-2015 guenther

Hide many (194!) symbols that nothing should be using.
Delete exect(2); it wasn't portable across archs and nothing used it.

ports test build by naddy@
ok deraadt@ kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.5 04-Apr-2011 guenther

Move __cerror to ___cerror with a weak alias so that rthreads can override it.
On mips64, also correct the name called from plain cerror to __cerror.

"looks correct" miod@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 07-Aug-2005 espie

zap rcsid.
okay deraadt@ (tested them all)


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.3 09-Sep-2004 pefo

mips64 is now going ABI64 and shared library support!
String functions need some optimization/rewrite to take full advantage.


# 1.2 07-Sep-2004 pefo

32 -> 64 bit cleanups but no optimizations yet


# 1.1 11-Aug-2004 pefo

Move mips to mips64


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 30-May-2016 guenther

Consistently reference '_end' instead of 'end' in the brk/sbrk implementation

ok deraadt@


Revision tags: OPENBSD_5_9_BASE
# 1.7 05-Sep-2015 guenther

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.

ok deraadt@


# 1.6 26-Aug-2015 guenther

Hide many (194!) symbols that nothing should be using.
Delete exect(2); it wasn't portable across archs and nothing used it.

ports test build by naddy@
ok deraadt@ kettenis@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.5 04-Apr-2011 guenther

Move __cerror to ___cerror with a weak alias so that rthreads can override it.
On mips64, also correct the name called from plain cerror to __cerror.

"looks correct" miod@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.4 07-Aug-2005 espie

zap rcsid.
okay deraadt@ (tested them all)


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.3 09-Sep-2004 pefo

mips64 is now going ABI64 and shared library support!
String functions need some optimization/rewrite to take full advantage.


# 1.2 07-Sep-2004 pefo

32 -> 64 bit cleanups but no optimizations yet


# 1.1 11-Aug-2004 pefo

Move mips to mips64