Home | History | Annotate | only in /src/lib/libc/arch/sh3/sys
History log of /src/lib/libc/arch/sh3/sys
RevisionDateAuthorComments
 1.6 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.5 07-Aug-2003  agc branches: 1.5.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.3 11-May-2001  msaitoh style fix (no functional change)
 1.2 09-Apr-2001  marcus Added missing _C_LABEL to errno reference.
 1.1 05-Jan-2000  msaitoh branches: 1.1.6;
libc for SH3.
TODO: fplib
 1.1.6.1 08-Oct-2001  nathanw Catch up to -current.
 1.5.6.1 22-Jan-2006  tron Apply patch (requested by uwe in ticket #1102):
Use JUMP_CERROR instead of messing with errno directly.
Simplify. Add WARN_REFERENCES.
 1.7 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.6 06-Jan-2006  uwe branches: 1.6.44; 1.6.50;
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.5 05-Jan-2006  uwe Use PLT for PIC call to _exit to avoid text reloc in the shared library.
Add .size directive.
 1.4 05-Jan-2006  uwe Use macros from <machine/asm.h>. Add some comments.
Same PIC object code. Almost the same non-PIC object code (b/c of
s/jsr/jmp/ to _exit).
 1.3 24-Oct-2003  uwe branches: 1.3.6;
In PIC code "braf" to cerror, not "bsrf" to it!
 1.2 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.1 22-Jul-2001  tsubai branches: 1.1.2;
Add __clone() for sh3.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 22-Jul-2001  nathanw file __clone.S was added on branch nathanw_sa on 2001-10-08 20:18:06 +0000
 1.3.6.3 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.3.6.2 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/sys/__clone.S: revision 1.5
Use PLT for PIC call to _exit to avoid text reloc in the shared library.
Add .size directive.
 1.3.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/sys/__clone.S: revision 1.4
Use macros from <machine/asm.h>. Add some comments.
Same PIC object code. Almost the same non-PIC object code (b/c of
s/jsr/jmp/ to _exit).
 1.6.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.44.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")
 1.2 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.1 20-Apr-2000  tsubai Add missing files.
 1.9 26-Oct-2021  christos Merge all MD __sigaction14_sigtramp.c copies into one:
- sparc and sparc64 were not using version 0 sigcontext when there were
no arguments in the signal version. This was probably a bug.
- vax is using +1 the version numbers of the other archs.
- Only hppa was defining __LIBC12_SOURCE__ so it was getting a working
sigcontext before. all the other ports that supported sigcontext had
the compat code disabled.
[pointed out by thorpej, thanks!]
If we want to remove sigcontext support from userland at least now there
is less work to do so.
 1.8 28-Apr-2008  martin branches: 1.8.8;
Remove clause 3 and 4 from TNF licenses
 1.7 18-May-2006  christos branches: 1.7.18;
change __weak_extern to __weak_reference so that gcc4 works.
 1.6 19-Feb-2006  christos make these consistent.
 1.5 12-Jun-2005  lukem Add missing __RCSID()
 1.4 23-Mar-2004  drochner save errno while trying to install a !SA_SIGINFO trampoline -- this
is expected to fail with !COMPAT_16 kernels, and we shouldn't
overwrite errno in this case
 1.3 23-Nov-2003  uwe Implement siginfo for sh3.
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 09-Jul-2002  thorpej branches: 1.1.2;
New __sigaction14() system call stub which registers the signal
trampoline, and the signal trampolines themselves.

NOTE: These are not yet enabled; they will be enabled after further
testing on more architectures.
 1.1.2.3 02-Oct-2002  thorpej libc:
Internally rename __sigaction14 to __libc_sigaction14. Provide a
weak alias of __sigaction14 -> __libc_sigaction14.

libpthread:
Use __libc_sigaction14 to actually register the signal handler, rather
than using __sigaction_sigtramp() directly with a hard-coded trampoline
version. While we don't actually use the libc trampoline, we want to
avoid depending on any COMPAT_* kernel options down the road (this is
already the case for the VAX port).

Be explicit about which version of the signal interface we're interposing
(...14), and build pthread_sig.c with __LIBC12_SOURCE__ (required to get
the libc-internal interfaces).
 1.1.2.2 01-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 09-Jul-2002  nathanw file __sigaction14_sigtramp.c was added on branch nathanw_sa on 2002-08-01 03:28:05 +0000
 1.7.18.1 18-May-2008  yamt sync with head.
 1.8.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8.8.1 28-Apr-2008  martin file __sigaction14_sigtramp.c was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.4 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.3 26-Mar-2004  drochner fix references to the syscall formerly known as SYS___sigreturn14
 1.2 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.3 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.2 26-Mar-2004  drochner fix references to the syscall formerly known as SYS___sigreturn14
 1.1 09-Jul-2002  thorpej branches: 1.1.2;
New __sigaction14() system call stub which registers the signal
trampoline, and the signal trampolines themselves.

NOTE: These are not yet enabled; they will be enabled after further
testing on more architectures.
 1.1.2.2 01-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 09-Jul-2002  nathanw file __sigtramp1.S was added on branch nathanw_sa on 2002-08-01 03:28:05 +0000
 1.5 24-Nov-2021  thorpej Decorate the SuperH signal trampoline with the appropriate .cfi
directives to allow exception unwind / backtrace across a signal
handler.
 1.4 15-Oct-2020  skrll Trailing whitespace
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 06-Jan-2006  uwe branches: 1.2.18;
Add .size directive.
 1.1 23-Nov-2003  uwe Implement siginfo for sh3.
 1.2.18.1 18-May-2008  yamt sync with head.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file __sigtramp2.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.6 06-Jan-2006  uwe This can be simplified to RSYSCALL(__syscall), no special treatment necessary.
 1.5 07-Aug-2003  agc branches: 1.5.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.3 11-May-2001  msaitoh style fix (no functional change)
 1.2 17-Jan-2001  itojun branches: 1.2.2;
fix syscall() and __syscall(). r0 has to be set to SYS_syscall or
SYS___syscall, respectively. otherwise sys/arch/sh3/sh3/trap.c will
look at the wrong argument.
 1.1 04-Jan-2001  itojun __syscall is now mandatory
 1.2.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.5.6.1 11-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1097):
