History log of /src/lib/libc/arch/m68k/sys/cerror.S |
Revision | | Date | Author | Comments |
1.18 |
| 12-Sep-2013 |
joerg | 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.17 |
| 16-Jul-2013 |
matt | Use SYSTRAP. Don't use the PLT to call CERROR Use LEA_LCL / GOT_SETUP Remove non-__ELF__ code. Make __minbrk and __curbrk hidden and avoid using the GOT for them. Convert to motorola syntax.
|
1.16 |
| 16-Jul-2013 |
matt | Convert to normal Motorola syntax for addressing. %r@ -> (%r) %r@- -> -(%r) %r@+ -> (%r)+ %r@(n) n(%r) etc. No object differences.
|
1.15 |
| 03-Oct-2009 |
phx | branches: 1.15.6; 1.15.12; SystemV-R4 ABI for M68k returns pointers in %a0, so we have to make sure that CERROR returns -1 in %a0 in addition to %d0 and %d1, to make functions like mmap(2), mremap(2), shmat(2) or sbrk(2) return -1 in case of an error. A side effect of this bug was a segfault caused by jemalloc, when mmap() failed.
|
1.14 |
| 07-Aug-2003 |
agc | branches: 1.14.38; 1.14.46; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.13 |
| 25-Oct-1999 |
thorpej | Add register prefixes.
|
1.12 |
| 18-Oct-1999 |
itohy | ELF PIC support.
|
1.11 |
| 02-May-1999 |
kleink | branches: 1.11.2; We can shave off a register-register move when using the SVR4 ABI: __errno() will return its pointer result in a0.
|
1.10 |
| 29-Apr-1999 |
kleink | Declare cerror using _ENTRY() to get, among other things, a .type statement.
|
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 |
| 06-Oct-1998 |
kleink | Declare one of {__errno,errno}, depending on _REENTRANT.
|
1.7 |
| 01-Jul-1998 |
thorpej | Use _C_LABEL() to generate C labels.
|
1.6 |
| 07-Nov-1996 |
jtc | Change __REENTRANT to _REENTRANT, the latter is used Solaris and I can think of no good reason to be different.
|
1.5 |
| 07-Nov-1996 |
jtc | Changed so that when __REENTRANT is defined, cerror calls __errno() for the address of a variable used to store the error number instead of writing to the global errno.
In a multi-threaded program, __errno() will return a pointer to a thread-specific variable.
|
1.4 |
| 13-Dec-1995 |
thorpej | New-style RCS ids. Use the RCSID() macro where appropriate.
|
1.3 |
| 04-Aug-1994 |
chopps | fixed ld.so to properly save all regs when binding PIC functions. We no longer need the special case (PIC) code to push args when calling cerror.
|
1.2 |
| 02-Apr-1994 |
cgd | branches: 1.2.2; 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.1 |
| 25-Nov-1993 |
paulus | Machine-dependent files for generic m68k machines (copied from hp300), modified to support shared libraries.
|
1.2.2.1 |
| 05-Aug-1994 |
mycroft | update from trunk
|
1.11.2.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.14.46.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.14.38.1 |
| 10-Oct-2009 |
sborrill | Pull up the following revisions(s) (requested by phx in ticket #1085): lib/libc/arch/m68k/sys/cerror.S: revision 1.15
Ensure functions like mmap(2), mremap(2), shmat(2) or sbrk(2) return -1 in case of an error. A side benefit of this is to fix a segfault caused by jemalloc when mmap() failed.
|
1.15.12.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.15.6.1 |
| 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")
|