Searched hist:37 (Results 176 - 200 of 673) sorted by relevance

1234567891011>>

/seL4-refos-master/libs/libmuslc/arch/x86_64/bits/
H A Dlimits.hdiff 8894947b Tue Feb 15 17:16:37 MST 2011 Rich Felker <dalias@aerifal.cx> protect some limit constants with feature test macros on x86_64
/seL4-refos-master/libs/libmuslc/arch/x86_64/
H A Dksigaction.h54991729 Sat Nov 12 17:43:37 MST 2016 Rich Felker <dalias@aerifal.cx> work around gdb issues recognizing sigreturn trampoline on x86_64

gdb can only backtrace/unwind across signal handlers if it recognizes
the sa_restorer trampoline. for x86_64, gdb first attempts to
determine the symbol name for the function in which the program
counter resides and match it against "__restore_rt". if no name can be
found (e.g. in the case of a stripped binary), the exact instruction
sequence is matched instead.

when matching the function name, however, gdb's unwind code wrongly
considers the interval [sym,sym+size] rather than [sym,sym+size).
thus, if __restore_rt begins immediately after another function, gdb
wrongly identifies pc as lying within the previous adjacent function.
this patch adds a nop before __restore_rt to preclude that
possibility. it also removes the symbol name __restore and replaces it
with a macro since the stability of whether gdb identifies the
function as __restore_rt or __restore is not clear.

for the no-symbols case, the instruction sequence is changed to use
%rax rather than %eax to match what gdb expects.

based on patch by Szabolcs Nagy, with extended description and
corresponding x32 changes added.
/seL4-refos-master/libs/libmuslc/arch/x86_64_sel4/bits/
H A Dlimits.hdiff 8894947b Tue Feb 15 17:16:37 MST 2011 Rich Felker <dalias@aerifal.cx> protect some limit constants with feature test macros on x86_64
/seL4-refos-master/libs/libmuslc/arch/x86_64_sel4/
H A Dksigaction.h54991729 Sat Nov 12 17:43:37 MST 2016 Rich Felker <dalias@aerifal.cx> work around gdb issues recognizing sigreturn trampoline on x86_64

gdb can only backtrace/unwind across signal handlers if it recognizes
the sa_restorer trampoline. for x86_64, gdb first attempts to
determine the symbol name for the function in which the program
counter resides and match it against "__restore_rt". if no name can be
found (e.g. in the case of a stripped binary), the exact instruction
sequence is matched instead.

when matching the function name, however, gdb's unwind code wrongly
considers the interval [sym,sym+size] rather than [sym,sym+size).
thus, if __restore_rt begins immediately after another function, gdb
wrongly identifies pc as lying within the previous adjacent function.
this patch adds a nop before __restore_rt to preclude that
possibility. it also removes the symbol name __restore and replaces it
with a macro since the stability of whether gdb identifies the
function as __restore_rt or __restore is not clear.

for the no-symbols case, the instruction sequence is changed to use
%rax rather than %eax to match what gdb expects.

based on patch by Szabolcs Nagy, with extended description and
corresponding x32 changes added.
/seL4-refos-master/libs/libmuslc/include/
H A Dbyteswap.hdiff 07ec81e4 Sun Dec 20 21:18:37 MST 2015 Stephen Sherratt <Stephen.Sherratt@nicta.com.au> Adding parenthesis around bitwise operations in byteswap.h
H A Dcrypt.hcdf51506 Thu Jun 28 22:56:37 MDT 2012 Rich Felker <dalias@aerifal.cx> replace old and ugly crypt implementation

the new version is largely the work of Solar Designer, with minor
changes for integration with musl. compared to the old code, text size
is reduced by about 7k, stack space usage by about 70k, and
performance is greatly improved by avoiding expensive calculation of
constant tables on each run.

this version also adds support for extended des-based password hashes,
which allow for unlimited key (password) length and configurable
iteration counts.

i've also published the interface for crypt_r in a new crypt.h header.
especially since this is not a standard interface, i did not feel
compelled to match the glibc abi for the crypt_data structure. the
glibc structure is way too big to allocate on the stack; in fact it's
so big that the first usage may cause the main thread to exceed its
pre-committed stack size of 128k and thus could cause the program to
crash even on systems with overcommit disabled. the only legitimate
use of crypt_data for crypt_r is to store the hash string to return,
so i've reserved 256 bytes, which should be more than sufficient
(longest known password hashes are ~60 characters, and beyond that is
possibly even exceeding some implementations' passwd file field size
limit).
H A Dthreads.hdiff 2ed4e9d9 Thu Oct 20 15:04:37 MDT 2016 Rich Felker <dalias@aerifal.cx> remove parameter names from public headers

