Commit Graph

18372 Commits

Author SHA1 Message Date
roy 72d40e7cf4 Bump libc version for ifaddrs. 2016-09-21 10:54:36 +00:00
roy 45b7bd08f6 Add ifa_addrflags to ifaddrs. 2016-09-21 10:53:24 +00:00
skrll 46ef072377 Fix for [on]{32,64}
/usr/tests/lib/libc/sys/t_getcontext
/usr/tests/lib/libc/sys/t_swapcontext
/usr/tests/lib/libc/sys/t_ucontext
/usr/tests/lib/libpthread/t_swapcontext

All pass now.

Changes amount to

- saving GP from caller in context for n{32,64}
- performing (the equivalient of) PIC_PROLOGUE for swapcontext and
  __resumecontext
- Call setcontext via the PLT in __resumecontext
2016-09-21 06:49:39 +00:00
skrll ed78dc9b59 Trailing whitespace. 2016-09-21 06:41:42 +00:00
christos 939877e98c fix VAX! 2016-09-20 18:25:20 +00:00
christos a4f5c51335 use a define, and cast. 2016-09-20 15:03:07 +00:00
christos 42bfe206ef put back part of the code that determines the smallest of INT_MAX and
SIZE_MAX to avoid llvm truncation warning.
2016-09-20 13:09:08 +00:00
christos 0f266a6ca3 Add the complex trig functions from FreeBSD 2016-09-19 22:05:05 +00:00
christos 5698ccad84 PR/51484: gson@: Fix off by one (wrong merge) 2016-09-19 18:43:23 +00:00
christos 16bd23da7a welcome to tzcond-2016f 2016-09-16 17:12:06 +00:00
joerg 0f37b1b875 gethostbyname_r should die. 2016-09-15 16:23:05 +00:00
njoly 9018f13e85 Fix function name macro. 2016-09-15 07:53:59 +00:00
jakllsch 6b848d5cfa Actually get fma(3) and friends into ARM libm. 2016-09-07 14:41:33 +00:00
martin 832d276ed9 Redo previous by avoiding the casts and using PRIxREGISTER instead 2016-09-06 07:45:41 +00:00
martin cccccd8360 Can not print register_t with %d, cast to long and use %ld instead. 2016-09-06 07:32:39 +00:00
martin a4856ef48c Fix DPRINTF format 2016-09-06 07:12:48 +00:00
dholland 7bd425cccf printf functions should be tagged as printf functions. Noticed by
martin, whose build broke for some reason yet to be determined.
2016-09-05 20:41:59 +00:00
joerg 0f183be635 Bump the glob limits to 512KB for total string size and 64K path
entries. The old limits were too small for some important FTP use cases
like a pkgsrc repository.
2016-09-04 18:27:08 +00:00
mbalmer fc37f15ca1 fix typo 2016-09-01 13:23:44 +00:00
christos d2f713bbd1 don't shortcut closing if the metadata is dirty (from the krb5 tree) 2016-08-31 06:23:51 +00:00
uwe 2bd409d71f ___start is __dso_hidden, so use CALL_DATUM_LOCAL and drop the PIC
prologue from __start.
2016-08-29 21:27:03 +00:00
tnn 523a6b00a9 mention puffs_node_pathconf and puffs_node_advlock 2016-08-29 01:13:56 +00:00
christos a0c7fda095 fix pic code; otherwise we generate text relocations. 2016-08-28 13:50:25 +00:00
wiz 0c9a844188 Merge ENOMEM descriptions. 2016-08-28 05:07:50 +00:00
dholland 880009a06c fix broken xrefs 2016-08-28 00:15:01 +00:00
dholland c959793a57 Rework pursuant to PR 7934: be more clear about the page granularity
behavior and when new memory is zeroed.

Also, strengthen the warning about mixing with calls to malloc (which
is not a bug) and mention that the portable way to fetch the initial
break is to call sbrk(0). There are implementations in the wild where
using _end as the initial break doesn't work.
2016-08-27 23:06:01 +00:00
christos e222705068 Improvements to fgetwln(3) from Andrey Chernov:
1) Set the stdio error indicator on __slbexpand() failure.

2) fgetwc(3) may succeed even when ferror(3) is already set
   (for example, consider a program using SIG_IGN on SIGTTIN,
   reading from the tty while in the background, getting EIO,
   then coming to the foreground and reading again).
   So do not force fgetwln(3) to fail in such a case either.
   (Yes, the program should probably clearerr(3) before
   reading again, but let's be nicer in case it forgets.)
2016-08-27 13:15:48 +00:00
christos fac93a1e7a no need for stdio. 2016-08-27 10:03:16 +00:00
christos c898927fa5 sync with FreeBSD 2016-08-27 10:01:08 +00:00
christos 53b6bfd5c1 correct case 23 for -0.0 2016-08-27 10:00:38 +00:00
christos bb5114e4e0 remove debugging 2016-08-27 09:35:13 +00:00
christos 394a54cbfc skip buggy assembly for libm_g.a 2016-08-27 09:15:44 +00:00
christos a66a750e64 detect overflow in oldexp + newexp 2016-08-27 09:11:56 +00:00
dholland 8c87f52cc0 Add MLINKS for atomic_add_nv, atomic_cas_ni, and so forth - otherwise
you have to remember that they're the same page as plain atomic_add and
atomic_cas, or remember one of the types that they're defined on.
PR 51033.
2016-08-27 08:03:13 +00:00
dholland f3ab3c700b strtod, not strod. 2016-08-27 02:56:26 +00:00
christos a3fc1936b1 fix double merge. 2016-08-26 08:33:48 +00:00
christos 048f5b6f16 do the FENV test consistently 2016-08-26 08:31:17 +00:00
christos b1803eb858 fix sun2 build; only IEEE math platform (and coldfire) without fenv 2016-08-26 08:20:31 +00:00
christos 92e958de60 more fenv for sh 2016-08-25 12:15:28 +00:00
christos 78abb1b97e more compatible with readline history functions. 2016-08-24 13:10:59 +00:00
christos 5b36f996f3 fix ilogb* 2016-08-24 10:03:32 +00:00
christos 96936a322e add ilogb. 2016-08-24 09:10:57 +00:00
christos 87691b796d ilogb for the vax 2016-08-24 09:08:50 +00:00
christos efaac31f0f fenv.h for alpha 2016-08-23 10:00:15 +00:00
christos 8c27d15300 missing _ 2016-08-22 07:41:10 +00:00
maya 47a6662175 BUGS section is no longer correct
FP_ILOGB0 and FP_ILOGBNAN are both defined in math.h
2016-08-22 07:33:30 +00:00
christos a78f4eaca1 From OpenBSD:
bugfix: when fgetwc(3) fails, fgetwln(3) must fail as well;
2016-08-22 06:11:39 +00:00
christos c90b9921a5 unbound additions 2016-08-20 11:21:50 +00:00
skrll 97239cd361 Add a NOP_L 2016-08-13 08:09:17 +00:00
skrll 48bbbdf1d5 PIC_TAILCALL on n32/n64 would mess up GP, so just use SYSTRAP to call
setcontext.

Fixes tests/lib/libc/sys/t_getcontext.c:setcontext_link
2016-08-13 07:49:32 +00:00