Commit Graph

10545 Commits

Author SHA1 Message Date
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
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
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
perry
0db47b5ca1 bare asm -> __asm 2005-12-24 21:51:51 +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
8b7a2f14e9 __asm__ -> __asm 2005-12-24 21:38:40 +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
349633b5fa make setuserenv and setuserpath take an environment setting function and
an environment pointer and expose them.
bump version.
2005-12-20 21:32:20 +00:00
christos
e5548b402a Use reach-over sources from common/lib/libc 2005-12-20 19:31:47 +00:00
jmc
06b42f5e66 Redo previous rework to generate yacc/lex output again and remove generated
copies from the import as they don't compile clean across all archs.
2005-12-16 16:25:07 +00:00
jmc
a2899ef21e Don't yacc/lex here as dist includes generated copies already and depending
on timestamps it's possible for gcc2 on vax to get confused on which .h
to use.
2005-12-15 04:27:32 +00:00
wiz
c23b1a74bb Fix sign extension broken by previous. dillo hacked here too. 2005-12-14 17:35:40 +00:00
christos
d7e5caf4fd include libc after our own files to fix ports that have 2 assym.h's. One
in pthread and one in libc.
2005-12-13 22:07:20 +00:00
martin
e35adea403 Fix wrong buffer size calculation. From Henning Petersen in PR lib/32291. 2005-12-13 12:59:48 +00:00
martin
c236b4a2eb Sync sparc64 compile time options with the pkgsrc version. 2005-12-13 09:52:20 +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
684eb06cd8 fix non-portable right shifts. 2005-12-05 02:09:17 +00:00
christos
aca238f770 fix lint warning (assignment in conditional context) 2005-12-05 02:07:07 +00:00
christos
44fad74b6a - Pass lint.
- Fix signness problems that confused error detection.
- Avoid possible buffer overflow.
2005-12-05 02:04:16 +00:00
christos
d018c18c52 ansify. 2005-12-05 01:50:28 +00:00
manu
a5b1c92448 Add NAT ports to SAD in setkey so that NAT SAD entries generated by
racoon can be removed by hand.
2005-12-04 20:46:40 +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