lib/libc/arch/sh3/sys/__syscall.S: revision 1.6
This can be simplified to RSYSCALL(__syscall), no special treatment necessary.
 1.6 06-Jan-2006  uwe Use JUMP_CERROR instead of messing with errno directly.
Simplify.
 1.5 07-Aug-2003  agc branches: 1.5.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.3 11-May-2001  msaitoh style fix (no functional change)
 1.2 16-Feb-2001  msaitoh branches: 1.2.2;
_C_LABEL()
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.5.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1102):
lib/libc/arch/sh3/sys/__vfork14.S: revision 1.6
Use JUMP_CERROR instead of messing with errno directly.
Simplify.
 1.11 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.10 06-Jan-2006  uwe branches: 1.10.44; 1.10.50;
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.9 07-Aug-2003  agc branches: 1.9.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.7 11-May-2001  msaitoh style fix (no functional change)
 1.6 16-Dec-2000  tsubai branches: 1.6.2;
Fix weak alias.
 1.5 04-Aug-2000  tsubai s/minbrk/_C_LABEL(__minbrk)/.
 1.4 26-Jun-2000  kleink Thinko in previous: we do always use an internal name.
 1.3 23-Jun-2000  kleink Add internal names for brk() and sbrk().
 1.2 27-Mar-2000  msaitoh branches: 1.2.4;
fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.4.1 22-Aug-2000  kleink Pull up revs. 1.3-1.4 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.6.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.9.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.10.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.44.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")
 1.11 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.10 06-Jan-2006  uwe branches: 1.10.44; 1.10.50;
Change !_REENTRANT && !PIC case to use r4 too.
 1.9 06-Jan-2006  uwe Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.8 05-Jan-2006  uwe Use PLT for PIC call to __errno to avoid text reloc in the shared library.
Add .size directive.
 1.7 28-May-2004  uwe branches: 1.7.2;
Provide _REENTRANT code. It's a wonder nobody has noticed this before.
Uncovered by multithreaded bind9 utils.
 1.6 07-Aug-2003  agc branches: 1.6.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.4 11-May-2001  msaitoh style fix (no functional change)
 1.3 14-Feb-2001  msaitoh branches: 1.3.2;
