joerg
8886a873b8
Support SH3 in our unwinder.
2014-04-02 22:34:29 +00:00
joerg
8d85521c7b
SH3 uses unaligned data in the .eh_frame section, so use memcpy.
2014-04-02 22:22:37 +00:00
jakllsch
edd6a404ba
Obtain and/or use ETHER_ADDR_LEN.
2014-03-29 14:30:16 +00:00
jakllsch
836038fc64
Use ETHER_ADDR_LEN more.
2014-03-29 14:25:10 +00:00
jakllsch
2f39df062c
Obtain and use ETHER_ADDR_LEN where appropriate.
...
Drop unnecessary includes.
XXX libsa ether_sprintf() should maybe be ether_snprintf.
2014-03-29 14:20:14 +00:00
christos
54ec44dad1
Remove {v,}sprintf
2014-03-26 18:02:24 +00:00
joerg
dd0e21086c
Save & restore FP registers.
2014-03-25 00:00:55 +00:00
joerg
0378fc4757
Add m68k support to our unwinder.
2014-03-24 21:25:03 +00:00
hkenken
0f26c1cc74
for LIBSA_PRINTF_WIDTH_SUPPORT,
...
Fix right and left-adjusting padding.
2014-03-22 02:51:44 +00:00
christos
c1ae06abab
kill sprintf
2014-03-20 20:42:08 +00:00
christos
3946297f1a
new header.
2014-03-20 03:13:31 +00:00
christos
303a695e1b
reduce size by 1K by sharing the ls code.
2014-03-20 03:13:18 +00:00
joerg
1fad0e91e1
Fix DW_CFA_GNU_args_size handling. The primary architecture using this
...
opcode is VAX. A function call pushes the number of arguments given onto
the stack and "ret" will pop it automatically. The FDE of the caller
contains the amount of stack space used for arguments (and possibly
extra padding), so unwinding has to compensate for this when "returning"
from a function. This is exactly the case when step() is done. The
existing handling in _Unwind_SetIP no longer makes sense.
2014-03-20 01:35:45 +00:00
joerg
9a7eb6d5aa
Drop XXX, spell R14 as SP.
2014-03-19 21:15:45 +00:00
joerg
0498752769
Allow building with GCC 4.1 by providing <cstdint>
2014-03-19 16:46:23 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
joerg
c9aa4ad46c
Add basic unwind support for VAX. PSW handling and stack pointer after
...
resume is still incomplete.
2014-03-18 13:08:15 +00:00
pooka
bb154207c8
remove compiler-rt duplicates to fix build
2014-03-13 16:09:11 +00:00
joerg
a5e04a5e0f
Kill one colon that shouldn't be.
2014-03-13 01:50:50 +00:00
joerg
0f0483b305
libstdc++ doesn't like me using <cstdint> without requesting C++11, so
...
just do so.
2014-03-13 00:56:41 +00:00
joerg
d952896fa0
Add _Unwind_GetIPInfo for libstdc++.
2014-03-13 00:28:20 +00:00
joerg
a0318c3f0f
Pass down data_base just in case something actually tries to use it.
2014-03-12 22:50:59 +00:00
joerg
a6d7909bce
Add more const to make GCC happy.
2014-03-12 15:31:55 +00:00
pooka
1ee7f81f1b
Do not include compiler-rt in librump. librump is not a toolchain support
...
library, and toolchain support belongs in the host libc or libgcc or
equivalent entity that is actually supposed to complement the toolchain.
Fixes librump build on (a) Linux ARM (collisions with libgcc)
2014-03-12 00:22:53 +00:00
joerg
b77db904fb
Add a dummy element as explicit padding for PPC32. Fix DWARF enumeration
...
to match the values created by GCC. Fix DWARFish -> index conversion.
2014-03-12 00:01:12 +00:00
joerg
fb33a5654b
Rename IP_PSEUDO_REG to RETURN_REG. Fix PPC value. Sort.
2014-03-11 23:57:42 +00:00
joerg
1b4a81d6d1
GC unused enum.
2014-03-11 23:55:11 +00:00
joerg
499c31d6cd
0 is a valid LSDA encoding and can be seen in statically linked
...
programs. Initialize lsdaEncoding to DW_EH_PE_omit and check for that
value to decide whether a value should be decoded.
2014-03-11 23:52:17 +00:00
nakayama
1b088eaae2
Align explicitly to make kernels compiled by clang generate
...
properly aligned code.
2014-03-07 20:23:09 +00:00
joerg
2ce54a14d1
Provide labs, llabs and imaxabs for kernel use.
2014-02-27 18:05:07 +00:00
joerg
a48c968746
Update compiler-rt glue for the new source layout.
2014-02-26 22:37:55 +00:00
joerg
685add8053
Casting to void is the canonical way of marking a variable as
...
potentially unused.
2014-02-20 00:29:03 +00:00
njoly
9d9871abbe
Revert previous revision. It bkeaks profiling kernel builds.
...
LIBISPRIVATE unconditionnally set MKPROFILE to no, preventing
profiling kernel library.
2014-02-09 12:53:30 +00:00
joerg
720b2586bd
Include compiler-rt in libc, libm and libkern.
2014-01-29 23:37:18 +00:00
joerg
9de82816fc
For ARM EABI, includ divide-by-0 trap handlers.
2014-01-29 22:30:24 +00:00
matt
a11fbefc31
Add support for non-EABI (DWARF) ARM exception handling.
2014-01-29 06:59:53 +00:00
joerg
329758262f
This is not libc, so don't check the libc arch macro.
2014-01-17 00:49:55 +00:00
joerg
7a05a6aa88
For HAVE_LIBGCC=no, use compiler-rt for quad support.
2014-01-15 21:12:57 +00:00
tsutsui
bb834b97ba
Remove obsolete exec.c for a.out. It was superseded by loadfile() long ago.
2014-01-12 15:19:57 +00:00
jakllsch
d2ad8298ea
Make libsa fsmod string pointer const.
2014-01-05 21:38:25 +00:00
christos
5e0bd251ff
add strncat (for acpi)
2013-12-27 20:25:33 +00:00
jakllsch
cc6c3a11f9
intmax_t might be long long, handle accordingly. from christos
2013-12-24 22:26:21 +00:00
jakllsch
74f35cdadc
Add 'j' format modifier for intmax_t.
2013-12-24 21:41:49 +00:00
joerg
a060b1754e
Fix typo.
2013-12-20 12:46:42 +00:00
pooka
e546a6c273
Allow overriding CTASSERT. This helps with building NetBSD sources with
...
compilers that don't support __COUNTER__ -- shifting the CTASSERTs
around to avoid __LINE__ conflicts is a hopeless struggle.
2013-12-15 21:15:41 +00:00
joerg
aceb213538
Allow kernel code to access constant databases by moving cdbr(3) and the
...
required mi_vector_hash(3) into src/common.
2013-12-11 01:24:08 +00:00
joerg
ab0f68f9e6
libkern build glue for compiler-rt.
2013-12-03 16:15:22 +00:00
lneto
c4a02e0a12
changed lua_Number to int64_t
2013-12-02 04:39:10 +00:00
jakllsch
a88e58194e
Fix a use-after-free (well, dealloc actually) issue.
2013-11-27 17:33:03 +00:00
christos
ff19ecf77c
For the purposes of static analysis, this never returns.
2013-11-19 16:56:21 +00:00