Commit Graph

217992 Commits

Author SHA1 Message Date
christos 32c6bb3802 Allow linted comments to take an argument that defines which error to suppress. 2013-04-19 17:43:05 +00:00
matt 7d19b890df Since earm is new, don't bother building the compat libc code since there
is nothing that can use it.
2013-04-19 16:53:18 +00:00
matt a1629854ac Ignore VFP bit in magic. 2013-04-19 16:50:22 +00:00
joerg 386426dedd If __FLT_EVAL_METHOD__ exists and is in {0,1,2}, provide float_t and
double_t.
2013-04-19 16:40:59 +00:00
joerg 2561b63430 Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.
2013-04-19 15:22:24 +00:00
joerg 3c1c8515c7 Add MB_CUR_MAX_L. 2013-04-19 14:35:31 +00:00
isaki 397d02332b Implement a hyperbolic arctangent (FATANH). 2013-04-19 14:05:12 +00:00
isaki b9e60bfea4 Implement inverse trigonometric functions (i.e., FACOS, FASIN, FATAN
instructions).
o arccos is calculated using arcsin.
o arcsin is calculated using arctan.
o arctan is calculated by the CORDIC.
2013-04-19 13:57:52 +00:00
matt 92551f8725 A small optimization 2013-04-19 13:45:45 +00:00
isaki b64bbce367 Introduce the CORDIC algorithm.
o sine and cosine (e.g., FSIN, FCOS and FSINCOS instructions) is now
  calculated in the CORDIC instead of Taylor expansion.
o tangent (FTAN) is not touched from a viewpoint of the code size.
o The CORDIC is applicable for hyperbolic functions (e.g., FSINH,
  FCOSH, FTANH instructions), but I didn't use it because its working
  range is poor.
o The CORDIC is also usable for inverse trigonometric functions,
  I will commit it at next phase.
o The code size becomes a bit big.  I cannot evaluate speed on m68k
  for some reasons, but in test on i386 the CORDIC is approximately
  100 times faster in sin/cos.
2013-04-19 13:31:11 +00:00
skrll 5ea8d4cfd1 Actually fail if the magic number is found to be wrong in __longjmp.
Avoid overwriting the {,_}longjmp return value in __ARM_EABI__

ok matt@
2013-04-19 13:14:10 +00:00
joerg 0feb0f126e Pass locale down to gethex as well. 2013-04-19 10:41:53 +00:00
skrll 2d688776a6 Fix logic inversion. 2013-04-19 05:36:16 +00:00
msaitoh e016df2794 wm(4): Add support for I210 and I211. 2013-04-19 00:42:53 +00:00
msaitoh 423398df04 Add I21[01]. 2013-04-19 00:40:59 +00:00
joerg 10e0e4a06b Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.
2013-04-18 23:24:26 +00:00
joerg 9a7fa6ff3c Add wcstof_l, wcstod_l and wcstold_l. 2013-04-18 22:23:17 +00:00
joerg ceb51ddcad Add mblen_l, mbstowcs_l, wctomb_l, mbtowc_l and wcstombs_l. 2013-04-18 22:22:20 +00:00
joerg c99aac45e5 Add strtof_l, strtod_l and strtold_l. 2013-04-18 21:54:10 +00:00
rjs f4b203ed51 Fix build when MKDEBUG=yes and MKRUMP=no. 2013-04-18 21:53:55 +00:00
macallan b762205fe6 support OpenPIC variant found in PowerMac G5s
from Phileas Fogg
2013-04-18 16:42:46 +00:00
joerg ddb0cef57c Override localeconv_l as well, when providing an alternative
implementation of localeconv.
2013-04-18 16:25:55 +00:00
isaki cf9a88b6c4 Improve how to use cmp/sub. 2013-04-18 13:40:25 +00:00
msaitoh bed482c44e Add support I21[01]. Only tested with my own I210-T1 Ethernet Server Adapter. 2013-04-18 12:42:03 +00:00
msaitoh 80597ffa8f regen. 2013-04-18 12:36:26 +00:00
msaitoh 9753067c72 Fix cut & paste bug in some I210 series. 2013-04-18 12:35:57 +00:00
skrll 9fae83b3c1 Fix up arm*-*-netbsdelf-*eabi*) targets.
Remove all (most?) of the softfloat functions as they clash with the
libc versions. Also stop using t-bpapi as it adds stuff that's also in
libc. Bring in the parts of t-bpapi that we do want.

