Commit Graph

14826 Commits

Author SHA1 Message Date
christos 6fd3d22580 try to fix copy-pasto 2016-10-18 12:56:11 +00:00
christos 93f4a9e00c add libc_fp 2016-10-18 12:51:05 +00:00
mrg f8dd93e519 libc_fp is arch64 only. 2016-10-18 06:40:06 +00:00
mrg 3f412ee160 fix oabi arm builds - no eabi ldscripts. 2016-10-17 20:16:57 +00:00
mrg 14a15c5f7b build fixes for sgimips and xorg-server 1.18.
newport and crime need to be ported away from XAA.
2016-10-16 08:20:58 +00:00
maya 3f12f1fa8e linkerscripts for mips are built only on mips64*
so file lists should have these files for 64bit only too
2016-10-15 17:55:28 +00:00
kamil 6245abaafa Import wcsnlen(3) to libc
The wcsnlen(3) function conforms to POSIX.1-2008 and is an addition to the
ISO C standard.

size_t wcsnlen(const wchar_t *s, size_t maxlen);

The wcsnlen(3) function computes the number of wide-characters in a wide-
-string to which s points, not including NULL terminating wide-character
code and checking no more than maxlen wide-characters. This function never
examines wide-characters beyond a wide-string of maxlen size.


This function is a safer version of wcslen(3):

size_t wcslen(const wchar_t *s);


Update STANDARDS section of wmemchr(3) describing wide-character functions.
2016-10-15 14:21:59 +00:00
christos 10dd1ce273 add linker scripts 2016-10-15 11:44:09 +00:00
christos dab4794cfb Add more linker scripts 2016-10-15 11:41:54 +00:00
christos a79a63738d adjust for the latest changes 2016-10-15 11:34:30 +00:00
christos d299125350 add ldscripts 2016-10-14 19:28:06 +00:00
maya 722bae43c0 we build libc_fp for mips64* only, adjust sets accordingly. 2016-10-14 17:52:41 +00:00
spz cff8db61e4 periphereal updates and generated files for the new openssl.
Expect at least one more commit until the tree builds again.
2016-10-14 16:09:43 +00:00
christos a599b8e09f add strchrnul 2016-10-12 20:02:33 +00:00
nat b4fce4982f Added firmare for Realtek 8192ee/eu. 2016-10-12 03:58:37 +00:00
macallan 8baff5f4bf build and install libc_fp on mips
use with LD_PRELOAD=/lib/libc_fp.so for FPU use via softfloat
2016-10-11 17:02:28 +00:00
mrg f2d015f995 add arm64 ldscripts 2016-10-11 08:04:23 +00:00
mrg 4685143ff5 build and install the arm ldscripts. now i can build oabi again. 2016-10-11 07:23:52 +00:00
martin 6ff906bc3c do not mark igs_drv.so.0.debug as obsolete, we still install it 2016-10-11 06:11:38 +00:00
mrg 30db75397d build new pt_PT.UTF-8 locale from libX11 1.6.4. 2016-10-04 23:52:02 +00:00
mrg 82214f4f99 mark pnozz obsolete on xorg-server 1.18 2016-10-04 21:34:02 +00:00
christos a406e29ff1 put back dmesg 2016-10-04 14:00:27 +00:00
kamil 7f4b5eb156 Add timespec_get(3) in <time.h> and enable unconditionally struct timespec
These changes conforms to the C11 standard
References:
 - 7.27.1/3 Components of time (struct timespec)
 - 7.27.2.5 The timespec_get function

According to ISO/IEC 9899:201x (draft) <time.h> defines the timespec
structure and declares the timespec_get(3) function with TIME_UTC
definition.

According to a C++17 standard draft <ctime> offers the same interface in
the std:: namespace.

The timespec_get function modifies the timespec object pointed by ts
to hold the current calendar time in the given base. The standard notes
only the TIME_UTC base with implementation defined value, set it to 1
as zero is reserved for error handling. Once operation was successful this
function returns passed base, otherwise exits with zero.

The timespec struct was already part of the POSIX standard in <time.h>.

Enable this interface unconditionally in the header to allow to use it
in a code prior C11 and C++17 as an extension.

Review notes from <christos>
2016-10-04 09:41:40 +00:00
ozaki-r 48cafa77c5 Add tests for sysctl net.inet.ip.mtudisc
From suzu-ken@IIJ
2016-10-04 04:15:25 +00:00
rkujawa a82859c06b Add mntva(4) man page to dist list. 2016-10-03 18:59:41 +00:00
kamil b3c98abce0 Import c11(1) - a cc -std=c11 wrapper
This script is similar to c89(1) and c99(1).

It's a NetBSD extension. The c89(1) and c99(1) scripts are part of POSIX.
2016-10-03 01:00:27 +00:00
jdolecek 56fb1bd45a add ahci(4) to list 2016-10-02 23:14:19 +00:00
kamil 7db6ba3b08 Import <stdalign.h>
This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.15 Alignment <stdalign.h>

