]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
11 years agoFor b/5836136, do dlsym(0, "_Unwind..."), i.e. ignore libgcc_s.so.1 dlopen failure.
Paul Pluzhnikov [Tue, 4 Mar 2014 01:03:35 +0000 (17:03 -0800)] 
For b/5836136, do dlsym(0, "_Unwind..."), i.e. ignore libgcc_s.so.1 dlopen failure.

7 years agoDefine __GOOGLE_GRTE_VERSION__
Stan Shebs [Thu, 29 Mar 2018 21:05:07 +0000 (14:05 -0700)] 
Define __GOOGLE_GRTE_VERSION__

7 years agoAdd basic testsuite for dlopen_with_offset
Stan Shebs [Thu, 29 Mar 2018 18:48:37 +0000 (11:48 -0700)] 
Add basic testsuite for dlopen_with_offset

7 years agoAdd a hunk lost in merge
Stan Shebs [Thu, 29 Mar 2018 03:31:52 +0000 (20:31 -0700)] 
Add a hunk lost in merge

7 years agoFix GCC compilation issues in cherrypicks
Stan Shebs [Thu, 29 Mar 2018 02:31:45 +0000 (19:31 -0700)] 
Fix GCC compilation issues in cherrypicks

9 years agoFor b/22641205, #include _itoa.h
Paul Pluzhnikov [Sat, 10 Oct 2015 16:26:54 +0000 (09:26 -0700)] 
For b/22641205, #include _itoa.h

9 years agoFor b/20141439, don't add "foo.so" as alternate name for previously loaded "foo.so...
Paul Pluzhnikov [Fri, 2 Oct 2015 14:31:16 +0000 (07:31 -0700)] 
For b/20141439, don't add "foo.so" as alternate name for previously loaded "foo.so/@0x..."

10 years agoFor b/8315591, b/20141439 correct off-by-one error that resulted in last byte of...
Paul Pluzhnikov [Wed, 3 Jun 2015 15:58:35 +0000 (08:58 -0700)] 
For b/8315591, b/20141439 correct off-by-one error that resulted in last byte of l_name being random garbage.

10 years agoFix arm build by only using _itoa when building ld-linux, and not 'sln'. Also disable...
Paul Pluzhnikov [Mon, 24 Nov 2014 02:12:56 +0000 (18:12 -0800)] 
Fix arm build by only using _itoa when building ld-linux, and not 'sln'. Also disable __google_dlopen_with_offset in fully-static link

10 years agoFor b/18243822, fix dlopen_with_offset to not reuse the same link_map entry when...
Paul Pluzhnikov [Mon, 10 Nov 2014 18:56:25 +0000 (10:56 -0800)] 
For b/18243822, fix dlopen_with_offset to not reuse the same link_map entry when called on the same file with different offsets.

11 years agoFor Google b/8315591, experimental implementation of dlopen_with_offset.
Paul Pluzhnikov [Mon, 10 Mar 2014 21:02:07 +0000 (14:02 -0700)] 
For Google b/8315591, experimental implementation of dlopen_with_offset.

11 years agoDisable static linking warning for dlopen and dlmopen, and disable linking warning...
Paul Pluzhnikov [Sat, 1 Mar 2014 00:51:12 +0000 (16:51 -0800)] 
Disable static linking warning for dlopen and dlmopen, and disable linking warning for sys_errlist and sys_nerr.

9 years agoBackport cl/98967227 to GRTE glibc 2.19 sources.
Brooks Moses [Sat, 15 Aug 2015 05:32:51 +0000 (22:32 -0700)] 
Backport cl/98967227 to GRTE glibc 2.19 sources.

7 years agoAdd empty NSS borg and cache abi lists, to make testsuite work
Stan Shebs [Mon, 19 Mar 2018 18:04:23 +0000 (11:04 -0700)] 
Add empty NSS borg and cache abi lists, to make testsuite work

7 years agoFix out-of-date bits in EXEC_ORIGIN patch
Stan Shebs [Mon, 19 Mar 2018 16:41:11 +0000 (09:41 -0700)] 
Fix out-of-date bits in EXEC_ORIGIN patch

