joerg
0a2b758384
Mark _resumecontext as dead. ANSIfy all declarations for it.
2011-09-19 21:24:57 +00:00
matt
51db1c5cf3
Kill _NOREGNAMES. Everything should be using %rX now. If it doesn't it
...
soon will.
2011-01-17 08:23:53 +00:00
mrg
3bdcb2e4b5
add a nop to provide enough space for the linker and long calls.
...
fixes link errors with 'cerror' and libposix.
from dennis.c.ferguson@gmail.com in PR#43010.
2010-03-22 02:17:23 +00:00
mrg
093c642fac
replace kernel-only 'stmd' and 'lmd' operations in userland with equivalent
...
sequences of code, as done in eg, powerpc64/gen/_setjmp.S rev 1.2.
from dennis.c.ferguson@gmail.com in PR#43009.
2010-03-22 01:39:11 +00:00
uebayasi
09afef2063
Rename ${SRCS.{alpha,arm,...}.gen} to ${LSRCS.{alpha,arm,...}.gen} because
...
they ended up in ${LSRCS}, not ${SRCS}. ${SRCS.*} namespace will be used
for more useful things. No functional changes intended.
2009-12-06 07:12:17 +00:00
dsl
a245205b96
Change NO_SRCS lines to specify .S in order to exclude the .c file from
...
SRCS but add it to LSRCS (sort of makes sense!).
2009-08-11 17:30:43 +00:00
dsl
d3c3d024a7
bzero.S defines memset(), so exclude memset.c
2009-08-03 06:26:41 +00:00
dsl
10ad5ffa71
Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.
...
Change the arch files only include the .S files.
This adds imaxdiv() to some archs where it was missing.
2009-07-31 20:39:59 +00:00
dsl
0d34d14bb9
If SRCS contains any .S files then remove the corresponding .c file from
...
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
2009-07-30 20:57:15 +00:00
dsl
6dffe8d42b
Remove references to index.c and rindex.c (strchr.c and strrchr.c
...
now provide the definitions).
2009-07-18 09:44:30 +00:00
he
5da54c35c9
Based on input from Eduardo Horvath (eeh@), replace 'stmd' and 'lmd',
...
which apparently don't exist as instructions, with a sequence of
std / ld instructions.
Also remove the attempted include of ldstm.S which we don't have.
2009-03-08 18:57:12 +00:00
martin
c79c3eed1d
Make NAN a compile time constant (with help from the compiler). Suggested
...
by krister. Fixes PR 40695.
Make references to the old construct (which we can't remove for binary
compatibility reasons) emit a linker warning.
2009-02-22 01:34:01 +00:00
matt
cac8e44915
Add C99 functions imaxabs and imaxdiv.
2008-08-04 21:29:27 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
martin
e56cdf1dd0
Sync all resumecontext.c versions with the changes originally made
...
by Matthias Drochner to i386 and alpha:
-check for a NULL uc_link before calling setcontext(2); do a real exit(3)
instead with exit handlers and all that
-If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
than relying on a sensible return value to use as exit code. Makes
it less likely that an ucontext corruption goes unnoticed.
2006-12-08 16:09:02 +00:00
ross
60ce5dccc9
Add missing ppc64 elements
2006-07-07 21:07:35 +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
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
ross
d48f14661d
ppc64 build framework first pass
2006-07-01 16:37:20 +00:00