use _C_LABEL()
 1.2 27-Mar-2000  msaitoh fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.3.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.6.2.1 29-May-2004  tron Pull up revision 1.7 (requested by uwe in ticket #418):
Provide _REENTRANT code. It's a wonder nobody has noticed this before.
Uncovered by multithreaded bind9 utils.
 1.7.2.3 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/sys/cerror.S: revision 1.10
Change !_REENTRANT && !PIC case to use r4 too.
 1.7.2.2 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.7.2.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/sys/cerror.S: revision 1.8
Use PLT for PIC call to __errno to avoid text reloc in the shared library.
Add .size directive.
 1.10.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.44.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")
 1.6 07-Feb-2017  kamil Mark exect(3) obsolete and bind it to plain execve(2) on all platforms

The original exect(2) from BSD4.2 was enabling bit for tracing
(single-step mode) and calling execve(2). The purpose of it was to generate
a signal for a tracer once the application will change its image to a new
program.

This approach no longer works as:
- exect(2) traces (single-steps) libc and it requires hundreds or
thousands steps before entering a new image
- it's vax and x86 specific code
- this functionality has been moved to the kernel - once a process is
traced it will generate SIGTRAP with si_code TRAP_EXEC and route it to
its debugger
- the side effects and unportability make this interface unusable
- there are no known users of this interface
- it apparently never worked better since day0 of NetBSD ("day0 bug")

Users are requested to move to other execve(2) variants. Calling current
execve(2) as it is the most similar behavior to this one from BSD4.2.

Discussed several times on mailing lists and in PR/51700.

Add warning to exect(3) telling about marking this function obsolete.

This function is prepared to be removed in next libc major bump.

Sponsored by <The NetBSD Foundation>
 1.5 06-Jan-2006  uwe branches: 1.5.68; 1.5.72;
This can be simplified to PSEUDO(exect,execve).
 1.4 07-Aug-2003  agc branches: 1.4.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.2 11-May-2001  msaitoh style fix (no functional change)
 1.1 05-Jan-2000  msaitoh branches: 1.1.6;
libc for SH3.
TODO: fplib
 1.1.6.1 08-Oct-2001  nathanw Catch up to -current.
 1.4.6.1 11-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1097):
lib/libc/arch/sh3/sys/exect.S: revision 1.5
This can be simplified to PSEUDO(exect,execve).
 1.5.72.1 21-Apr-2017  bouyer Sync with HEAD
 1.5.68.1 20-Mar-2017  pgoyette Sync with HEAD
 1.10 06-Jan-2006  uwe Open code _SYSCALL_NOERROR to shave off a memory load and a branch.
Makes this congruent to vforks. Add .size directive.
 1.9 06-Jan-2006  uwe Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.8 07-Aug-2003  agc branches: 1.8.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.6 13-Feb-2003  nathanw Implement pthread_atfork() (in libc, because the required threadlib
stub behavior is exactly the same as the usual behavior).
 1.5 11-May-2001  msaitoh style fix (no functional change)
 1.4 16-Dec-2000  tsubai branches: 1.4.2;
Fix weak alias.
 1.3 26-Jun-2000  kleink Need an internal name for fork().
 1.2 27-Mar-2000  msaitoh branches: 1.2.4;
fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.4.1 22-Aug-2000  kleink Pull up rev. 1.3 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.4.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.8.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.30;
Merge the nathanw_sa branch.
 1.1 22-Jun-2002  thorpej branches: 1.1.2;
file getcontext.S was initially added on branch nathanw_sa.
 1.1.2.1 22-Jun-2002  thorpej ucontext-related functions. From Klaus Klein.
 1.2.30.1 18-May-2008  yamt sync with head.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file getcontext.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.2 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.1 20-Apr-2000  tsubai Add missing files.
 1.7 06-Jan-2006  uwe Simplify.
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 11-May-2001  msaitoh style fix (no functional change)
 1.4 16-Dec-2000  tsubai branches: 1.4.2;
Fix weak alias.
 1.3 28-Sep-2000  kleink Need an internal name for pipe(2).
 1.2 27-Mar-2000  msaitoh branches: 1.2.4;
fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.4.1 29-Sep-2000  kleink Pull up rev. 1.3 (approved by thorpej):
Add internal name for pipe().
 1.4.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.9 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.8 06-Jan-2006  uwe branches: 1.8.44; 1.8.50;
Provide _REENTRANT version of errno = 0;
 1.7 06-Jan-2006  uwe Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.6 24-Oct-2003  uwe branches: 1.6.6;
In PIC code "braf" to cerror, not "bsrf" to it!
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.3 11-May-2001  msaitoh style fix (no functional change)
 1.2 16-Feb-2001  msaitoh branches: 1.2.2;
_C_LABEL()
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.6.6.2 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1103):
lib/libc/arch/sh3/sys/ptrace.S: revision 1.8
Provide _REENTRANT version of errno = 0;
 1.6.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.8.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.44.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")
 1.10 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.9 06-Jan-2006  uwe branches: 1.9.44; 1.9.50;
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.8 07-Aug-2003  agc branches: 1.8.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.6 11-May-2001  msaitoh style fix (no functional change)
 1.5 16-Dec-2000  tsubai branches: 1.5.2;