11 years agoFor b/12342355, remove inappropriate assert in EXEC_ORIGIN support.
Brooks Moses [Fri, 11 Apr 2014 20:37:15 +0000 (13:37 -0700)] 
For b/12342355, remove inappropriate assert in EXEC_ORIGIN support.

11 years agoFor b/4074041, add EXEC_ORIGIN support. Forward-ported from cl/56955623 and http...
Paul Pluzhnikov [Sat, 8 Mar 2014 23:12:52 +0000 (15:12 -0800)] 
For b/4074041, add EXEC_ORIGIN support. Forward-ported from cl/56955623 and http://cl/59961863.

8 years agoHandle a not-found case in borg passwd lookup
Stan Shebs [Thu, 3 Nov 2016 23:31:52 +0000 (16:31 -0700)] 
Handle a not-found case in borg passwd lookup

8 years agoCall the correct function.
Michael Rothwell [Fri, 30 Sep 2016 16:46:48 +0000 (09:46 -0700)] 
Call the correct function.

8 years agoAugment borg-pwd to also search through passwd.borg.base, if it exists.
Michael Rothwell [Fri, 30 Sep 2016 13:09:04 +0000 (06:09 -0700)] 
Augment borg-pwd to also search through passwd.borg.base, if it exists.

9 years agoDescribe borg-pwd better, remove dead code.
Stan Shebs [Fri, 21 Aug 2015 21:50:53 +0000 (14:50 -0700)] 
Describe borg-pwd better, remove dead code.

9 years agoUpdate nss_cache.c and nss_cache.h to current upstream version. This makes getgrgid_r...
Max Kanat-Alexander [Wed, 6 Jul 2016 21:47:51 +0000 (14:47 -0700)] 
Update nss_cache.c and nss_cache.h to current upstream version. This makes getgrgid_r and similar calls over 18x faster on corp machines.

7 years agoUpdate an include path
Stan Shebs [Wed, 14 Mar 2018 15:17:45 +0000 (08:17 -0700)] 
Update an include path

11 years agoIntegrate nss_{borg,cache} local changes from glibc-2.18 to 2.19
Paul Pluzhnikov [Fri, 28 Feb 2014 20:54:06 +0000 (12:54 -0800)] 
Integrate nss_{borg,cache} local changes from glibc-2.18 to 2.19

7 years agoForward-port addition of _google_dl_debug_state_hook
Stan Shebs [Tue, 13 Mar 2018 18:53:48 +0000 (11:53 -0700)] 
Forward-port addition of _google_dl_debug_state_hook

7 years agoAs with gettimeofday, avoid vdso for clang-compiled time()
Stan Shebs [Tue, 13 Mar 2018 18:37:02 +0000 (11:37 -0700)] 
As with gettimeofday, avoid vdso for clang-compiled time()

7 years agoForward-port addition of __google_pthread_signal_safe_key_create
Stan Shebs [Mon, 12 Mar 2018 21:59:51 +0000 (14:59 -0700)] 
Forward-port addition of __google_pthread_signal_safe_key_create

7 years agoAdd a Google-only workaround for an ancient mktemp
Stan Shebs [Wed, 7 Mar 2018 15:46:50 +0000 (07:46 -0800)] 
Add a Google-only workaround for an ancient mktemp

7 years agoBypass gettimeofday ifunc if using clang
Stan Shebs [Fri, 2 Mar 2018 16:39:57 +0000 (08:39 -0800)] 
Bypass gettimeofday ifunc if using clang

7 years agoAdd workarounds for clang and lld problems
Stan Shebs [Tue, 27 Feb 2018 19:22:13 +0000 (11:22 -0800)] 
Add workarounds for clang and lld problems

7 years agoSkip a test that lld cannot handle
Stan Shebs [Tue, 27 Feb 2018 19:17:27 +0000 (11:17 -0800)] 
Skip a test that lld cannot handle

7 years agoDisable non-opt error temporarily, and __sec_comment for clang
Stan Shebs [Mon, 26 Feb 2018 21:50:53 +0000 (13:50 -0800)] 
Disable non-opt error temporarily, and __sec_comment for clang