According to ISO/IEC 9899:201x (draft) 7.15 Alignment <stdalign.h> defines
four macros:
 - alignas which expands to _Alignas
 - alignof which expands to _Alignof
 - __alignas_is_defined and __alignof_is_defined which both expand to 1

The _Alignas declaration appears as one of the type specifiers to modify
the alignment requirement of the object being declared.

The _Alignof operator is used to query the alignment requirement of its
operand type.

ISO/IEC N3242=11-0012 (C++1x) and ISO/IEC N3797 (C++1y) both note a header
<cstdalign> which defines only __alignas_is_defined and shall not define
the alignas macro. It misses the alignof case as it's probably based on an
older C1x draft, which defined only alignas. Assume that this is a bug in
the standard and treat alignof the same way as alignas in C++11.

Allow to define alignas and alignof in C++ prior the C++11 standard. It
might be broken but a nonstandard C++ compiler might support C11-like
_Alignas and _Alignof. Note that it's fatal for g++(1) v.5.4.
2016-10-02 17:19:00 +00:00
kamil 7798b8a775 Import <stdnoreturn.h>
This header conforms to the C11 standard
Reference: ISO/IEC 9899:201x 7.23 _Noreturn <stdnoreturn.h>

According to ISO/IEC 9899:201x (draft) <stdnoreturn.> defines the
noreturn macro which expands to _Noreturn.

The _Noreturn keyword appears in a function declaration and specifies
that the function does not return by reaching the end of the function
body.

Design choices:
 - don't implicitly break C++ code including this header with #error
   C++11 offers [[noreturn]] which conflicts with C11 _Noreturn

 - don't check for __STDC_VERSION__, everybody is free to reuse it with
   a nonstandard compiler not conforming to C11 but supporting _Noreturn

   gcc(1) and clang(1) support _Noreturn in -std=c99 and older standards

   this follows <stdbool.h> choice for not checking for C99

 - follow <stdbool.h> and declare the __noreturn_is_defined guard

 - use a standard header guard (_STDNORETURN_H_), similar to <stdbool.h>

Reviewed by <pgoyette> and <joerg>
2016-10-02 13:09:24 +00:00
flxd 558b195f60 Add myself 2016-10-01 12:32:35 +00:00
kre f6bb854fd7 Added /usr/share/zoneinfo/Asia/Yangon for tzdata2016g 2016-09-29 20:47:18 +00:00
christos 99a48913f4 fix more driver lossage 2016-09-29 18:58:27 +00:00
macallan 47bb9e27e1 put igs driver back. 2016-09-28 18:23:00 +00:00
macallan 1032c95374 makr pnozz, ag10e, sunleo as 1.10 only 2016-09-28 18:17:10 +00:00
pgoyette a28b2246b9 Missed the mlx_pci module in previous commit (to disable) 2016-09-27 23:25:10 +00:00
pgoyette 01b31fcf1e For now, disable all the newly-created ld(4) related modules. We need
to come up with a better way to handle attachment-specific modules, and
possibly a better directory structure for modules in general, as the
current mechanism doesn't scale.
2016-09-27 20:52:43 +00:00
pgoyette c6bbbf5d26 Update sets lists for all the new modules (for l4(4) and its attachments) 2016-09-27 04:00:33 +00:00
mrg 981b4dd997 build the modesetting driver on x86.
build the modesetting driver for xorg-server 1.18.4.  it has moved
into the xorg-server tree itself, and changed significantly.
2016-09-26 22:37:31 +00:00
mrg 22198b51d0 revert the previous; it seems to have been a mistake (adding nsd
entries) and had nothing to do with the message (libc bump.)
2016-09-24 23:15:26 +00:00
mrg 62ee7dc27b introduce a better pci_drvname() and PCI_IOC_DRVNAME as pciio_drvnameonbus()
and PCI_IOC_DRVNAMEONBUS.  the new ones also take a (autoconf) PCI bus
number, which allows lookups for any device on any pci bus node.  use this
in pcictl which current reports the wrong values sometimes.

up next: use these in libpciaccess.
2016-09-24 23:12:54 +00:00
mrg 5bf2dfccdd mark all the xorg-server 1.10 specific files as obsolete for xorg-server 1.18.
being to adapt not ready or not switched ports more to 1.18.
2016-09-24 21:57:38 +00:00
christos e3030ca1fc bump libc 2016-09-24 20:13:48 +00:00
roy 785757d49a Update for libc bump. 2016-09-21 14:00:29 +00:00
christos e0e4dc48e0 Add the ability to specify more sections to strip. 2016-09-20 20:55:54 +00:00
christos 7b6d02ec13 Strip more sections, and verbose printing. 2016-09-20 20:55:11 +00:00
christos f9f6cac132 Kill expr, modernize 2016-09-18 18:24:00 +00:00
christos adf53ef170 remove more stuff. 2016-09-18 16:36:02 +00:00
christos 03a6073a0a kill some useless programs (it is not like the dreamcast has a tape drive) 2016-09-18 15:38:05 +00:00
christos d53ba42d44 bump 2016-09-18 02:07:07 +00:00
christos 8da75a62dd bump 2016-09-18 01:57:24 +00:00