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
elad
e77db80a44
Revert back to revision 1.40, as requested by cube@.
...
Unbreaks KDE.
2005-12-31 12:32:30 +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
uwe
e3ebee56f2
Be consistent about macro indentation.
...
Indent delay slot instructions.
Whitespace changes only, same binary code produced.
2005-12-25 11:08:35 +00:00
perry
ce666bb8ce
__asm__ -> __asm
2005-12-24 23:10:08 +00:00
perry
d5e310b85d
oops. __volatile -> volatile
2005-12-24 21:42:32 +00:00
perry
46359204cf
__inline__ -> inline
2005-12-24 21:42:02 +00:00
perry
f05974f443
__asm__ -> __asm, __volatile__ -> __volatile
2005-12-24 21:41:01 +00:00
perry
4e11af46bc
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 21:11:15 +00:00
elad
0c73d40610
Allow last component to be non-existing again. I broke this behavior for
...
no apparent good reason in revision 1.39.
This is what broke systrace's filename normalization.
Go back to original behavior as in revision 1.35: return resolved name,
but also set errno to ENOENT.
2005-12-22 23:29:23 +00:00
christos
66feb1b71d
move to the common tree.
2005-12-22 01:24:52 +00:00
christos
b2b13a51a4
moved to common.
2005-12-21 00:26:54 +00:00
christos
e5548b402a
Use reach-over sources from common/lib/libc
2005-12-20 19:31:47 +00:00
jmc
4c00a49dad
XXXGCC: Make a local extern for abort and the vax compiler is happy again.
2005-12-13 05:54:50 +00:00
christos
b53fea69d0
Restore the compatibility versions of fts not to do path mangling (i.e.
...
remove double slashes). Also make sure we free sp in all cases. From yamt,
many thanks!
2005-12-11 04:12:58 +00:00
christos
4700123ef3
fix a typo , instead of ; From Johnny Billquist
2005-12-10 04:01:58 +00:00
tshiozak
bb345c8a27
add missing _citrus_MSKanji_stdenc_get_state_desc_generic() function.
...
pointed out by Patrick Welche <prlw1 _at_ newn _dot_ cam _dot_ ac _dot_ uk>
2005-12-07 06:20:20 +00:00
christos
bea4991aaa
Older gcc does not support #ifdef inside macro expansion.
2005-12-04 17:57:25 +00:00
wiz
85f30d09fa
We have 2005.
2005-12-03 21:05:31 +00:00
christos
5e677d36af
match reality
2005-12-03 21:01:53 +00:00
yamt
347f995cea
- constify and remove __UNCONST from caller of clnt_call().
...
- use __UNCONST where approproate.
2005-12-03 15:16:19 +00:00
yamt
748feac977
remove unnecessary __UNCONST.
2005-12-03 15:13:04 +00:00
yamt
4470fd926f
redo the previous (WARNS=4) differently. consitify rather than making
...
strings writable.
2005-12-02 14:45:24 +00:00
yamt
e301b762a1
redo the previous; constify rather than making a string writable.
2005-12-02 14:19:43 +00:00
yamt
a6a060b04b
note that "argv" is not really const.
2005-12-02 14:11:01 +00:00
yamt
9de32b7fa1
don't make internal functions pretend to take a const argument.
2005-12-02 14:08:51 +00:00