7 years agoRemove a testing hack
Stan Shebs [Tue, 20 Feb 2018 17:13:13 +0000 (09:13 -0800)] 
Remove a testing hack

7 years agoRemove debugging hack
Stan Shebs [Tue, 20 Feb 2018 17:12:01 +0000 (09:12 -0800)] 
Remove debugging hack

7 years agoUse LN_S in more places to forestall hard link creation
Stan Shebs [Wed, 14 Feb 2018 17:44:15 +0000 (09:44 -0800)] 
Use LN_S in more places to forestall hard link creation

7 years agoAdd a --with-lld option to choose LLVMs lld linker
Stan Shebs [Wed, 14 Feb 2018 17:15:44 +0000 (09:15 -0800)] 
Add a --with-lld option to choose LLVMs lld linker

3 years agoUse clang integrated assembler except when asm is output and not required to be valid
Stan Shebs [Fri, 27 Aug 2021 22:28:23 +0000 (15:28 -0700)] 
Use clang integrated assembler except when asm is output and not required to be valid

7 years agoAdd workaround to get clang to accept avx-512 instructions
Stan Shebs [Wed, 7 Feb 2018 20:57:16 +0000 (12:57 -0800)] 
Add workaround to get clang to accept avx-512 instructions

7 years agoWork around clang assembler error with bnd by itself on a line
Stan Shebs [Wed, 7 Feb 2018 20:55:59 +0000 (12:55 -0800)] 
Work around clang assembler error with bnd by itself on a line

7 years agoWork around clang assembler error with movzx
Stan Shebs [Wed, 7 Feb 2018 20:54:57 +0000 (12:54 -0800)] 
Work around clang assembler error with movzx

7 years agoWork around clang assembler bug with expressions in .if
Stan Shebs [Wed, 7 Feb 2018 20:53:40 +0000 (12:53 -0800)] 
Work around clang assembler bug with expressions in .if

7 years agoWork around lack of .tfloat in clang assembler
Stan Shebs [Tue, 6 Feb 2018 23:53:53 +0000 (15:53 -0800)] 
Work around lack of .tfloat in clang assembler

7 years agoPut CMPLX* macros under ISO C11
Stan Shebs [Wed, 24 Jan 2018 20:49:39 +0000 (12:49 -0800)] 
Put CMPLX* macros under ISO C11

7 years agoAdd clang and debug support to conformance scripts
Stan Shebs [Wed, 24 Jan 2018 20:42:41 +0000 (12:42 -0800)] 
Add clang and debug support to conformance scripts

7 years agoComment out debugging hack that pollutes namespace
Stan Shebs [Wed, 24 Jan 2018 19:32:36 +0000 (11:32 -0800)] 
Comment out debugging hack that pollutes namespace

7 years agoDo not pass unhandled flag to clang
Stan Shebs [Tue, 23 Jan 2018 20:53:28 +0000 (12:53 -0800)] 
Do not pass unhandled flag to clang

7 years agoAdd workarounds for incomplete float128 support in clang
Stan Shebs [Tue, 23 Jan 2018 17:41:49 +0000 (09:41 -0800)] 
Add workarounds for incomplete float128 support in clang

7 years agoclang requires -mno-see for 387 math
Stan Shebs [Tue, 23 Jan 2018 17:40:20 +0000 (09:40 -0800)] 
clang requires -mno-see for 387 math

7 years agoWork around a weird clang link failure
Stan Shebs [Tue, 23 Jan 2018 17:37:55 +0000 (09:37 -0800)] 
Work around a weird clang link failure

7 years agoFor now, disable asm definitions of mempcpy and strpcpy
Stan Shebs [Tue, 23 Jan 2018 17:36:14 +0000 (09:36 -0800)] 
For now, disable asm definitions of mempcpy and strpcpy

7 years agoMake zero volatile to defeat constant-folding of 0.0/0.0
Stan Shebs [Tue, 23 Jan 2018 16:28:31 +0000 (08:28 -0800)] 
Make zero volatile to defeat constant-folding of 0.0/0.0