inclusion of these names was unintentional and in most cases is a
namespace violation. Daniel Sabogal tracked down and reported these.
/seL4-refos-master/libs/libmuslc/src/errno/
H A D__strerror.hdiff 9d2a15a6 Mon Apr 16 16:37:53 MDT 2012 Rich Felker <dalias@aerifal.cx> better description for errno==0
/seL4-refos-master/libs/libmuslc/src/internal/
H A Dfloatscan.hdiff 2162541f Tue Apr 10 19:47:37 MDT 2012 Rich Felker <dalias@aerifal.cx> add "scan helper getc" and rework strtod, etc. to use it

the immediate benefit is a significant debloating of the float parsing
code by moving the responsibility for keeping track of the number of
characters read to a different module.

by linking shgetc with the stdio buffer logic, counting logic is
defered to buffer refill time, keeping the calls to shgetc fast and
light.

in the future, shgetc will also be useful for integrating the new
float code with scanf, which needs to not only count the characters
consumed, but also limit the number of characters read based on field
width specifiers.

shgetc may also become a useful tool for simplifying the integer
parsing code.
/seL4-refos-master/libs/libmuslc/src/linux/
H A Dsysinfo.cdiff de20a8ff Tue Apr 15 16:16:37 MDT 2014 Rich Felker <dalias@aerifal.cx> add namespace-protected name for sysinfo function

it will be needed to implement some things in sysconf, and the syscall
can't easily be used directly because the x32 syscall uses the wrong
structure layout. the l (uncreative, for "linux") prefix is used since
the symbol name __sysinfo is already taken for AT_SYSINFO from the aux
vector.

the way the x32 override of this function works is also changed to be
simpler and avoid the useless jump instruction.
/seL4-refos-master/libs/libmuslc/src/locale/
H A Dstrfmon.c25501c10 Tue Mar 20 22:47:37 MDT 2012 Rich Felker <dalias@aerifal.cx> initial, very primitive strfmon
/seL4-refos-master/libs/libmuslc/src/math/
H A Dexp10l.cdiff a917c037 Mon Apr 30 22:07:37 MDT 2012 Rich Felker <dalias@aerifal.cx> support alternate glibc name pow10 for exp10
H A Dhypotl.cdiff c2a0dfea Tue Sep 03 08:37:48 MDT 2013 Szabolcs Nagy <nsz@port70.net> math: rewrite hypot

method: if there is a large difference between the scale of x and y
then the larger magnitude dominates, otherwise reduce x,y so the
argument of sqrt (x*x+y*y) does not overflow or underflow and calculate
the argument precisely using exact multiplication. If the argument
has less error than 1/sqrt(2) ~ 0.7 ulp, then the result has less error
than 1 ulp in nearest rounding mode.

the original fdlibm method was the same, except it used bit hacks
instead of dekker-veltkamp algorithm, which is problematic for long
double where different representations are supported. (the new hypot
and hypotl code should be smaller and faster on 32bit cpu archs with
fast fpu), the new code behaves differently in non-nearest rounding,
but the error should be still less than 2ulps.

ld80 and ld128 are supported
/seL4-refos-master/libs/libmuslc/src/search/
H A Dhsearch.cdiff fe1ba7db Tue Mar 25 10:37:51 MDT 2014 sin <sin@2f30.org> implement hcreate_r, hdestroy_r and hsearch_r

the size and alignment of struct hsearch_data are matched to the glibc
definition for binary compatibility. the members of the structure do
not match, which should not be a problem as long as applications
correctly treat the structure as opaque.

unlike the glibc implementation, this version of hcreate_r does not
require the caller to zero-fill the structure before use.
/seL4-refos-master/libs/libmuslc/src/signal/x32/
H A Drestore.sdiff 54991729 Sat Nov 12 17:43:37 MST 2016 Rich Felker <dalias@aerifal.cx> work around gdb issues recognizing sigreturn trampoline on x86_64

gdb can only backtrace/unwind across signal handlers if it recognizes
the sa_restorer trampoline. for x86_64, gdb first attempts to
determine the symbol name for the function in which the program
counter resides and match it against "__restore_rt". if no name can be
found (e.g. in the case of a stripped binary), the exact instruction
sequence is matched instead.