Discussed with matt@
2013-04-18 09:11:13 +00:00
skrll 3aad465ab1 Use --with-{mpc,mpfr,gmp}-{lib,include} to avoid the LIBISPRIVATE=no
dance in mknative and avoid poluting the DESTDIR.

Update the README to reflect this.
2013-04-18 05:20:00 +00:00
msaitoh ac8e0163a8 regen. 2013-04-18 02:55:17 +00:00
msaitoh 85b8779892 Add Intel I21[0178] Ethernet. 2013-04-18 02:54:49 +00:00
khorben c06740deca Fixed the arguments order when calling intr_establish(): the interrupt
type and level were erroneously swapped.
2013-04-18 02:08:11 +00:00
khorben 587ad1e1f9 Also support interrupts of type IST_EDGE_BOTH; tested on a Nokia N900 (OMAP3). 2013-04-18 01:33:18 +00:00
joerg 6ffcdd8d70 Add localeconv_l. 2013-04-17 20:40:13 +00:00
bouyer 5303612fb7 Configure the right pads for non-0 modules. 2013-04-17 20:29:16 +00:00
bouyer db8feb8e08 Implement interrupt-driven transfers 2013-04-17 20:16:53 +00:00
reinoud 082073ae8b Enable VCONS_DRAW_INTR speeding up the graphic console of the RPi
significantly!
2013-04-17 19:04:19 +00:00
christos b3e96d6652 PR/47747: Thorsten Brehm: TCP-based RPC client calls no longer terminate when
connections break. Return proper error code.
XXX: pullup 6
2013-04-17 16:36:47 +00:00
bouyer 02da0c7227 Add a driver for the control module found in TI Sitara SoCs.
This module controls the pad multiplexor (e.g. is a pad connected to
the GPIO module or the I2C module) and some timing aspects; it
also provides some specific information, like MAC address.
From FreeBSD
2013-04-17 15:04:39 +00:00
christos 16ccb1669c handle timeouts like before. 2013-04-17 14:39:40 +00:00
bouyer cbd457774c Add sitaracm0 for the control module, tiiic0 for the I2C0 module and
seeprom for the on-board eeprom.
2013-04-17 14:38:04 +00:00
bouyer d0b497df9b Ask the sitaracm module for the ethernet interface, instead of mapping the
control module registers locally
2013-04-17 14:36:34 +00:00
bouyer 4980d5d743 Add sitaracm as required modules for TI_AM335X 2013-04-17 14:35:34 +00:00
bouyer 871529a02f Glue new drivers sitaracm and tiiic 2013-04-17 14:34:02 +00:00
bouyer 3a9336e624 A driver for I2C modules found in TI Sitara SoCs. Should also work
for some OMAP4 CPUs with little work.
2013-04-17 14:33:06 +00:00
bouyer 654699b334 Add a driver for the control module found in TI Sitara SoCs.
This module controls the pad multiplexor (e.g. is a pad connected to
the GPIO module or the I2C module) and some timing aspects; it
also provides some specific information, like MAC address.
From FreeBSD
2013-04-17 14:31:02 +00:00
macallan bbd4cb91c8 support Shasta
from Phileas Fogg
2013-04-17 12:25:15 +00:00
jakllsch 305bcb916e Also print port multiplier port number when register accesses fail. 2013-04-17 12:22:43 +00:00
skrll 0869f9f1e8 Initial commit of earmeb gdb mknative output. 2013-04-17 10:12:26 +00:00
joerg 58520523b5 White space 2013-04-17 09:07:32 +00:00
skrll afebf55114 Initial run of gcc mknative for earmeb 2013-04-17 08:55:12 +00:00