mirror of
https://sourceware.org/git/glibc.git
synced 2025-09-02 16:01:20 +03:00
Fix _XOPEN_SOURCE_EXTENDED handling.
This commit is contained in:
17
ChangeLog
17
ChangeLog
@@ -1,4 +1,19 @@
|
|||||||
2010-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2010-01-15 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* include/features.h: _XOPEN_SOURCE_EXTENDED is not defined to be
|
||||||
|
used without _XOPEN_SOURCE. Don't base any decisions on this macro
|
||||||
|
if _XOPEN_SOURCE is not defined as well.
|
||||||
|
|
||||||
|
2010-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
|
* sysdeps/s390/s390-32/elf/start.S (_start): Added check for the
|
||||||
|
high gprs kernel facility.
|
||||||
|
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_matches_host):
|
||||||
|
Added high gprs check for DSOs.
|
||||||
|
* elf/elf.h (EF_S390_HIGH_GPRS): Added macro definition for the
|
||||||
|
new elf header flag.
|
||||||
|
|
||||||
|
XS2010-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
* elf/dl-sysdep.c (_dl_sysdep_start): Added the auxv parameter to
|
* elf/dl-sysdep.c (_dl_sysdep_start): Added the auxv parameter to
|
||||||
dl_main.
|
dl_main.
|
||||||
|
@@ -146,8 +146,7 @@
|
|||||||
/* If _BSD_SOURCE was defined by the user, favor BSD over POSIX. */
|
/* If _BSD_SOURCE was defined by the user, favor BSD over POSIX. */
|
||||||
#if defined _BSD_SOURCE && \
|
#if defined _BSD_SOURCE && \
|
||||||
!(defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || \
|
!(defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || \
|
||||||
defined _XOPEN_SOURCE || defined _XOPEN_SOURCE_EXTENDED || \
|
defined _XOPEN_SOURCE || defined _GNU_SOURCE || defined _SVID_SOURCE)
|
||||||
defined _GNU_SOURCE || defined _SVID_SOURCE)
|
|
||||||
# define __FAVOR_BSD 1
|
# define __FAVOR_BSD 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -179,8 +178,7 @@
|
|||||||
define _BSD_SOURCE and _SVID_SOURCE. */
|
define _BSD_SOURCE and _SVID_SOURCE. */
|
||||||
#if (!defined __STRICT_ANSI__ && !defined _ISOC99_SOURCE && \
|
#if (!defined __STRICT_ANSI__ && !defined _ISOC99_SOURCE && \
|
||||||
!defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE && \
|
!defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE && \
|
||||||
!defined _XOPEN_SOURCE && !defined _XOPEN_SOURCE_EXTENDED && \
|
!defined _XOPEN_SOURCE && !defined _BSD_SOURCE && !defined _SVID_SOURCE)
|
||||||
!defined _BSD_SOURCE && !defined _SVID_SOURCE)
|
|
||||||
# define _BSD_SOURCE 1
|
# define _BSD_SOURCE 1
|
||||||
# define _SVID_SOURCE 1
|
# define _SVID_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user