christos
bcb5ce2065
Fix emulation issue of SETVAL, and make the code look the same between the
...
two different versions.
2011-01-31 22:51:39 +00:00
christos
2d5180b4b9
add braces, per joerg.
2011-01-31 19:10:18 +00:00
christos
984dfe5f9f
bump down the recursion limit to 64.
2011-01-31 15:07:29 +00:00
christos
0f6e9a96aa
Limit recursions to avoid DoS attacks from Maksymilian Arciemowicz
2011-01-31 04:20:50 +00:00
matt
0536d96d78
Fix type sigtramp_t -> sigtramp_2
2011-01-29 22:58:47 +00:00
matt
2599cc89ba
Don't use r0 to restore LR, use r7 instead.
2011-01-29 02:21:20 +00:00
njoly
5488d3a23f
Add section 3 for getpwuid_r xref.
2011-01-26 22:00:45 +00:00
pooka
5f7e80a834
Add support for the Extensible MIPS ("eMIPS") platform. The
...
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.
eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing. eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.
NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman. Microsoft Corporation has
donated full copyright to The NetBSD Foundation.
Platform support for eMIPS is the first part of Microsoft's
contribution. The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
matt
787e823fd1
Move IDs into .ident
...
Use END(x)
Remove a.out support
Make CERROR hidden
2011-01-25 02:38:15 +00:00
njoly
7ef8fa728e
Redo Vt macro fixes (from r1.35) which were lost.
2011-01-24 19:37:35 +00:00
joerg
86b3b196ed
Correctly define inta using a helper macro for the #
2011-01-23 14:08:53 +00:00
matt
5ae5f9ae2e
Instead of testing for all mips variants, just use MACHINE_CPU.
2011-01-23 06:27:32 +00:00
christos
5b63bdc2ba
remove stray printf.
2011-01-22 16:24:44 +00:00
christos
f98fcbb075
add may alias attribute to the double union because gcc-4.5.x produces
...
incorrect code on ARMv7a. From Nikunj Badjatya and Amol Pise.
2011-01-21 23:36:49 +00:00
christos
e6d36a6ae6
prevent resource DoS from brace expansion (from Maksymilian Arciemowicz)
2011-01-21 23:30:31 +00:00
matt
0da37b7b85
Remove CPUFLAGS?= since it's no longer needed.
2011-01-20 18:41:39 +00:00
christos
b493b4d721
provide a _sys_getcwd() entry like all the rest of the system calls to be
...
used by SSP.
2011-01-20 02:57:00 +00:00
matt
8ef507a844
Fix some bugs introduced when switching to new GOT/PLT format.
2011-01-19 02:47:01 +00:00
matt
57d93d8715
Cleanup the o32 compat build test.
2011-01-18 08:12:05 +00:00
matt
dfe29b1db4
Change to deal with callframe changes
2011-01-18 01:23:24 +00:00
matt
bd081d44b9
Make the MIPS N32/N64 ABIs properly support 128-bit long doubles. With this
...
change, we should be fully conformant with the N32 and N64 ABIs.
Add {fpclassify,infinity,isnan,ininf,signbit}l_ieee754.c back to lib/libc/gen.
Note that infinityl_ieee754.c will work with either 64-bit, 80-bit, or
128-bit long doubles.
2011-01-17 23:53:03 +00:00
matt
7d92b19968
Make __cerror hidden.
2011-01-17 23:34:44 +00:00
matt
e4100763e4
cleanup format of #ifdef
2011-01-17 23:32:31 +00:00
matt
50078c4d66
Add long double functions for eq,ne,gt,le,ge,lt,neg ops.
2011-01-17 10:08:35 +00:00
matt
51db1c5cf3
Kill _NOREGNAMES. Everything should be using %rX now. If it doesn't it
...
soon will.
2011-01-17 08:23:53 +00:00
matt
36cd488617
align comments
2011-01-16 02:45:48 +00:00
matt
b79441d450
Switch to the PIC_GOTSETUP/PIC_TOCSETUP macros for PIC code. Now libc
...
will be built to use secureplt by default.
2011-01-16 02:43:10 +00:00
christos
b163cf8017
Fix reversed oveflow check.
2011-01-15 15:42:10 +00:00
martin
cca650856d
Backout previous, it breaks the build big time and causes e.g. date(1)
...
and top(1) to dump core.
2011-01-15 12:31:56 +00:00
matt
cf88c3890b
Use END(foo) everywhere.
...
Make __cerror hidden.
Use non-PLT calls to __cerror.
Use assym.h when appropriate.
Use addi to adjust stack instead of loading it.
Add __RCSIDs
Force -D_NOREGNAMES for all .S files.
[this is all in preperation for secure plt support]
2011-01-15 07:31:11 +00:00
christos
dd5b7b1566
don't depend on integer oveflow wrapping to detect it. From Paul Eggert in
...
the tz mailing list.
2011-01-14 23:35:07 +00:00
jruoho
b19fbfbfda
Xref strsuftoll(3) and orders(7).
2011-01-14 10:08:57 +00:00
matt
958d64ed82
Generate symbol constants for UC_GREGS_* and CALLFRAME*.
2011-01-14 06:15:27 +00:00
matt
2c2c9e807e
Change __cerror to be marked hidden and change callers to avoid the PLT.
2011-01-14 06:12:16 +00:00
joerg
d3a052c472
Allow use of traditional CPP to be set on a per platform base in sys.mk.
...
Honour this for dependency processing in bsd.dep.mk. Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.
2011-01-12 23:12:10 +00:00
christos
880fe46bea
remove clauses 3/4
2011-01-10 16:42:36 +00:00
wiz
e348791317
Sort errors, fix xref, don't xref itself.
2011-01-10 06:26:30 +00:00
christos
c5aa3a8776
add sigqueue
2011-01-10 04:41:27 +00:00
christos
221dcf2e47
Since localsub and gmtsub are called recursively to search for the local
...
time, setting EOVERFLOW at the inmost level will unfortunately persist,
even if later calls to those functions succeed. Move the EOVERFLOW setting
to the top level calls.
2011-01-06 02:41:34 +00:00
wiz
aff1729a2c
Fix fdleak in error case. Found by cppcheck.
2011-01-05 00:09:43 +00:00
wiz
e97508602c
Fix fdleak in #ifdef DEBUG. Found by cppcheck.
2011-01-05 00:03:52 +00:00
martin
27868e15e9
Special-case the (unlikely in practice) call with len = 2 - previously
...
the code would not have swapped anything. Problem pointed out by
sparc64 automatic test run.
2011-01-04 17:14:07 +00:00
christos
61a5737280
off by one
2010-12-28 16:19:25 +00:00
jnemeth
fd52cff654
vsnprintf_ss does NOT handle floating point formats
2010-12-26 12:39:54 +00:00
wiz
207ab8d006
Add punctuation.
2010-12-22 17:06:03 +00:00
christos
92a95e7ba4
document vsnprintf_ss
2010-12-22 16:59:10 +00:00
wiz
817bb39979
Remove trailing whitespace; sort errors; spell "variadic" like
...
Wikipedia or GNU libc.
2010-12-19 22:19:27 +00:00
christos
4d653f4318
Make the ioctl prototype reflect reality and explain why. Also mention that
...
the generic file descriptor manipulation ioctls are superceded by the
equivalent fcntl one.
2010-12-19 16:54:10 +00:00
jruoho
5c9efd7bb1
Xref __builtin_return_address(3).
2010-12-19 09:33:52 +00:00
jruoho
a20c806d96
Small modifications to wording, tidy up SEE ALSO.
2010-12-19 08:28:40 +00:00