Commit Graph

225809 Commits

Author SHA1 Message Date
martin e5db261cf2 Avoid undefined behaviour (which causes traps on VAX). 2014-03-22 20:36:45 +00:00
dholland 337d73a6f4 tag decl() __noinline, as inlining it would defeat its purpose
(which is to not have interesting string literals appear in the
compiled binary)
2014-03-22 20:07:05 +00:00
tron adbf0b7734 Remove (harmless) debug target committed by accident.
Pointed out by Matthew Green in private e-mail.
2014-03-22 19:52:21 +00:00
jakllsch 2c56941e16 For all i386 string assembly functions that don't overlap use END() so
that symbol size information is available.
2014-03-22 19:38:46 +00:00
jakllsch 6ac3c1f4d7 For all x86_64 string assembly functions that don't overlap (i.e. every
one except memset and bzero) use END() so that symbol size information
is available.
2014-03-22 19:16:34 +00:00
dholland 9628f4097a Revert part of previous -r1.21 and fix the errno-handling bug instead. 2014-03-22 19:05:30 +00:00
dholland a94f7f4574 move extern decls to .h files 2014-03-22 18:58:57 +00:00
jakllsch 035a7c5fd0 drop trailing whitespace 2014-03-22 18:54:28 +00:00
tron 0bb5c0ea6c Fix build with "HAVE_GCC=48" and "USE_SSP=yes". 2014-03-22 17:57:47 +00:00
reinoud 7b9b4247ee Add constant for a reserved bit 31 for the L2C_AUXCTL register for use in
masks
2014-03-22 17:12:20 +00:00
tsutsui 7f18e221b3 Remove obsolete ssir stuff which was used for pre-5.0 softintr(9). 2014-03-22 16:52:07 +00:00
reinoud 4f5cd31658 Add defines for the PL310's L2C_PREFETCH_CTL and L2C_POWER_CTL registers as
per r3p2 spec.
2014-03-22 16:39:20 +00:00
prlw1 33609e8501 DIOCGDISKINFO support for vnd
Reviewed by apb@ and christos@
2014-03-22 16:08:51 +00:00
tsutsui eac45b2062 Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC.
(though the previous revision has not been tested on 040/060 yet)
2014-03-22 15:59:07 +00:00
matt a1f21652d9 Make sure r1 is preserved _rtld_bind_start. 2014-03-22 15:13:10 +00:00
njoly 7c7fa700e5 Add a few xorg lint libraries. 2014-03-22 13:40:55 +00:00
wiz 6b491007ea New sentence, new line; slight wording improvements. 2014-03-22 11:35:03 +00:00
skrll ddb1dc4a8e Bump date for previous 2014-03-22 11:25:54 +00:00
skrll 532f35877f Add mtsleep(9) and a description of how it, tsleep(9), and wakeup(9)
should all be replaced with condvar(9).

While here clear out the lock(9) reference(s) and the obsoleted example.

Based on misc/48671
2014-03-22 11:24:35 +00:00
hkenken e2cf8b4e39 Fix SDHC clocks. 2014-03-22 09:46:33 +00:00
hkenken 5f3c2fa27e Add SPI driver.
i.MX51 have two eCSPI, and one CSPI.
2014-03-22 09:28:08 +00:00
maxv 2632b9d940 Fix a potential - but very unlikely - NULL pointer dereference.
(it does not introduce a new error code for open(), since
 pathbuf_copyin() is already there and can return ENOMEM)

Found by my code scanner.
2014-03-22 08:15:25 +00:00
skrll 05d6b677c6 Remove reference to simplelock 2014-03-22 07:49:06 +00:00
maxv 2898b430e9 'newrt' is not supposed to be NULL. Therefore, the NULL-check in the if()
is pointless; and even if 'newrt' were NULL, 'rt' would be dereferenced
later. This is not a bug.

CID 270855

ok christos@
2014-03-22 07:46:35 +00:00
maxv d8a274dfb9 Small changes:
- rename elf_load_file() to elf_load_interp()
 - use the correct type for 'nused'
 - remove useless cases
 - reorder a kmem_alloc

ok christos@
2014-03-22 07:27:21 +00:00
hkenken ec32498d61 * GPIO interrupts of i.MX5 are divided into two groups.
add IMX_GPIO_INTR_SPLIT option
* Support GPIO both edge trigger interrupt.
2014-03-22 05:19:18 +00:00
hkenken 47143f5cf3 add Watchdog Timer support for i.MX51. 2014-03-22 04:55:00 +00:00
hkenken 0f26c1cc74 for LIBSA_PRINTF_WIDTH_SUPPORT,
Fix right and left-adjusting padding.
2014-03-22 02:51:44 +00:00
christos 889cc98cdc kill sprintf
fix unused variables
2014-03-22 01:52:44 +00:00
roy b7fc208426 Crank up the warnings and fortify the build. 2014-03-22 00:04:51 +00:00
dholland c93eb026cf remove sys/simplelock.h (straggler) 2014-03-21 22:18:57 +00:00
dholland 9e949733b6 spelling in comments 2014-03-21 22:00:00 +00:00
joerg b204cbfda6 For HAVE_LIBGCC_EH=no, skip libgcc's unwind code. 2014-03-21 20:54:13 +00:00
riastradh 677325c920 Build xf86drmMode.c into libdrm. 2014-03-21 18:14:20 +00:00
christos 74758fe57e Ilya Zykov: Prepare readdir for multi-mountpoint use 2014-03-21 17:21:53 +00:00
christos ad99e7817d bump libssl 2014-03-21 17:00:18 +00:00
christos 6c197e6572 bump for previous 2014-03-21 16:59:14 +00:00
tsutsui 8e58ff0f9c Replace tsleep(9)/wakeup(9) with condvar(9) as practice.
Also replace malloc(9) with kmem_alloc(9).
Pevent more possible races.

Tested on both console and Xserver on X68030.
2014-03-21 16:58:54 +00:00
christos 41d04b789e kill sprintf 2014-03-21 16:41:15 +00:00
christos 977edcc000 gc sprintf; reduce local static usage of interrupt strings that are only
used once for autoconf printing.
2014-03-21 16:39:29 +00:00
pooka 3f0878753a On glibc systems, issue a warning if LD_DYNAMIC_WEAK is not 2014-03-21 16:26:30 +00:00
pooka 0ab0c8a502 fix name of HAVE_PTHREAD_SETNAME_3 2014-03-21 16:03:35 +00:00
pooka fe7fe5876f fix braces 2014-03-21 16:03:07 +00:00
matt e26b436cdb Simplify. If we got called via a calls $n, *pcrel32, instead of constructing
a new stack frame, back up the PC by 7 and return back to the calls so it
will be reinvoked.  (This is by far the most common way it gets invoked).
Otherwise rebuild a new callframe and jump to the routine.
2014-03-21 14:03:30 +00:00
wiz ba2e1ecb62 Fix simplelock entry. 2014-03-21 13:30:39 +00:00
wiz 035466f565 Add d1_meth.c to build to fix problems with missing symbol DTLSv1_method.
Addresses asterisk build problems, idea for fix from martin.
2014-03-21 13:07:57 +00:00
skrll 578df093bc Actually delete simplelock.h 2014-03-21 13:05:00 +00:00
martin 2f7cf5b01f Add libpthread-stubs_g.a 2014-03-21 12:30:00 +00:00
pooka bc215c110d use a probe result to decide which pthread_setname_np() to use 2014-03-21 12:28:54 +00:00
pooka fa5f7ef47e set threadname for correct pthread_t 2014-03-21 12:07:10 +00:00