when matching the function name, however, gdb's unwind code wrongly
considers the interval [sym,sym+size] rather than [sym,sym+size).
thus, if __restore_rt begins immediately after another function, gdb
wrongly identifies pc as lying within the previous adjacent function.
this patch adds a nop before __restore_rt to preclude that
possibility. it also removes the symbol name __restore and replaces it
with a macro since the stability of whether gdb identifies the
function as __restore_rt or __restore is not clear.

for the no-symbols case, the instruction sequence is changed to use
%rax rather than %eax to match what gdb expects.

based on patch by Szabolcs Nagy, with extended description and
corresponding x32 changes added.
/seL4-refos-master/libs/libmuslc/src/thread/powerpc/
H A Dclone.sdiff be999f7a Mon Apr 25 17:37:06 MDT 2016 Rich Felker <dalias@aerifal.cx> fix thread structure/dtv-pointer corruption on powerpc

per the powerpc psabi, offset 4 of the stack at call time belongs to
the callee and is used for spilling lr (return address). in addition,
offset 0 on the stack must contain a pointer to the previous stack
frame, or a null pointer for the initial stack frame of a thread.
__clone failed to setup any stack frame on the new thread's stack,
thereby allowing the start function it called to clobber offset 4 of
the new thread's struct __pthread, which contains the dtv pointer.

add code to setup a proper stack frame and align the stack pointer to
a multiple of 16 (also an abi requirement) if it was not already
aligned.
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dpthread_spin_lock.cdiff afbcac68 Wed Apr 22 01:24:37 MDT 2015 Rich Felker <dalias@aerifal.cx> minor optimization to pthread_spin_trylock

use CAS instead of swap since it's lighter for most archs, and keep
EBUSY in the lock value so that the old value obtained by CAS can be
used directly as the return value for pthread_spin_trylock.
/seL4-refos-master/libs/libmuslc/src/time/
H A D__asctime.cdiff 6399fa9d Thu Jul 07 14:51:37 MDT 2016 Rich Felker <dalias@aerifal.cx> fix asctime day/month names not to vary by locale

the FIXME comment here was overlooked at the time locale support was
added.
/seL4-refos-master/libs/libplatsupport/include/platsupport/
H A Dtimer.hdiff fff76a36 Wed Jul 26 18:37:30 MDT 2017 Anna Lyons <Anna.Lyons@data61.csiro.au> trivial: yet another missing include
/seL4-refos-master/libs/libplatsupport/plat_include/pc99/platsupport/plat/acpi/
H A Dacpi.hdiff 5a2ed916 Mon Dec 11 06:37:12 MST 2017 adamf <a.felizzi@student.unsw.edu.au> libplatsupport: Modifications to RSDP parsing

Moved the parsing of the RSDP out of the table parsing procedure,
(_acpi_parse_tables). If the RSDP is not provided for ACPI
initialization, it will be searched for in the BIOS segment.
Modified the acpi_t struct to store the whole
RSDP object rather than the physical address of the object.
/seL4-refos-master/libs/libplatsupport/plat_include/tk1/platsupport/plat/
H A Dclock.hdiff 0b442fa6 Sun Jan 29 22:37:35 MST 2017 Kent McLeod <Kent.Mcleod@data61.csiro.au> libplatsupport: Add tk1 clkar register layout

tk1 has a single clock and reset controller that controls all clocks and
reset lines for the SOC. This commit adds support mainly for taking a
fault on an address in the device frame and then looking up relevant
register info.
/seL4-refos-master/libs/libplatsupport/src/arch/arm/
H A Ddma330.cdiff 9deb65ea Wed May 31 23:37:45 MDT 2017 Kent McLeod <Kent.Mcleod@data61.csiro.au> Change 1 << * to BIT(*) in some cases
/seL4-refos-master/libs/libplatsupport/src/mach/exynos/
H A Dpmic.cdiff 9deb65ea Wed May 31 23:37:45 MDT 2017 Kent McLeod <Kent.Mcleod@data61.csiro.au> Change 1 << * to BIT(*) in some cases
/seL4-refos-master/projects/seL4_libs/libsel4vspace/
H A DCMakeLists.txtdbe802b0 Wed Mar 29 23:37:58 MDT 2017 Adrian Danis <Adrian.Danis@data61.csiro.au> Add CMake build rules for various libraries
/seL4-refos-master/projects/util_libs/libplatsupport/include/platsupport/
H A Dtimer.hdiff fff76a36 Wed Jul 26 18:37:30 MDT 2017 Anna Lyons <Anna.Lyons@data61.csiro.au> trivial: yet another missing include

Completed in 210 milliseconds

1234567891011>>