Home | History | Annotate | Download | only in sys
History log of /src/lib/libc/arch/i386/sys/cerror.S
RevisionDateAuthorComments
 1.19  03-May-2025  riastradh libc/i386: Omit needless __PIC__ conditionals.

No binary change.

PR lib/59391: unnecessary __PIC__ conditionals clutter .S files
 1.18  23-May-2014  uebayasi branches: 1.18.36;
Put missing END() markers to set ELF symbol size.
 1.17  12-Sep-2013  joerg branches: 1.17.2;
Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.16  27-Feb-2012  joerg branches: 1.16.2;
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.
 1.15  18-Nov-2011  joerg branches: 1.15.2;
Mark __cerror as hidden and exploit that to simplify assembler.
 1.14  07-Aug-2003  agc branches: 1.14.56;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.13  03-Apr-2000  mycroft Clean up.
 1.12  19-Feb-2000  mycroft A better fix for the stub-in-other-module problem:
Load the address of cerror through the GOT, so we can do a PIC_EPILOGUE and
leave the stack clean.
 1.11  23-Jan-2000  mycroft Make cerror() work correctly for stubs in other shlibs -- e.g. libposix.
 1.10  07-Feb-1999  christos branches: 1.10.2;
Make cerror an entry and compensate for the PIC_PROLOGUE change in SYS.h
 1.9  14-Jan-1999  kleink * 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.
 1.8  01-Oct-1998  kleink (Fortunately harmless) typo in previous.
 1.7  01-Oct-1998  kleink Add *__errno() redirection for _REENTRANT code.
 1.6  01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 1.5  16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.4  02-Apr-1994  cgd have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)). also, kill bogus lseek thang.
 1.3  27-Jan-1994  mycroft Random cleanup.
 1.2  21-Oct-1993  jtc Move the old berkeley sccs id into the header comment like it is done
for other source files.
 1.1  07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.10.2.2  22-Feb-2000  he Pull up revision 1.12 (requested by mycroft):
Implement a better fix for the ``stubs in other shlibs'' problem.
With this fix the stack is left clean during the transition from
the stub to cerror().
 1.10.2.1  31-Jan-2000  he Pull up revision 1.11 (requested by mycroft):
Make cerror() work correctly for stubs in other shlibs -- e.g.
libposix.
 1.14.56.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.56.1  17-Apr-2012  yamt sync with head
 1.15.2.1  27-Feb-2012  riz Pull up following revision(s) (requested by joerg in ticket #57):
lib/libc/arch/arm/sys/cerror.S: revision 1.8
lib/libc/arch/vax/SYS.h: revision 1.12
lib/libc/arch/powerpc64/sys/cerror.S: revision 1.3
lib/libc/arch/powerpc64/sys/cerror.S: revision 1.4
lib/libc/arch/i386/sys/cerror.S: revision 1.16
lib/libc/arch/x86_64/sys/cerror.S: revision 1.5
lib/libc/arch/powerpc/sys/cerror.S: revision 1.10
lib/libc/arch/mips/sys/cerror.S: revision 1.17
lib/libc/arch/powerpc/sys/cerror.S: revision 1.9
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.
PowerPC doesn't have CERROR since it never had a.out.
Use _C_LABEL(__cerror) instead.
 1.16.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.2.1  10-Aug-2014  tls Rebase.
 1.18.36.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed