wiz
b4371d47f5
Replace some misuses of "then" with "than".
2001-12-04 17:56:30 +00:00
mjl
a9c86c6ce0
Add assembler version of strlen.
2001-11-30 02:26:35 +00:00
mjl
625c08cf7e
Outifdef some stuff not needed in the _KERNEL case.
2001-11-30 02:25:50 +00:00
mjl
7f0157c400
Make this work in kernel space too.
2001-11-29 00:20:37 +00:00
mjl
feb8901632
Add PPC assembler routines for ffs(3), bzero(3) and memset(3).
2001-11-25 01:09:58 +00:00
wiz
1fd7eeefcd
"than" instead of "then".
2001-11-21 19:14:19 +00:00
chris
aadbf924e6
Update asm files to use sp instead of r13. Also tweak a couple of bits in the longjmp code to save an instruction.
2001-11-13 20:04:52 +00:00
chris
d4ffdc1db0
Update arm libc files for 8 byte aligned stack.
2001-11-13 20:03:38 +00:00
bjh21
49ddb29842
Fix .type directive to use the right name for L_ffs_table (pointed out by
...
Ian Fry).
Also, add RCSID and fix some comments.
2001-11-13 13:07:52 +00:00
chris
6829afaed3
Update the libc version of ffs to make use of an optimsed asm version.
2001-11-11 22:05:18 +00:00
bjh21
4da598993d
Rename a parameter to fix build problem with new toolchain.
2001-11-08 22:45:45 +00:00
tron
b1d32d0e07
Rename a parameter to fix build problem with new toolchain.
2001-11-08 11:24:07 +00:00
enami
6023422f9d
Fix -Wshadow warnings.
2001-11-08 06:51:05 +00:00
drochner
f0f40184c9
-Wshadow fix
2001-11-07 17:56:32 +00:00
drochner
dacd4ae4c5
cpoy from the 040 version: -Wshadow warning fix
2001-11-07 17:55:42 +00:00
mjl
d1960d6679
fix for -Wshadow
2001-11-07 17:46:21 +00:00
chs
5f13639b8f
fix for -Wshadow
2001-11-07 15:45:12 +00:00
drochner
f3b5b119ec
fix -Wshadow warnings
2001-11-07 13:44:58 +00:00
lukem
50f5afd52e
fix WARNS=2 (-Wshadow) warnings
2001-11-04 13:57:29 +00:00
bjh21
ffbd94556b
Change isnan() and isinf() to use a union to convert from double to
...
struct ieee_double, rather than a pointer cast. This seems to enable
GCC 2.95.3 to get the instruction dependencies right (the old one fell
foul of ANSI aliasing rules), and it also generates more sensible code in
general.
If this is the correct solution, it should be applied to the other ports.
If it's not, someone should come up with one that _is_ correct.
2001-10-29 20:16:55 +00:00
bjh21
6a56d71ffa
Handle machines using VFP-format doubles (as we do in ARM ELF) and big-endian
...
systems correctly.
2001-10-28 12:40:56 +00:00
tv
fbc7a97b48
Remove files beginning with ":", which is invalid on other host OS's
...
(particularly those made by Microsoft). These ex/vi-macro files are not
actually needed at this point, anyway....
2001-10-19 02:43:26 +00:00
fredette
129f58b424
On the 68010, don't bother with the by-8-longwords loop, instead
...
only 16-bit align the region and use loop mode with longwords
to do the bulk of the work.
On the 68020+, fixed an optimization bug where all regions that start
on odd addresses would not be properly longword aligned.
2001-09-07 12:50:01 +00:00
chuck
759fa4641f
change "pushl [r0](ap)" ---> "pushl (ap)[r0]" ... the old version
...
made a reference to an external symbol "r0" rather that used register r0.
2001-09-06 18:42:58 +00:00
matt
9969d4398b
Ansi'fy. (to make this compile under -Wstrict-prototypes)
2001-08-27 16:46:43 +00:00
matthias
0548dfb96c
__clone stub for ns32k. Basic code taken from m68k.
2001-08-08 09:19:40 +00:00
eeh
1a0ae8c9f0
Improved version of bzero.
2001-08-02 01:17:28 +00:00
eeh
5dd57287be
Fix some corner cases.
2001-08-01 16:45:20 +00:00
eeh
685a79bb36
Use unsigned compares for addresses.
2001-08-01 05:52:12 +00:00
thorpej
f98eeabaa2
sparc64 version, cloned (har har!) from the sparc version and tweaked.
2001-07-23 07:35:44 +00:00
thorpej
fed292651f
From rev. 1.11 of the 32-bit version:
...
Add a macro "CALL()" to call a function correctly in the pic and non pic
case. Write ERROR() in terms of call.
2001-07-23 07:26:50 +00:00
christos
fdda22398f
add an implementation of __clone(2)
2001-07-23 01:41:25 +00:00
christos
9a416d6f08
Add a macro "CALL()" to call a function correctly in the pic and non pic
...
case. Write ERROR() in terms of call.
2001-07-23 01:40:33 +00:00
chris
30b6c70f2c
Add __clone() for arm.
2001-07-22 18:56:34 +00:00
tsubai
2060c2091a
Add __clone() for sh3.
2001-07-22 17:18:25 +00:00
thorpej
bcd75f16cb
Duh, call the clone's entry point w/ jal, so that when it returns,
...
it returns to the correct $ra (not the parent's!!).
2001-07-20 17:37:39 +00:00
tsubai
193161b3fe
Add a __clone(3) entry point for powerpc.
2001-07-20 17:19:15 +00:00
scw
b722bfb186
Compensate for the syscall args stack cleanup in the clone.
...
(Pointed out by Matthias Pfaller)
2001-07-20 17:08:18 +00:00
matthias
5501e1c532
This is just a RSYSCALL.
2001-07-20 11:17:18 +00:00
matt
63237a33ce
Add __clone(2) for VAX.
2001-07-20 06:10:12 +00:00
scw
c45a0d8765
clone(2) syscall frontend for m68k.
2001-07-19 21:50:46 +00:00
fvdl
d34ad42fdb
Fix call to _exit.
2001-07-18 12:24:53 +00:00
thorpej
da2e0bfb7c
Simplify slightly.
2001-07-17 23:13:04 +00:00
fvdl
017c6632e8
__clone stub for i386
2001-07-17 06:03:43 +00:00
thorpej
480252327f
Cosmetic change.
2001-07-17 02:05:32 +00:00
thorpej
d85c1e4043
Add a __clone(2) entry point.
2001-07-17 02:01:40 +00:00
thorpej
4cd75d0d0a
Add a __clone(3) entry point.
2001-07-17 00:33:04 +00:00
matt
5feec23305
Changes needed for ARM ELF shared library support.
2001-07-16 05:50:05 +00:00
eeh
b4b1b3f3d7
Replace bzero.S and bcopy.S with memset.S and memcpy.S to make the makefiles
...
happy.
2001-07-07 04:55:21 +00:00
eeh
227671f79e
Fix more boundary issues.
2001-07-05 19:09:24 +00:00