glibc:fedora/2.22/master

Last commit made on 2015-08-25
Get this branch:
git clone -b fedora/2.22/master https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
fedora/2.22/master
Repository:
lp:glibc

Recent commits

64c2534... by Roland McGrath <email address hidden>

NaCl: Call __nacl_main in preference to main.

(cherry picked from commit f97194930886838796546646e26a49bb5899075b)

9031106... by Andrew Senkevich <email address hidden>

    [BZ #18796]
    * scripts/test-installation.pl: Don't add -lmvec to build options
    if libmvec wasn't built.
    * NEWS: Mention this fix.

a34d1c6... by Maxim Ostapenko

Clear DF_1_NODELETE flag only for failed to load library.

https://sourceware.org/bugzilla/show_bug.cgi?id=18778

If dlopen fails to load an object that has triggered loading libpthread it
causes ld.so to unload libpthread because its DF_1_NODELETE flags has been
forcefully cleared. The next call to __rtdl_unlock_lock_recursive will crash
since pthread_mutex_unlock no longer exists.

This patch moves l->l_flags_1 &= ~DF_1_NODELETE out of loop through all loaded
libraries and performs the action only on inconsistent one.

 [BZ #18778]
 * elf/Makefile (tests): Add Add tst-nodelete2.
 (modules-names): Add tst-nodelete2mod.
 (tst-nodelete2mod.so-no-z-defs): New.
 ($(objpfx)tst-nodelete2): Likewise.
 ($(objpfx)tst-nodelete2.out): Likewise.
 (LDFLAGS-tst-nodelete2): Likewise.
 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
 out of loop through all loaded libraries.
 * elf/tst-nodelete2.c: New file.
 * elf/tst-nodelete2mod.c: Likewise.

(cherry picked from commit f25238ffe0455013174438376b3ee88df496f9d1)

561a9f1... by Andreas Schwab <email address hidden>

Readd O_LARGEFILE flag for openat64 (bug 18781)

(cherry picked from commit eb32b0d40308166c4d8f6330cc2958cb1e545075)

19742d3... by John David Anglin

hppa: Fix reload error with atomic code [BZ #18787]

As noted in the bug, the asm operands need to be copied to register
variables to avoid operand reloads in the principal asm of the macro.
See the arm implementation for reference. Otherwise we get:
../sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error:
 can't find a register in class 'R1_REGS' while reloading 'asm'

Build tested on trunk with gcc-4.8. Similar patch has been tested
with 2.19 on Debian hppa-unknown-linux-gnu.

(cherry picked from commit 74bc0c3a16e3c8f138e29a284e84d16474b65a8e)

8415fb8... by Mike Frysinger

microblaze: include unix/sysdep.h

The semi-recent SYSCALL_CANCEL inclusion broke microblaze due to the
sysdep.h header not including the unix/sysdep.h header. Include it
here like all other ports.

(cherry picked from commit 5d5de49c3ccd69f65b801f1ca490a0112d1cbd7d)

f903b28... by Mike Frysinger

hppa: _dl_symbol_address: add missing hidden def

Commit 2a6ad8142d14c998e6c5eb51418aac1f598b621e updated the headers and
the common dl-symaddr.c, but missed that hppa has its own dedicated source
file for this func. Update that too to fix build errors due to missing
exports of the symbol.

(cherry picked from commit be144ba68c918a5d7bc964be06fbeb51a0df84fc)

ee2ff82... by Zack Weinberg

Correct comments about the history of <regexp.h>

In the "Kill regexp.h" thread, Joseph dug up more accurate information
about exactly which editions of the Single Unix Standard included and
deprecated this header.

78bd749... by Carlos O'Donell <email address hidden>

Update version.h and include/features.h for 2.22 release

0d261f4... by Chris Metcalf <email address hidden>

tilepro: fix warnings in sysdeps/tile/tilepro/bits/atomic.h

Using a ({ }) structure avoids the "value computed is not used"
that a simple () structure causes.