History log of /netbsd-src/lib/libc/arch/mips/sys/cerror.S (Results 1 – 21 of 21)
Revision Date Author Comments
# ea00852a 03-Dec-2022 skrll <skrll@NetBSD.org>

Trailing whitespace


# 15fc23b5 06-Feb-2021 simonb <simonb@NetBSD.org>

For mips n32/n64 explicitly save the GP reg on the stack, and
restore it _after_ the call to __errno(). Fixes sending the
__errno() call off to nowhereland when this code is included
in another libr

For mips n32/n64 explicitly save the GP reg on the stack, and
restore it _after_ the call to __errno(). Fixes sending the
__errno() call off to nowhereland when this code is included
in another library (eg __posix_cerror() in libposix). Failure
picked up by the ATF lib/libposix/posix1/t_rename test.

show more ...


# 4d12bfcd 12-Sep-2013 joerg <joerg@NetBSD.org>

Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.


# 501876fe 27-Feb-2012 tsutsui <tsutsui@NetBSD.org>

Fix pasto.


# f46fb125 27-Feb-2012 joerg <joerg@NetBSD.org>

Make __cerror protected to restore ABI leak in older libc versions,
where e.g. librt referenced the copy from libc. This still allows libc
to use PC-relative jumps.


# 7d92b199 17-Jan-2011 matt <matt@NetBSD.org>

Make __cerror hidden.


# 015f9bbf 03-Sep-2010 matt <matt@NetBSD.org>

Pullup fixes from matt-nb5-mips64.
This makes setjmp/longjmp work again.


# 22882071 14-Dec-2009 matt <matt@NetBSD.org>

Merge from matt-nb5-mips64.


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 351f7a02 07-Feb-2003 cgd <cgd@NetBSD.org>

looks like nobody ever seriously tried the _REENTRANT version of this
code (which, uh, seems the default for a fresh build)... it wasn't
setting up v1 properly (the instruction to set up v1 was afte

looks like nobody ever seriously tried the _REENTRANT version of this
code (which, uh, seems the default for a fresh build)... it wasn't
setting up v1 properly (the instruction to set up v1 was after the
return jump, in "reorder" code... i.e. after the end of the function).
That would break error returns from 64-bit syscalls (e.g. checks
in dd and who knows what else) to see if input or output are pipes.
It looks like the non-_REENTRANT version was broken (on the nathanw-sa
branch) in rev 1.9.2.1 and fixed in 1.9.2.2, but the _REENTRANT version
was never fixed, and the broken bits were merged back on to the trunk.

show more ...


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 7f74df5e 10-Nov-2002 thorpej <thorpej@NetBSD.org>

ABICALLS -> __ABICALLS__


# 1bb9a339 13-Dec-2000 simonb <simonb@NetBSD.org>

Remove all the .abicalls assembler directives - "SYS.h" already has that.


# 5510a708 29-May-2000 castor <castor@NetBSD.org>

Make __cerror be LEAF_NOPROFILE. I relies upon having v0 and v1 be unchanged
from the caller. From Ethan Solomita <ethan@geocast.com>


# 6348b7d5 14-Jan-1999 kleink <kleink@NetBSD.org>

* On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture

* On architectures using ELF, and conditionally on those in transition, rename
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.

show more ...


# 7e49f8ba 25-Jul-1998 jonathan <jonathan@NetBSD.org>

From Arne Juul <arnej@math.ntnu.no>:
Explicilty reload the mips-ABIcall GOT/$gp in cerror().
cerror() gets called from outside libc (e.g., from libposix's rename(),
and if we don't load $t9,

From Arne Juul <arnej@math.ntnu.no>:
Explicilty reload the mips-ABIcall GOT/$gp in cerror().
cerror() gets called from outside libc (e.g., from libposix's rename(),
and if we don't load $t9, cerror() makes wild references using
the libposix $gp and coredumps.

show more ...


# 9f3b0506 17-Sep-1996 jonathan <jonathan@NetBSD.org>

* Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.


# 81b108b4 16-Sep-1996 jonathan <jonathan@NetBSD.org>

Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".


# 201fac6e 15-Dec-1994 mycroft <mycroft@NetBSD.org>

More underscores...


# 705ee976 14-Nov-1994 dean <dean@NetBSD.org>

Prepended underscores


# ae1bfcdd 24-May-1994 glass <glass@NetBSD.org>

libc support for mips. libkern hooks are disabled