Commit Graph

6621 Commits

Author SHA1 Message Date
christos
a0f3f04724 fix debugging printf formats. 2006-01-24 17:33:44 +00:00
christos
374485f427 fix compilation with -DDEBUG 2006-01-24 17:30:51 +00:00
christos
90d0f8cfa0 PR/32616: Yves-Emmanuel JUTARD: Fix compilation with -DDEBUG 2006-01-24 17:29:33 +00:00
christos
ec567cd38c appease lint and gcc. (compile with -DDEBUG) 2006-01-24 17:24:37 +00:00
christos
83e4df350a Use a separate macro, not DEBUG to enforce 8 bit chars [glob uses internally
16 bit chars]. Fix lint complaint when compiling with 8 bit chars.
2006-01-24 17:24:09 +00:00
christos
96dd93ad18 Expose __readdir and __telldir, unlocked versions of the non-underscore
versions.
2006-01-24 14:01:32 +00:00
christos
28463c62e1 PR/32609: Tanaka Akira: seekdir blocks if pthread is linked
Do locking consistently to avoid recursive locks (like the bug reported in
this pr), and to avoid leaking locks on errors.
2006-01-24 14:00:57 +00:00
christos
f69cef4676 Make _Exit an alias to _exit. 2006-01-20 22:03:23 +00:00
christos
6eaa70365b Kill _Exit; breaks build on cygwin and this implementation "is not exactly
equivalent to calling _exit".
2006-01-20 22:02:07 +00:00
christos
349408700d PR/32572: John Kohl: xdr_rec.c missing a bugfix for an improper security check
The correct way to check for a zero record length is to check for it
without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG
marker with 0 bytes of data.
[This should be pulled up to 3.0]
2006-01-19 16:40:44 +00:00
wiz
208bc3eec1 dd CAVEATS section provided by martin@ with minor cleanup by me. 2006-01-15 16:35:58 +00:00
wiz
3b03818912 Replace statfs(2) with statvfs(2). 2006-01-14 15:40:49 +00:00
elad
ef8e209a99 sync & sort kern. 2006-01-14 15:36:38 +00:00
elad
aa14ddaccd sort vm. 2006-01-14 11:18:45 +00:00
elad
455a40402f sync & sort hw. 2006-01-14 11:14:00 +00:00
elad
742866cafe Sync net.{inet,inet6}. 2006-01-13 21:09:55 +00:00
wiz
04e2e74b7a Use In, improve macro usage, serial comma. 2006-01-12 20:54:08 +00:00
martin
2e1a547276 Cosmetics (pointed out by uwe): use trivial restore, not the explicit
version.
2006-01-08 20:03:19 +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
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