7 years agoReduce an error to warning if clang
Stan Shebs [Tue, 23 Jan 2018 16:26:39 +0000 (08:26 -0800)] 
Reduce an error to warning if clang

7 years agoWork around a clang bug
Stan Shebs [Tue, 23 Jan 2018 16:25:33 +0000 (08:25 -0800)] 
Work around a clang bug

7 years agoAdd clang versions of CMPLX* macros
Stan Shebs [Tue, 23 Jan 2018 00:44:05 +0000 (16:44 -0800)] 
Add clang versions of CMPLX* macros

7 years agoSuppress tgmath3 tests if clang
Stan Shebs [Mon, 22 Jan 2018 21:04:00 +0000 (13:04 -0800)] 
Suppress tgmath3 tests if clang

7 years agoAdd clang placeholders for va_arg_pack
Stan Shebs [Mon, 22 Jan 2018 20:30:55 +0000 (12:30 -0800)] 
Add clang placeholders for va_arg_pack

7 years agoAdd hidden protos ahead of uses
Stan Shebs [Mon, 22 Jan 2018 20:17:30 +0000 (12:17 -0800)] 
Add hidden protos ahead of uses

7 years agoStub out execstack problem
Stan Shebs [Mon, 22 Jan 2018 20:12:51 +0000 (12:12 -0800)] 
Stub out execstack problem

3 years agoStub out execstack, multidir, and ifunc problems
Stan Shebs [Fri, 27 Aug 2021 22:32:35 +0000 (15:32 -0700)] 
Stub out execstack, multidir, and ifunc problems

7 years agoAdd --with-clang and --disable-float128 options to toplevel configury
Stan Shebs [Fri, 19 Jan 2018 20:41:15 +0000 (12:41 -0800)] 
Add --with-clang and --disable-float128 options to toplevel configury

7 years agoDisallow extern inline if clang
Stan Shebs [Fri, 19 Jan 2018 20:25:34 +0000 (12:25 -0800)] 
Disallow extern inline if clang

7 years agoAdd clang version of __hidden_proto
Stan Shebs [Fri, 19 Jan 2018 20:23:55 +0000 (12:23 -0800)] 
Add clang version of __hidden_proto

7 years agoSkip undefined va_arg_pack
Stan Shebs [Fri, 19 Jan 2018 17:31:04 +0000 (09:31 -0800)] 
Skip undefined va_arg_pack

7 years agoDe-nest test-ffs.c
Stan Shebs [Fri, 19 Jan 2018 17:22:56 +0000 (09:22 -0800)] 
De-nest test-ffs.c

7 years agoDe-nest makedb.c
Stan Shebs [Fri, 19 Jan 2018 17:21:48 +0000 (09:21 -0800)] 
De-nest makedb.c

7 years agoDe-nest regcomp.c, suppress GCC warnings about it
Stan Shebs [Fri, 19 Jan 2018 17:20:48 +0000 (09:20 -0800)] 
De-nest regcomp.c, suppress GCC warnings about it

7 years agoUn-nest nested functions in dynamic linker
Stan Shebs [Thu, 18 Jan 2018 23:18:30 +0000 (15:18 -0800)] 
Un-nest nested functions in dynamic linker

7 years agoSkip execstack test, depends on nested function
Stan Shebs [Thu, 18 Jan 2018 23:17:13 +0000 (15:17 -0800)] 
Skip execstack test, depends on nested function

