Commit Graph

1287 Commits

Author SHA1 Message Date
jld
e8ef331ffa Fix PR 34112, where a program could mysteriously exit on return from a
signal handler, by deriving the context pointer from the stack pointer
instead of trying to read it from where the sigaction function may have
overwritten it with arbitrary bits.

Fix provided by Matthias Drochner in the PR.
2006-08-02 04:18:48 +00:00
ross
60ce5dccc9 Add missing ppc64 elements 2006-07-07 21:07:35 +00:00
cherry
c41313666f checkin libc asm stubs, #1 2006-07-07 07:49:19 +00:00
ross
549728f08a build __sigaction14_sigtramp.c 2006-07-07 06:56:34 +00:00
ross
fefc484d05 rcsid & white space 2006-07-07 06:53:42 +00:00
ross
db64036e6c fix @toc reference macro 2006-07-07 06:50:06 +00:00
ross
7108da6a37 Add missing sigaction() 2006-07-07 06:40:45 +00:00
ross
7008de4c81 bzero() and memset() for ppc64. 2006-07-07 04:54:52 +00:00
ross
4669390119 rewrite for ppc elf64 reloc 2006-07-06 17:05:04 +00:00
ross
5844b0794f we need the current vfork 2006-07-06 17:04:22 +00:00
ross
3fbcafa1c9 convert remaining ppc32 code to ppc64 2006-07-05 18:28:43 +00:00
ross
0584742537 convert PIC linkage 2006-07-05 18:27:08 +00:00
ross
50500ff1b2 revise for ppc64 2006-07-05 18:12:54 +00:00
ross
a9ea5c11ba Adjust types and casts for LP64 compilation.
Split "long *sp;" into "__greg_t sp, *spp;", which reduces the cast
density and could be used to clean up the ppc32 version as well.
2006-07-05 18:10:36 +00:00
ross
a87ca7ecec fix typo 2006-07-05 18:07:22 +00:00
ross
dfb9c8767b Finish ppc64 conversion 2006-07-05 18:06:47 +00:00
ross
9ed70a7fa2 adjust casts for LP64 2006-07-05 18:05:45 +00:00
drochner
3379c1c805 replaced by code in libc/compat/gen 2006-07-03 13:20:19 +00:00
drochner
46b4d67318 build {frexp,ldexp,modf} in the "compat" subtree
(Drop the modf assembler version. We have the same code in libm.)
(Drop the ldexp inline-assembler version. The same code is in libm as
scalbn; the ldexp there is just a wrapper providing error handling.)
2006-07-03 13:13:53 +00:00
drochner
5ea27734ec build frexp_ieee754 and ldexp_ieee754 in the "compat" subtree
(There is an assembler version of modf which needs to be checked.)
2006-07-03 13:06:12 +00:00
drochner
2a270967fb This is a new port - don't ever start with frexp/ldexp/modf in libc, we
have it in libm already.
2006-07-03 13:03:49 +00:00
drochner
451c99c7a2 build frexp_ieee754 and ldexp_ieee754 in the "compat" subtree
(There is an assembler version of modf which needs to be checked.)
2006-07-03 13:00:54 +00:00
drochner
4cbc875060 build frexp_ieee754 in the "compat" subtree
(There are assembler versions of ldexp and modf which need to be checked.
I'm in doubt they are metter than those in libm.)
2006-07-03 12:58:55 +00:00
drochner
c48c54fd05 build frexp_ieee754 in the "compat" subtree
(The Makefile logics for ldexp and modf is too involved for me to deal
with this now.)
2006-07-03 12:54:34 +00:00
ross
d48f14661d ppc64 build framework first pass 2006-07-01 16:37:20 +00:00
drochner
fa073991b3 build frexp/ldexp/modf in the "compat" part (code is identical)
(These are the easy cases where no assembler implementations exist.)
2006-06-28 14:46:32 +00:00
drochner
0ed7304bd6 build frexp/ldexp/modf in the "compat" part
(code is identical)
2006-06-28 14:22:15 +00:00
drochner
4502979a72 Build just the compatibility versions of frexp()/ldexp()/modf(), the
real implementation is in libm.
2006-06-27 18:19:57 +00:00
uwe
46daac62de G/c KMSRCS and KMINCLUDES now that we have common/lib/libc 2006-06-17 18:04:23 +00:00
mrg
e69cf86f15 remove GCC2 support 2006-06-02 19:47:15 +00:00
mrg
15fc3900ea add a local prototype for fabs() 2006-05-21 02:51:15 +00:00
christos
96473fa808 change __weak_extern to __weak_reference so that gcc4 works. 2006-05-18 17:54:19 +00:00
mrg
8726b401d3 if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess. 2006-05-16 20:55:51 +00:00
mrg
640873a430 make sure there is a prototype in scope. 2006-05-16 05:29:16 +00:00
mrg
340a97942e if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess. 2006-05-11 23:53:14 +00:00
mrg
fd07545586 in makecontext(), sp is unsigned * so don't assign signed *'s to it. 2006-05-11 00:34:44 +00:00
snj
a640fe8c43 It's "its." 2006-04-24 19:00:29 +00:00
uwe
13ab2e2a10 Now that bcopy.S doesn't contain the actual implemenation, move it
back to libc.
2006-04-23 00:08:18 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
skrll
6f5914a550 __sigtramp1.S moved to the new compat layout so we should try and build
it here.
2006-04-05 12:23:51 +00:00
drochner
f81322cf18 build erand48_ieee754.c on everything but vax 2006-03-22 22:03:58 +00:00
he
dcaa7a3be5 It's .endif, not .fi. 2006-03-21 22:50:13 +00:00
kleink
4b173cfc48 Don't build extended-precision routines on m68000; from Havard. 2006-03-20 09:52:23 +00:00
kleink
bc89c06cbf Add strtof(3) and strtold(3); welcome libc 12.137. 2006-03-15 17:35:17 +00:00
christos
7c5c37b133 move to the new compat layout. 2006-03-11 19:56:17 +00:00
christos
ab2a637b34 Welcome to the new compat layout. 2006-03-11 19:34:40 +00:00
christos
2b52112d5a Remove files moved to the new compat layout. 2006-03-11 19:16:07 +00:00
christos
edc071d5b4 remove files moved to the new compat layout. 2006-03-11 19:02:16 +00:00
christos
22d2b3199c Welcome to the new compat layout. 2006-03-09 16:20:27 +00:00
wiz
5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00