jdc
b342fc607a
Use ntohl(host_address) so that RBL lookups work on little-endian hosts.
...
Tested on alpha, i386 and sparc64.
Fixes PR lib/30402.
2006-01-08 17:20:28 +00:00
martin
286956e76d
Use __errno in the _REENTRANT case (pointed out by Valeriy E. Ushakov).
...
While there, indent some delay slot instructions.
2006-01-08 12:05:33 +00:00
kleink
6012e94867
Xref pthread_sigmask(3).
2006-01-07 20:11:30 +00:00
kleink
5af00b0b39
pthread_sigmask(): Add restrict qualifier to set, oset args.
2006-01-07 20:10:29 +00:00
uwe
6b8eb49dd6
Use PLT for PIC calls to avoid text relocs in the shared library.
2006-01-06 22:46:14 +00:00
uwe
5cee9283d0
Provide _REENTRANT version of errno = 0;
2006-01-06 20:38:01 +00:00
uwe
0e79e13e9c
Use JUMP_CERROR instead of messing with errno directly.
...
Simplify.
2006-01-06 07:07:34 +00:00
uwe
3a310524fb
Drop unnecessary nops.
2006-01-06 06:19:20 +00:00
uwe
ec3c02b8ff
Simplify.
2006-01-06 05:23:46 +00:00
uwe
6ea6e06ed1
Change !_REENTRANT && !PIC case to use r4 too.
2006-01-06 05:14:39 +00:00
uwe
026eb7b69e
Open code _SYSCALL_NOERROR to shave off a memory load and a branch.
...
Makes this congruent to vforks. Add .size directive.
2006-01-06 05:11:29 +00:00
uwe
73375bbc4d
Add .size directive.
2006-01-06 04:38:10 +00:00
uwe
553d6ca3ed
Use JUMP_CERROR instead of messing with errno directly.
...
Simplify. Add WARN_REFERENCES.
2006-01-06 04:30:33 +00:00
uwe
dc6b340eff
Simplify.
2006-01-06 04:08:47 +00:00
uwe
577f0b80c0
Simplify. Add WARN_REFERENCES.
2006-01-06 04:05:55 +00:00
uwe
b46734f0ca
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!
2006-01-06 03:58:31 +00:00
uwe
40336aba3d
Make "When set is null" into a separate paragraph for better readability.
2006-01-06 02:30:08 +00:00
uwe
b1648afca2
This can be simplified to RSYSCALL(__syscall), no special treatment necessary.
2006-01-06 01:57:38 +00:00
uwe
63e9eca689
This can be simplified to PSEUDO(exect,execve).
2006-01-06 01:53:30 +00:00
uwe
63f84ca820
This can be simplified to RSYSCALL(syscall), no special treatment necessary.
2006-01-06 01:27:23 +00:00
uwe
0831944cce
Use PLT for PIC call to __errno to avoid text reloc in the shared library.
...
Add .size directive.
2006-01-05 23:10:35 +00:00
rpaulo
b583fcc049
#include <stdio.h> in the example.
2006-01-05 19:45:29 +00:00
uwe
3259b3637a
Use PLT for PIC call to _exit to avoid text reloc in the shared library.
...
Add .size directive.
2006-01-05 19:28:50 +00:00
uwe
a92c062160
Use PIC_PROLOGUE_NOSAVE in long jumps, where we don't need to preserve r12.
...
While here, swap the order in which r4 and r5 saved on the stack so
that r4 is restored further away from its first use.
2006-01-05 19:21:37 +00:00
uwe
0396244ccc
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).
2006-01-05 18:20:29 +00:00
uwe
7581f11837
Add .size directive.
2006-01-05 05:02:33 +00:00
uwe
c8cec240a7
Oops^2. Init pointer to the saved registers area.
2006-01-05 04:55:48 +00:00
uwe
a2be2d8bd9
Oops, correct numeric label in branch.
2006-01-05 04:41:16 +00:00
uwe
55be1ea1cf
Use PLT for PIC calls to avoids text relocs in the shared library.
...
Use constants from <machine/setjmp.h> for better readability.
Provide .size directives.
2006-01-05 04:38:39 +00:00
uwe
f859e17a02
Use PLT for PIC calls to avoids text relocs in the shared library.
...
Use constants from <machine/setjmp.h> for better readability.
Provide .size directives.
2006-01-05 04:23:18 +00:00
uwe
979bf3279f
Oops, supply correct label for __longjmp14 .size directive.
2006-01-05 04:18:01 +00:00
uwe
0aa62ed4eb
Use PLT for PIC calls to avoids text relocs in the shared library.
...
Use constants from <machine/setjmp.h> for better readability.
Provide .size directives.
2006-01-05 03:40:34 +00:00
uwe
f814031bbe
Use PLT for PIC calls to avoids text relocs in the shared library.
...
Use constants from <machine/setjmp.h> for better readability.
Provide .size directives.
2006-01-05 03:03:52 +00:00
uwe
89723f208b
PIC_PROLOGUE doesn't take temp register argument, adjust.
2006-01-05 02:46:15 +00:00
uwe
6170f5973a
Use SET_ENTRY_SIZE macro to hide verbose .size arithmetic.
2006-01-05 02:04:41 +00:00
uwe
932cacd22a
Use constants from <machine/setjmp.h> for better readability.
2006-01-05 00:56:21 +00:00
uwe
2217927fda
Add .size directives.
...
While here, indent instructions in the rts delay slots.
2006-01-05 00:18:10 +00:00
uwe
fa0fe9c883
Use PLT for PIC calls. Makes the called functions overridable and
...
avoids text reloc in the shared library.
Same non-PIC code generated.
2006-01-04 22:32:06 +00:00
uwe
1a1aa0fb5a
Took me some time to figure that getcontext does _UC_MACHINE_INTRV(oucp) = 0
...
for us, so add a comment. While here use official _UC_MACHINE_SET_PC
macro in another comment.
2006-01-04 20:47:24 +00:00
uwe
8238ccbbf0
Use macros from <machine/asm.h>. s/r15/sp/. Use cpp-safe label
...
names. Add comments. Same object code is generated.
2006-01-04 19:13:48 +00:00
uwe
55ad9313a6
In PIC code call setcontext(2) via PLT to avoid text reloc in the
...
shared library.
2006-01-04 17:44:53 +00:00
skrll
73b7bdcee7
A couple of fixes to make libpthread really shared, i.e. not have text re-
...
locations:
- Don't declare pthread__switch_away global
- Do the PIC dance for pthread__switch_return_point and
pthread__locked_switch. Ideally these (and other) symbols would
be hidden.
Thanks to uwe@, dyoung@ and elad@ for help.
XXX sh3 is still to be done.
XXX vax does strange things.
2006-01-04 12:43:43 +00:00
jdc
264b791562
Don't crash if asked to touch more lines than there are in a window.
2006-01-01 11:48:31 +00:00
elad
e77db80a44
Revert back to revision 1.40, as requested by cube@.
...
Unbreaks KDE.
2005-12-31 12:32:30 +00:00
uwe
ffaa72c2cc
Adapt to new PIC macros that are now in <machine/asm.h>. Same binary
...
code is generated (still with text relocs, but eliminating them is the
next step).
2005-12-31 05:08:28 +00:00
christos
fb6dad779a
move all pqueue.h headers to libcrypto.
2005-12-31 00:14:35 +00:00
christos
616f676cc7
Add another include file. bump version for hardware cryptodev addition.
2005-12-31 00:04:51 +00:00
agc
740a95c15f
Add Todd Miller's ftw(3) and nftw(3) file-tree walking functionality,
...
from OpenBSD.
Bump libc minor to 136.
2005-12-30 23:07:31 +00:00
chs
89a8f7b8c9
change errors returned for various operations on "/" to conform to SUSv3.
...
as discussed on tech-kern some time back.
2005-12-27 17:24:07 +00:00
perry
fd18408b9a
u_intN_t -> uintN_t
2005-12-26 19:40:14 +00:00