Fix weak alias.
 1.4 26-Jun-2000  kleink Thinko in previous: we do always use an internal name.
 1.3 23-Jun-2000  kleink Add internal names for brk() and sbrk().
 1.2 27-Mar-2000  msaitoh branches: 1.2.4;
fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.4.1 22-Aug-2000  kleink Pull up revs. 1.3-1.4 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.5.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.8.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.9.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.44.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")
 1.5 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.4 11-May-2001  msaitoh style fix (no functional change)
 1.3 16-Feb-2001  msaitoh branches: 1.3.2;
_C_LABEL()
 1.2 27-Mar-2000  msaitoh fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.3.2.2 25-Feb-2002  nathanw Move setlogin() stub to C code, and namespace-protect it.
 1.3.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.1 07-Jul-2000  itohy Add special treatment of shmat(2).
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
 1.2 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.1 20-Apr-2000  tsubai Add missing files.
 1.2 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.6 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 11-May-2001  msaitoh style fix (no functional change)
 1.3 04-Aug-2000  tsubai branches: 1.3.2;
Change comment character from '#' to '!'. (binutils-2.10 doesn't like '#')
 1.2 27-Mar-2000  msaitoh fill delay slots (from Klaus Klein)
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.3.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.7 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.6 07-Aug-2003  agc branches: 1.6.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.4 11-May-2001  msaitoh style fix (no functional change)
 1.3 09-Apr-2001  marcus Renamed reference to compat syscall to conform to new naming scheme.
 1.2 04-Aug-2000  tsubai branches: 1.2.2;
Change comment character from '#' to '!'. (binutils-2.10 doesn't like '#')
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.6.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.4 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.3 26-Mar-2004  drochner the WARN_REFERENCES text "include <signal.h> for correct reference" is pointless
as <signal.h> won't help you, so remove it
 1.2 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.6 15-Sep-2005  uwe Switch arch/sh3/sys to the new compat code layout.
 1.5 07-Aug-2003  agc branches: 1.5.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.3 11-May-2001  msaitoh style fix (no functional change)
 1.2 04-Aug-2000  tsubai branches: 1.2.2;
Change comment character from '#' to '!'. (binutils-2.10 doesn't like '#')
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.5.6.1 22-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1101):
lib/libc/arch/sh3/SYS.h: revision 1.8
lib/libc/arch/sh3/sys/brk.S: revision 1.10
lib/libc/arch/sh3/sys/__clone.S: revision 1.6
lib/libc/arch/sh3/sys/cerror.S: revision 1.9
lib/libc/arch/sh3/sys/ptrace.S: revision 1.7
lib/libc/arch/sh3/sys/fork.S: revision 1.9
lib/libc/arch/sh3/sys/sbrk.S: revision 1.9
lib/libc/arch/sh3/sys/sigprocmask.S: patch
lib/libc/arch/sh3/sys/sigsuspend.S: patch
Change cerror to take errno in r4, instead of r0.
In PIC code fetch cerror address from GOT to avoid
unresolved text relocations in shared libraries.
Hide the code to jump to cerror inside JUMP_CERROR macro.
Change syscall code to use JUMP_CERROR.
Die text relocations! DIE!
 1.7 18-Apr-2020  thorpej Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.
 1.6 06-Jan-2006  uwe branches: 1.6.86;
This can be simplified to RSYSCALL(syscall), no special treatment necessary.
 1.5 07-Aug-2003  agc branches: 1.5.6;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-2003  marcus Generate proper PIC code for libc_pic.a.
 1.3 11-May-2001  msaitoh style fix (no functional change)
 1.2 17-Jan-2001  itojun branches: 1.2.2;
fix syscall() and __syscall(). r0 has to be set to SYS_syscall or
SYS___syscall, respectively. otherwise sys/arch/sh3/sh3/trap.c will
look at the wrong argument.
 1.1 05-Jan-2000  msaitoh libc for SH3.
TODO: fplib
 1.2.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.5.6.1 11-Jan-2006  tron Pull up following revision(s) (requested by uwe in ticket #1097):
lib/libc/arch/sh3/sys/syscall.S: revision 1.6
This can be simplified to RSYSCALL(syscall), no special treatment necessary.
 1.6.86.1 21-Apr-2020  martin Sync with HEAD

RSS XML Feed