lukem
88c3eadbfa
Add missing __RCSID()
2005-06-12 05:21:25 +00:00
matt
57947b7b48
Make longjmp on vax not use sigreturn. Instead it rewrites the
...
jmp_buf into one compatible with __longjmp14 and relies on that
to change that into a ucontext_t suitable for setcontext(2).
2005-05-03 04:37:33 +00:00
matt
17a5fd3419
Start the args after the argc. Return to resumecontext after the entry mask.
2005-04-09 20:46:56 +00:00
he
552a47b805
Revert previous; mhitch has already committed a workaround to ../Makefile.inc.
2004-06-06 17:09:48 +00:00
he
4b896b2324
It appears necessary to add -I. to CPPFLAGS for nslexer.c. This is
...
most probably caused by gcc 2.95.3; will be documented in doc/HACKS.
Reviewed by ragge.
2004-06-06 13:26:01 +00:00
mhitch
e1afa110dd
A -I. is needed by vax; had gotten removed from elsewhere.
2004-06-03 16:34:19 +00:00
drochner
0341f6a45e
the WARN_REFERENCES text "include <signal.h> for correct reference" is pointless
...
as <signal.h> won't help you, so remove it
2004-03-26 22:15:03 +00:00
drochner
85fa9b7250
fix references to the syscall formerly known as SYS___sigreturn14
2004-03-26 20:35:37 +00:00
drochner
cd85223ee2
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
2004-03-23 16:19:40 +00:00
simonb
270fda2783
Fix <tab> nits.
2004-03-23 01:41:47 +00:00
matt
4b376ded6a
Change longjmp on VAX (ELF) to use setcontext instead of sigreturn14.
2004-03-21 18:19:52 +00:00
kleink
8e54f10bf7
* Turn isinf(3) and isnan(3) into C99-style macros.
...
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
2004-03-04 23:42:38 +00:00
matt
eeabd92cc2
Add UC_STACK and stack_t related definitions.
2004-03-04 00:16:47 +00:00
matt
71f2db14c8
Use this to symbolically get into ucontext_t and struct sigcontext.
2004-03-03 22:58:34 +00:00
matt
1373fa4222
s/sgn/sign (compiles now)
2004-01-20 19:41:30 +00:00
matt
8863e1ea05
Make these compile too.
2004-01-20 19:33:19 +00:00
matt
2758365e99
Make these compile.
2004-01-20 19:29:43 +00:00
ragge
ead753d26d
Fix typo fpclassifd.c -> fpclassifyd.c, reported by Bertram Barth.
2004-01-16 10:46:11 +00:00
kleink
d82e732345
Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros.
2004-01-15 19:43:44 +00:00
martin
269c3e3d2b
Use an unsigned comparison against minbrk.
...
From OpenBSD, changed by Miod Vallat.
2003-12-26 11:21:48 +00:00
kleink
9356ead951
Pasto.
2003-10-30 23:34:16 +00:00
kleink
0a97d0875b
C99 7.12.3.2: add library portions of isfinite, but don't build these just
...
yet.
2003-10-29 20:03:51 +00:00
kleink
9f3dbee22c
Add __infinityf and __infinityl, float respectively long double analogs
...
of __infinity.
2003-10-25 22:31:20 +00:00
matt
c1704e15b4
Enable the SIGINFO trampoline.
2003-09-30 19:05:41 +00:00
matt
4abc70c356
Deal with changed filename.
2003-09-28 16:30:18 +00:00
matt
117653c214
Since this a signal trampoline #2 , make that's in the file name.
2003-09-27 21:43:29 +00:00
ragge
0303d5ba8a
execl, execle and execlp must be weak-aliased.
2003-08-24 21:04:53 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
lukem
a93ea220fc
Rework how dependency generation is performed:
...
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.
* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx
* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES
* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}
* Deprecate the (short lived) DEPENDSRCS
Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.
Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
thorpej
8969ba6ff5
Build _isinfl() and _isnanl().
2003-05-17 15:05:52 +00:00
thorpej
f9345ff71e
Add _isinfl() and _isnanl() routines, currently for internal use only.
2003-05-17 14:51:24 +00:00
nathanw
4fb740b8de
Implement pthread_atfork() (in libc, because the required threadlib
...
stub behavior is exactly the same as the usual behavior).
2003-02-13 02:50:48 +00:00
matt
61687fc220
Add the *context.? sources to SRCS.
...
Make getcontext _getcontext and add a getcontext weak alias.
2003-01-23 23:56:13 +00:00
matt
21375ddf92
Make sure r0 in the saved context is 0.
2003-01-20 00:24:07 +00:00
matt
94face2f9c
Use _ALIGN_TEXT.
...
Make sure R0 is 0 in the saved context.
2003-01-20 00:18:06 +00:00
matt
95b5cce5c6
Add getcontext(2) stub.
2003-01-19 19:32:39 +00:00
matt
8c295614ea
Add the VAX versions of these.
2003-01-19 19:07:30 +00:00
thorpej
c7cb871964
These files are obsolete; setlogin() is now implemented in C with a
...
small syscall stub.
2003-01-18 18:28:44 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
thorpej
a8151a52ca
Split isnan() into its own file.
2002-10-26 06:51:32 +00:00
ragge
d1c2e581d6
Rename __sigtramp1.S to __sigtramp.S.
2002-09-12 18:28:52 +00:00
ragge
2e409d7d44
Fix a signal handler bug originally reported by Hugh Graham some year ago:
...
If two signals are sent after each other without the process being run in
userspace between them then the second one will overwrite part of the signal
info stored on the userstack.
Fixed by rewriting and simplifying both the signal delivery code and the
trampoline code. Also bump signal version number to 2.
Rename __sigtramp1.S to __sigtramp.S.
2002-09-12 18:28:22 +00:00
thorpej
c061e6bf8b
Enable the libc-provided signal trampoline. The old __sigaction14
...
entry point has been replaced by the new __sigaction14() which is a
wrapper around the __sigaction_sigtramp system call (which is itself
not directly exposed outside of libc).
No shared library version change is necessary; no new symbols
are exposed outside of libc.
2002-07-10 04:29:05 +00:00
thorpej
8aa4d3caec
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.
2002-07-09 23:32:35 +00:00
matt
471cb493ae
Add modff
2002-06-23 21:48:52 +00:00
wiz
92d8b1e9fa
Revert previous: .S files are currently compiled with -traditional-cpp,
...
so __STDC__ is _not_ always defined.
2002-05-26 12:24:55 +00:00
wiz
d56bb7c2ec
__STDC__ is always defined on NetBSD.
2002-05-26 11:48:00 +00:00
matt
33ce495df4
Put R6 back in the save and adjust frame size for it. Don't save the
...
register in sigset area, put them after the sigset area.
2002-03-30 05:32:32 +00:00
matt
583d4ad39f
Put R6 back in save mask (to make mask used by PLT routines). Adjust frame
...
size according. In _longjmp, deal with sp/fp separately since they stored
in reserve order so movq won't work.
2002-03-30 04:58:36 +00:00