7 years agoLinux: use reserved name __key in pkey_get [BZ #22797]
Igor Gnatenko [Wed, 7 Feb 2018 12:53:10 +0000 (13:53 +0100)] 
Linux: use reserved name __key in pkey_get [BZ #22797]

_key is not reserved name and we should avoid using that. It seems that
it was simple typo when pkey_* was implemented.

(cherry picked from commit 388ff7bd0d57d7061fdd39a2f26f65687e8058da)

7 years agoAdd a missing ChangeLog item in commit 371b220f620
H.J. Lu [Mon, 5 Feb 2018 14:17:18 +0000 (06:17 -0800)] 
Add a missing ChangeLog item in commit 371b220f620

(cherry picked from commit 658050164df9bce9ef8f2ccb1b74ba9ee2b2f4af)

7 years agoNEWS: add an entry for bug 22638
Dmitry V. Levin [Tue, 6 Feb 2018 09:31:30 +0000 (09:31 +0000)] 
NEWS: add an entry for bug 22638

7 years agosparc: Check PIC instead of SHARED in start.S [BZ #22638]
H.J. Lu [Mon, 5 Feb 2018 13:46:38 +0000 (05:46 -0800)] 
sparc: Check PIC instead of SHARED in start.S [BZ #22638]

Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.

[BZ #22638]
* sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
SHARED.
* sysdeps/sparc/sparc64/start.S (_start): Likewise.

(cherry picked from commit 371b220f6208968d5f4bffc9f66bf885930a42a5)

7 years agoRecord CVE-2018-6551 in NEWS and ChangeLog [BZ #22774]
Florian Weimer [Tue, 6 Feb 2018 08:19:03 +0000 (09:19 +0100)] 
Record CVE-2018-6551 in NEWS and ChangeLog [BZ #22774]

(cherry picked from commit 71aa429b029fdb6f9e65d44050388b51eca460d6)

7 years agoUpdate for 2.27 release glibc-2.27
Dmitry V. Levin [Thu, 1 Feb 2018 16:17:18 +0000 (16:17 +0000)] 
Update for 2.27 release

7 years agoFix ChangeLog formatting
Dmitry V. Levin [Thu, 1 Feb 2018 16:17:18 +0000 (16:17 +0000)] 
Fix ChangeLog formatting

7 years agoNEWS: add the list of bugs fixed in 2.27
Dmitry V. Levin [Thu, 1 Feb 2018 16:17:18 +0000 (16:17 +0000)] 
NEWS: add the list of bugs fixed in 2.27

7 years agoRecord CVE-2018-6485 in ChangeLog and NEWS [BZ #22343]
Florian Weimer [Thu, 1 Feb 2018 14:00:44 +0000 (15:00 +0100)] 
Record CVE-2018-6485 in ChangeLog and NEWS [BZ #22343]

7 years agostdlib: Fixing test-*atexit*-race tests on ia64
Adhemerval Zanella [Thu, 1 Feb 2018 12:31:57 +0000 (10:31 -0200)] 
stdlib: Fixing test-*atexit*-race tests on ia64

These tests require a new thread stack size set to a value (0x20000)
lower than the architecture minimum (0x30000).  Set the stack size
to PTHREAD_STACK_MIN in this case.

Checked on ia64-linux-gnu.

* stdlib/test-atexit-race-common.c (do_test): Check stack size
against PTHREAD_STACK_MIN.

7 years agoUpdate contributions in the manual
Dmitry V. Levin [Thu, 1 Feb 2018 13:07:39 +0000 (13:07 +0000)] 
Update contributions in the manual

* manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
New entries.
(Rafal Luzynski, Andreas Schwab): Update.

7 years agoNEWS: List the languages which use the alternative months.
Rafal Luzynski [Thu, 1 Feb 2018 00:45:43 +0000 (01:45 +0100)] 
NEWS: List the languages which use the alternative months.

[BZ #10871]
* NEWS: List the languages which actually use the alternative
months feature in this release.  Also explain that "alt_mon" and
"ab_alt_mon" are optional.

7 years agocrypt: Fix badsalttest test (Bug 22765)
Il'ya Malakhov [Wed, 31 Jan 2018 22:32:19 +0000 (14:32 -0800)] 
crypt: Fix badsalttest test (Bug 22765)

The value of 'cd.initialized' is left uninitialized before the
first invocation of 'crypt_r ()' in this test despite the fact
that it should be set to zero according to the API.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
7 years agoFix typo in the previous commit
Dmitry V. Levin [Wed, 31 Jan 2018 23:13:00 +0000 (23:13 +0000)] 
Fix typo in the previous commit

The version of GCC was 7.3, not 7.3.1.

7 years agoUpdate information about the newest versions of tools used to build glibc
Dmitry V. Levin [Wed, 31 Jan 2018 14:20:10 +0000 (14:20 +0000)] 
Update information about the newest versions of tools used to build glibc

* manual/install.texi (Tools for Compilation): Update the newest
versions of gcc, binutils, texinfo, gawk, bison, and sed.
* INSTALL: Regenerated.

7 years agoallocalim.h: use __glibc_likely instead of __builtin_expect
Samuel Thibault [Tue, 30 Jan 2018 20:42:21 +0000 (21:42 +0100)] 
allocalim.h: use __glibc_likely instead of __builtin_expect

* sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
instead of __builtin_expect.

7 years agohurd: Fix ChangeLog date
Samuel Thibault [Tue, 30 Jan 2018 18:56:07 +0000 (19:56 +0100)] 
hurd: Fix ChangeLog date

7 years agonss: Adjust tests to use nss_files only
Florian Weimer [Tue, 30 Jan 2018 05:28:49 +0000 (06:28 +0100)] 
nss: Adjust tests to use nss_files only

7 years agohr_HR: Add alternative month names (bug 10871).
Rafal Luzynski [Tue, 30 Jan 2018 11:33:14 +0000 (12:33 +0100)] 
hr_HR: Add alternative month names (bug 10871).

[BZ #10871]
* localedata/locales/hr_HR (mon): Rename to...
(alt_mon): This.
(mon): Import from CLDR (genitive case).
(d_t_fmt): Update the comment.

7 years agohurd: include generic's hp-timing.h instead of copying it
Samuel Thibault [Tue, 30 Jan 2018 00:17:51 +0000 (01:17 +0100)] 
hurd: include generic's hp-timing.h instead of copying it

* sysdeps/mach/hurd/hp-timing.h: include <sysdeps/generic/hp-timing.h>
instead of copying it.

7 years agohurd: Add tlsdesc.sym
Samuel Thibault [Mon, 29 Jan 2018 23:52:48 +0000 (00:52 +0100)] 
hurd: Add tlsdesc.sym

* sysdeps/mach/hurd/i386/tlsdesc.sym: New file.

7 years agohurd: disable hp timing
Samuel Thibault [Mon, 29 Jan 2018 23:47:31 +0000 (00:47 +0100)] 
hurd: disable hp timing

We don't have support for hp timing for now, even the i686 variant, which needs
to know the CPU speed.
Copied from sysdeps/generic/hp-timing.h

* sysdeps/mach/hurd/hp-timing.h: New file.

7 years agohurd: Fix comments for FREAD and FWRITE
Samuel Thibault [Mon, 29 Jan 2018 21:56:03 +0000 (22:56 +0100)] 
hurd: Fix comments for FREAD and FWRITE

* bits/fcntl.h: Fix comment for FREAD and FWRITE.
* sysdeps/mach/hurd/bits/fcntl.h: Likewise.

7 years agomalloc: Use assert.h's assert macro
Samuel Thibault [Mon, 29 Jan 2018 21:49:45 +0000 (22:49 +0100)] 
malloc: Use assert.h's assert macro

This avoids assert definition conflicts if some of the headers used by
malloc.c happens to include assert.h.  Malloc still needs a malloc-avoiding
implementation, which we get by redirecting __assert_fail to malloc's
__malloc_assert.

* malloc/malloc.c: Include <assert.h>.
(assert): Do not define.
[!defined NDEBUG] (__assert_fail): Define to __malloc_assert.

7 years agolibio: Rename _FWRITE to FWRITE_FUNC
Samuel Thibault [Mon, 29 Jan 2018 21:44:46 +0000 (22:44 +0100)] 
libio: Rename _FWRITE to FWRITE_FUNC

_FWRITE would be in the reserved-namespace.

* libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
(do_test_bz20181): Rename accordingly.

7 years agoallocalim.h: Fix codestyle
Samuel Thibault [Mon, 29 Jan 2018 21:21:46 +0000 (22:21 +0100)] 
allocalim.h: Fix codestyle

* sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
|| to respect codestyle.

7 years agohurd: Fix ChangeLog date
Samuel Thibault [Mon, 29 Jan 2018 21:19:14 +0000 (22:19 +0100)] 
hurd: Fix ChangeLog date

7 years agohurd: Fix preprocessor indentation
Samuel Thibault [Mon, 29 Jan 2018 21:17:11 +0000 (22:17 +0100)] 
hurd: Fix preprocessor indentation

7 years agoReject invalid definitions of _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE
Andreas Schwab [Sun, 28 Jan 2018 17:48:04 +0000 (18:48 +0100)] 
Reject invalid definitions of _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE

POSIX requires that the constants _POSIX_CHOWN_RESTRICTED,
_POSIX_NO_TRUNC, and _POSIX_VDISABLE are always defined to a value other
than -1.

7 years agohurd: Add expected ABI lists
Samuel Thibault [Sun, 28 Jan 2018 22:30:15 +0000 (23:30 +0100)] 
hurd: Add expected ABI lists

* hurd/Versions: Fix version when _hurd_exec_paths was added.
* mach/Versions: Fix version when __mach_host_self_ was added.
* sysdeps/mach/hurd/i386/ld.abilist: New file.
* sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
* sysdeps/mach/hurd/i386/libanl.abilist: New file.
* sysdeps/mach/hurd/i386/libc.abilist: New file.
* sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
* sysdeps/mach/hurd/i386/libdl.abilist: New file.
* sysdeps/mach/hurd/i386/libm.abilist: New file.
* sysdeps/mach/hurd/i386/libnsl.abilist: New file.
* sysdeps/mach/hurd/i386/libresolv.abilist: New file.
* sysdeps/mach/hurd/i386/librt.abilist: New file.
* sysdeps/mach/hurd/i386/libutil.abilist: New file.

7 years agoRISC-V: Add ipc_priv.h
Palmer Dabbelt [Mon, 29 Jan 2018 17:32:37 +0000 (09:32 -0800)] 
RISC-V: Add ipc_priv.h

This contains a definition of __IPC_64 that matches the RISC-V Linux
ABI.

2018-01-29  Darius Rad  <darius@bluespec.com>

        * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.

7 years agoAdd RISC-V to build-many-glibcs.py
Palmer Dabbelt [Mon, 29 Jan 2018 18:30:51 +0000 (10:30 -0800)] 
Add RISC-V to build-many-glibcs.py

For full disclosure, I've only run build-many-glibcs.py with the
additional diff below.

    diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
    index 1c7b85050b57..22cc7b427041 100755
    --- a/scripts/build-many-glibcs.py
    +++ b/scripts/build-many-glibcs.py
    @@ -706,7 +706,7 @@ class Context(object):
                                 'gcc': 'vcs-7',
                                 'glibc': 'vcs-mainline',
                                 'gmp': '6.1.2',
    -                            'linux': '4.14',
    +                            'linux': '4.15-rc8',
                                 'mpc': '1.0.3',
                                 'mpfr': '3.1.6'}
             use_versions = {}
    @@ -841,7 +841,7 @@ class Context(object):
             url_map = {'binutils':
    'https://ftp.gnu.org/gnu/binutils/binutils-%(version)s.tar.bz2',
                        'gcc':
    'https://ftp.gnu.org/gnu/gcc/gcc-%(version)s/gcc-%(version)s.tar.bz2',
                        'gmp':
    'https://ftp.gnu.org/gnu/gmp/gmp-%(version)s.tar.xz',
    -                   'linux':
                        'https://www.kernel.org/pub/linux/kernel/v4.x/linux-%(version)s.tar.xz',
    +                   'linux':
    'https://git.kernel.org/torvalds/t/linux-%(version)s.tar.gz',
                        'mpc':
    'https://ftp.gnu.org/gnu/mpc/mpc-%(version)s.tar.gz',
                        'mpfr':
    'https://ftp.gnu.org/gnu/mpfr/mpfr-%(version)s.tar.xz'}
             if component not in url_map:

2018-01-29  Palmer Dabbelt  <palmer@sifive.com>

        * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
        (Config): Likewise.