Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts: ChangeLog
This commit is contained in:
commit
0eb6f47528
61
ChangeLog
61
ChangeLog
|
@ -6,6 +6,67 @@
|
||||||
(tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
|
(tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
|
||||||
GET_ADDR_MODULE parameter.
|
GET_ADDR_MODULE parameter.
|
||||||
|
|
||||||
|
2012-01-30 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* crypt/cert.c: Remove __STDC__ conditionals.
|
||||||
|
* crypt/crypt-entry.c: Likewise.
|
||||||
|
* crypt/crypt_util.c: Likewise.
|
||||||
|
* libio/filedoalloc.c: Likewise.
|
||||||
|
* libio/fileops.c: Likewise.
|
||||||
|
* libio/genops.c: Likewise.
|
||||||
|
* libio/iofclose.c: Likewise.
|
||||||
|
* libio/iofdopen.c: Likewise.
|
||||||
|
* libio/iofopen.c: Likewise.
|
||||||
|
* libio/iofopen64.c: Likewise.
|
||||||
|
* libio/iogetdelim.c: Likewise.
|
||||||
|
* libio/iopopen.c: Likewise.
|
||||||
|
* libio/obprintf.c: Likewise.
|
||||||
|
* libio/oldfileops.c: Likewise.
|
||||||
|
* libio/oldiofclose.c: Likewise.
|
||||||
|
* libio/oldiofdopen.c: Likewise.
|
||||||
|
* libio/oldiofopen.c: Likewise.
|
||||||
|
* libio/oldiopopen.c: Likewise.
|
||||||
|
* libio/wfiledoalloc.c: Likewise.
|
||||||
|
* libio/wgenops.c: Likewise.
|
||||||
|
* locale/programs/xmalloc.c: Likewise.
|
||||||
|
* misc/syslog.c: Likewise.
|
||||||
|
* stdio-common/xbug.c: Likewise.
|
||||||
|
* string/memchr.c: Likewise.
|
||||||
|
* string/memcmp.c: Likewise.
|
||||||
|
* string/memrchr.c: Likewise.
|
||||||
|
* string/rawmemchr.c: Likewise.
|
||||||
|
* sysdeps/posix/getcwd.c: Likewise.
|
||||||
|
* time/strftime_l.c: Likewise.
|
||||||
|
|
||||||
|
2012-01-30 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* configure.in (libc_cv_cc_sse2avx): AC_SUBST.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* config.make.in (config-cflags-sse2avx): Define.
|
||||||
|
* sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
|
||||||
|
Fix typo.
|
||||||
|
|
||||||
|
2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
|
* scripts/config.guess: Update from upstream config git repository.
|
||||||
|
* scripts/config.sub: Likewise.
|
||||||
|
|
||||||
|
2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
|
||||||
|
|
||||||
|
* elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
|
||||||
|
(EM_NUM): Update.
|
||||||
|
(R_TILEPRO_*, R_TILEGX_*): New macros.
|
||||||
|
|
||||||
|
* scripts/firstversions.awk: Fix bug in version range handling.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
|
||||||
|
|
||||||
|
* include/sys/epoll.h: New file.
|
||||||
|
* sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
|
||||||
|
libc_hidden_def.
|
||||||
|
|
||||||
2012-01-28 Ulrich Drepper <drepper@gmail.com>
|
2012-01-28 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
|
* sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
|
||||||
|
|
|
@ -36,6 +36,7 @@ asflags-cpu = @libc_cv_cc_submachine@
|
||||||
|
|
||||||
config-cflags-sse4 = @libc_cv_cc_sse4@
|
config-cflags-sse4 = @libc_cv_cc_sse4@
|
||||||
config-cflags-avx = @libc_cv_cc_avx@
|
config-cflags-avx = @libc_cv_cc_avx@
|
||||||
|
config-cflags-sse2avx = @libc_cv_cc_sse2avx@
|
||||||
config-cflags-novzeroupper = @libc_cv_cc_novzeroupper@
|
config-cflags-novzeroupper = @libc_cv_cc_novzeroupper@
|
||||||
config-asflags-i686 = @libc_cv_as_i686@
|
config-asflags-i686 = @libc_cv_as_i686@
|
||||||
|
|
||||||
|
|
|
@ -620,6 +620,7 @@ use_ldconfig
|
||||||
libc_cv_as_i686
|
libc_cv_as_i686
|
||||||
libc_cv_cc_fma4
|
libc_cv_cc_fma4
|
||||||
libc_cv_cc_novzeroupper
|
libc_cv_cc_novzeroupper
|
||||||
|
libc_cv_cc_sse2avx
|
||||||
libc_cv_cc_avx
|
libc_cv_cc_avx
|
||||||
libc_cv_cc_sse4
|
libc_cv_cc_sse4
|
||||||
libc_cv_cpp_asm_debuginfo
|
libc_cv_cpp_asm_debuginfo
|
||||||
|
@ -7641,6 +7642,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5
|
||||||
|
|
|
@ -2154,6 +2154,7 @@ dnl sysdeps/CPU/configure.in checks set this via arch-specific asm tests
|
||||||
AC_SUBST(libc_cv_cpp_asm_debuginfo)
|
AC_SUBST(libc_cv_cpp_asm_debuginfo)
|
||||||
AC_SUBST(libc_cv_cc_sse4)
|
AC_SUBST(libc_cv_cc_sse4)
|
||||||
AC_SUBST(libc_cv_cc_avx)
|
AC_SUBST(libc_cv_cc_avx)
|
||||||
|
AC_SUBST(libc_cv_cc_sse2avx)
|
||||||
AC_SUBST(libc_cv_cc_novzeroupper)
|
AC_SUBST(libc_cv_cc_novzeroupper)
|
||||||
AC_SUBST(libc_cv_cc_fma4)
|
AC_SUBST(libc_cv_cc_fma4)
|
||||||
AC_SUBST(libc_cv_as_i686)
|
AC_SUBST(libc_cv_as_i686)
|
||||||
|
|
|
@ -12,14 +12,10 @@
|
||||||
|
|
||||||
int totfails = 0;
|
int totfails = 0;
|
||||||
|
|
||||||
#if __STDC__ - 0
|
|
||||||
int main (int argc, char *argv[]);
|
int main (int argc, char *argv[]);
|
||||||
void get8 (char *cp);
|
void get8 (char *cp);
|
||||||
void put8 (char *cp);
|
void put8 (char *cp);
|
||||||
void good_bye (void) __attribute__ ((noreturn));
|
void good_bye (void) __attribute__ ((noreturn));
|
||||||
#else
|
|
||||||
void get8(), put8();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void good_bye ()
|
void good_bye ()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* UFC-crypt: ultra fast crypt(3) implementation
|
* UFC-crypt: ultra fast crypt(3) implementation
|
||||||
*
|
*
|
||||||
* Copyright (C) 1991,1992,1993,1996,1997,2007 Free Software Foundation, Inc.
|
* Copyright (C) 1991-1993,1996-1997,2007,2012 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* The GNU C Library is free software; you can redistribute it and/or
|
* The GNU C Library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -46,7 +46,6 @@
|
||||||
#include "crypt-private.h"
|
#include "crypt-private.h"
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
#if __STDC__ - 0
|
|
||||||
#ifndef __GNU_LIBRARY__
|
#ifndef __GNU_LIBRARY__
|
||||||
void _ufc_clearmem (char *start, int cnt);
|
void _ufc_clearmem (char *start, int cnt);
|
||||||
#else
|
#else
|
||||||
|
@ -61,7 +60,6 @@ extern char *__sha256_crypt (const char *key, const char *salt);
|
||||||
extern char *__sha512_crypt_r (const char *key, const char *salt,
|
extern char *__sha512_crypt_r (const char *key, const char *salt,
|
||||||
char *buffer, int buflen);
|
char *buffer, int buflen);
|
||||||
extern char *__sha512_crypt (const char *key, const char *salt);
|
extern char *__sha512_crypt (const char *key, const char *salt);
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define our magic string to mark salt for MD5 encryption
|
/* Define our magic string to mark salt for MD5 encryption
|
||||||
replacement. This is meant to be the same as for other MD5 based
|
replacement. This is meant to be the same as for other MD5 based
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
#include "crypt-private.h"
|
#include "crypt-private.h"
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
#if __STDC__ - 0
|
|
||||||
#ifndef __GNU_LIBRARY__
|
#ifndef __GNU_LIBRARY__
|
||||||
void _ufc_clearmem (char *start, int cnt);
|
void _ufc_clearmem (char *start, int cnt);
|
||||||
void _ufc_copymem (char *from, char *to, int cnt);
|
void _ufc_copymem (char *from, char *to, int cnt);
|
||||||
|
@ -59,7 +58,6 @@ STATIC void shuffle_sb (long32 *k, ufc_long saltbits);
|
||||||
#else
|
#else
|
||||||
STATIC void shuffle_sb (long64 *k, ufc_long saltbits);
|
STATIC void shuffle_sb (long64 *k, ufc_long saltbits);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
222
elf/elf.h
222
elf/elf.h
|
@ -1,6 +1,5 @@
|
||||||
/* This file defines standard ELF types, structures, and macros.
|
/* This file defines standard ELF types, structures, and macros.
|
||||||
Copyright (C) 1995-2003,2004,2005,2006,2007,2008,2009,2010,2011
|
Copyright (C) 1995-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -251,7 +250,9 @@ typedef struct
|
||||||
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
|
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
|
||||||
#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
|
#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
|
||||||
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
|
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
|
||||||
#define EM_NUM 95
|
#define EM_TILEPRO 188 /* Tilera TILEPro */
|
||||||
|
#define EM_TILEGX 191 /* Tilera TILE-Gx */
|
||||||
|
#define EM_NUM 192
|
||||||
|
|
||||||
/* If it is necessary to assign new unofficial EM_* values, please
|
/* If it is necessary to assign new unofficial EM_* values, please
|
||||||
pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the
|
pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the
|
||||||
|
@ -2791,6 +2792,221 @@ typedef Elf32_Addr Elf32_Conflict;
|
||||||
#define R_M32R_NUM 256 /* Keep this the last entry. */
|
#define R_M32R_NUM 256 /* Keep this the last entry. */
|
||||||
|
|
||||||
|
|
||||||
|
/* TILEPro relocations. */
|
||||||
|
#define R_TILEPRO_NONE 0 /* No reloc */
|
||||||
|
#define R_TILEPRO_32 1 /* Direct 32 bit */
|
||||||
|
#define R_TILEPRO_16 2 /* Direct 16 bit */
|
||||||
|
#define R_TILEPRO_8 3 /* Direct 8 bit */
|
||||||
|
#define R_TILEPRO_32_PCREL 4 /* PC relative 32 bit */
|
||||||
|
#define R_TILEPRO_16_PCREL 5 /* PC relative 16 bit */
|
||||||
|
#define R_TILEPRO_8_PCREL 6 /* PC relative 8 bit */
|
||||||
|
#define R_TILEPRO_LO16 7 /* Low 16 bit */
|
||||||
|
#define R_TILEPRO_HI16 8 /* High 16 bit */
|
||||||
|
#define R_TILEPRO_HA16 9 /* High 16 bit, adjusted */
|
||||||
|
#define R_TILEPRO_COPY 10 /* Copy relocation */
|
||||||
|
#define R_TILEPRO_GLOB_DAT 11 /* Create GOT entry */
|
||||||
|
#define R_TILEPRO_JMP_SLOT 12 /* Create PLT entry */
|
||||||
|
#define R_TILEPRO_RELATIVE 13 /* Adjust by program base */
|
||||||
|
#define R_TILEPRO_BROFF_X1 14 /* X1 pipe branch offset */
|
||||||
|
#define R_TILEPRO_JOFFLONG_X1 15 /* X1 pipe jump offset */
|
||||||
|
#define R_TILEPRO_JOFFLONG_X1_PLT 16 /* X1 pipe jump offset to PLT */
|
||||||
|
#define R_TILEPRO_IMM8_X0 17 /* X0 pipe 8-bit */
|
||||||
|
#define R_TILEPRO_IMM8_Y0 18 /* Y0 pipe 8-bit */
|
||||||
|
#define R_TILEPRO_IMM8_X1 19 /* X1 pipe 8-bit */
|
||||||
|
#define R_TILEPRO_IMM8_Y1 20 /* Y1 pipe 8-bit */
|
||||||
|
#define R_TILEPRO_MT_IMM15_X1 21 /* X1 pipe mtspr */
|
||||||
|
#define R_TILEPRO_MF_IMM15_X1 22 /* X1 pipe mfspr */
|
||||||
|
#define R_TILEPRO_IMM16_X0 23 /* X0 pipe 16-bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1 24 /* X1 pipe 16-bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_LO 25 /* X0 pipe low 16-bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1_LO 26 /* X1 pipe low 16-bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_HI 27 /* X0 pipe high 16-bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1_HI 28 /* X1 pipe high 16-bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_HA 29 /* X0 pipe high 16-bit, adjusted */
|
||||||
|
#define R_TILEPRO_IMM16_X1_HA 30 /* X1 pipe high 16-bit, adjusted */
|
||||||
|
#define R_TILEPRO_IMM16_X0_PCREL 31 /* X0 pipe PC relative 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1_PCREL 32 /* X1 pipe PC relative 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_LO_PCREL 33 /* X0 pipe PC relative low 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1_LO_PCREL 34 /* X1 pipe PC relative low 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_HI_PCREL 35 /* X0 pipe PC relative high 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1_HI_PCREL 36 /* X1 pipe PC relative high 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_HA_PCREL 37 /* X0 pipe PC relative ha() 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X1_HA_PCREL 38 /* X1 pipe PC relative ha() 16 bit */
|
||||||
|
#define R_TILEPRO_IMM16_X0_GOT 39 /* X0 pipe 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_GOT 40 /* X1 pipe 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_GOT_LO 41 /* X0 pipe low 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_GOT_LO 42 /* X1 pipe low 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_GOT_HI 43 /* X0 pipe high 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_GOT_HI 44 /* X1 pipe high 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_GOT_HA 45 /* X0 pipe ha() 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_GOT_HA 46 /* X1 pipe ha() 16-bit GOT offset */
|
||||||
|
#define R_TILEPRO_MMSTART_X0 47 /* X0 pipe mm "start" */
|
||||||
|
#define R_TILEPRO_MMEND_X0 48 /* X0 pipe mm "end" */
|
||||||
|
#define R_TILEPRO_MMSTART_X1 49 /* X1 pipe mm "start" */
|
||||||
|
#define R_TILEPRO_MMEND_X1 50 /* X1 pipe mm "end" */
|
||||||
|
#define R_TILEPRO_SHAMT_X0 51 /* X0 pipe shift amount */
|
||||||
|
#define R_TILEPRO_SHAMT_X1 52 /* X1 pipe shift amount */
|
||||||
|
#define R_TILEPRO_SHAMT_Y0 53 /* Y0 pipe shift amount */
|
||||||
|
#define R_TILEPRO_SHAMT_Y1 54 /* Y1 pipe shift amount */
|
||||||
|
#define R_TILEPRO_DEST_IMM8_X1 55 /* X1 pipe destination 8-bit */
|
||||||
|
/* Relocs 56-59 are currently not defined. */
|
||||||
|
#define R_TILEPRO_TLS_GD_CALL 60 /* "jal" for TLS GD */
|
||||||
|
#define R_TILEPRO_IMM8_X0_TLS_GD_ADD 61 /* X0 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEPRO_IMM8_X1_TLS_GD_ADD 62 /* X1 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEPRO_IMM8_Y0_TLS_GD_ADD 63 /* Y0 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEPRO_IMM8_Y1_TLS_GD_ADD 64 /* Y1 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEPRO_TLS_IE_LOAD 65 /* "lw_tls" for TLS IE */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_GD 66 /* X0 pipe 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_GD 67 /* X1 pipe 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_GD_LO 68 /* X0 pipe low 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_GD_LO 69 /* X1 pipe low 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_GD_HI 70 /* X0 pipe high 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_GD_HI 71 /* X1 pipe high 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_GD_HA 72 /* X0 pipe ha() 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_GD_HA 73 /* X1 pipe ha() 16-bit TLS GD offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_IE 74 /* X0 pipe 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_IE 75 /* X1 pipe 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_IE_LO 76 /* X0 pipe low 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_IE_LO 77 /* X1 pipe low 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_IE_HI 78 /* X0 pipe high 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_IE_HI 79 /* X1 pipe high 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_IE_HA 80 /* X0 pipe ha() 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_IE_HA 81 /* X1 pipe ha() 16-bit TLS IE offset */
|
||||||
|
#define R_TILEPRO_TLS_DTPMOD32 82 /* ID of module containing symbol */
|
||||||
|
#define R_TILEPRO_TLS_DTPOFF32 83 /* Offset in TLS block */
|
||||||
|
#define R_TILEPRO_TLS_TPOFF32 84 /* Offset in static TLS block */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_LE 85 /* X0 pipe 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_LE 86 /* X1 pipe 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_LE_LO 87 /* X0 pipe low 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_LE_LO 88 /* X1 pipe low 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_LE_HI 89 /* X0 pipe high 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_LE_HI 90 /* X1 pipe high 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X0_TLS_LE_HA 91 /* X0 pipe ha() 16-bit TLS LE offset */
|
||||||
|
#define R_TILEPRO_IMM16_X1_TLS_LE_HA 92 /* X1 pipe ha() 16-bit TLS LE offset */
|
||||||
|
|
||||||
|
#define R_TILEPRO_GNU_VTINHERIT 128 /* GNU C++ vtable hierarchy */
|
||||||
|
#define R_TILEPRO_GNU_VTENTRY 129 /* GNU C++ vtable member usage */
|
||||||
|
|
||||||
|
#define R_TILEPRO_NUM 130
|
||||||
|
|
||||||
|
|
||||||
|
/* TILE-Gx relocations. */
|
||||||
|
#define R_TILEGX_NONE 0 /* No reloc */
|
||||||
|
#define R_TILEGX_64 1 /* Direct 64 bit */
|
||||||
|
#define R_TILEGX_32 2 /* Direct 32 bit */
|
||||||
|
#define R_TILEGX_16 3 /* Direct 16 bit */
|
||||||
|
#define R_TILEGX_8 4 /* Direct 8 bit */
|
||||||
|
#define R_TILEGX_64_PCREL 5 /* PC relative 64 bit */
|
||||||
|
#define R_TILEGX_32_PCREL 6 /* PC relative 32 bit */
|
||||||
|
#define R_TILEGX_16_PCREL 7 /* PC relative 16 bit */
|
||||||
|
#define R_TILEGX_8_PCREL 8 /* PC relative 8 bit */
|
||||||
|
#define R_TILEGX_HW0 9 /* hword 0 16-bit */
|
||||||
|
#define R_TILEGX_HW1 10 /* hword 1 16-bit */
|
||||||
|
#define R_TILEGX_HW2 11 /* hword 2 16-bit */
|
||||||
|
#define R_TILEGX_HW3 12 /* hword 3 16-bit */
|
||||||
|
#define R_TILEGX_HW0_LAST 13 /* last hword 0 16-bit */
|
||||||
|
#define R_TILEGX_HW1_LAST 14 /* last hword 1 16-bit */
|
||||||
|
#define R_TILEGX_HW2_LAST 15 /* last hword 2 16-bit */
|
||||||
|
#define R_TILEGX_COPY 16 /* Copy relocation */
|
||||||
|
#define R_TILEGX_GLOB_DAT 17 /* Create GOT entry */
|
||||||
|
#define R_TILEGX_JMP_SLOT 18 /* Create PLT entry */
|
||||||
|
#define R_TILEGX_RELATIVE 19 /* Adjust by program base */
|
||||||
|
#define R_TILEGX_BROFF_X1 20 /* X1 pipe branch offset */
|
||||||
|
#define R_TILEGX_JUMPOFF_X1 21 /* X1 pipe jump offset */
|
||||||
|
#define R_TILEGX_JUMPOFF_X1_PLT 22 /* X1 pipe jump offset to PLT */
|
||||||
|
#define R_TILEGX_IMM8_X0 23 /* X0 pipe 8-bit */
|
||||||
|
#define R_TILEGX_IMM8_Y0 24 /* Y0 pipe 8-bit */
|
||||||
|
#define R_TILEGX_IMM8_X1 25 /* X1 pipe 8-bit */
|
||||||
|
#define R_TILEGX_IMM8_Y1 26 /* Y1 pipe 8-bit */
|
||||||
|
#define R_TILEGX_DEST_IMM8_X1 27 /* X1 pipe destination 8-bit */
|
||||||
|
#define R_TILEGX_MT_IMM14_X1 28 /* X1 pipe mtspr */
|
||||||
|
#define R_TILEGX_MF_IMM14_X1 29 /* X1 pipe mfspr */
|
||||||
|
#define R_TILEGX_MMSTART_X0 30 /* X0 pipe mm "start" */
|
||||||
|
#define R_TILEGX_MMEND_X0 31 /* X0 pipe mm "end" */
|
||||||
|
#define R_TILEGX_SHAMT_X0 32 /* X0 pipe shift amount */
|
||||||
|
#define R_TILEGX_SHAMT_X1 33 /* X1 pipe shift amount */
|
||||||
|
#define R_TILEGX_SHAMT_Y0 34 /* Y0 pipe shift amount */
|
||||||
|
#define R_TILEGX_SHAMT_Y1 35 /* Y1 pipe shift amount */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0 36 /* X0 pipe hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0 37 /* X1 pipe hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1 38 /* X0 pipe hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1 39 /* X1 pipe hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW2 40 /* X0 pipe hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW2 41 /* X1 pipe hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW3 42 /* X0 pipe hword 3 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW3 43 /* X1 pipe hword 3 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_LAST 44 /* X0 pipe last hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_LAST 45 /* X1 pipe last hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_LAST 46 /* X0 pipe last hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_LAST 47 /* X1 pipe last hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW2_LAST 48 /* X0 pipe last hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW2_LAST 49 /* X1 pipe last hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_PCREL 50 /* X0 pipe PC relative hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_PCREL 51 /* X1 pipe PC relative hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_PCREL 52 /* X0 pipe PC relative hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_PCREL 53 /* X1 pipe PC relative hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW2_PCREL 54 /* X0 pipe PC relative hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW2_PCREL 55 /* X1 pipe PC relative hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW3_PCREL 56 /* X0 pipe PC relative hword 3 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW3_PCREL 57 /* X1 pipe PC relative hword 3 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_LAST_PCREL 58 /* X0 pipe PC-rel last hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_LAST_PCREL 59 /* X1 pipe PC-rel last hword 0 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_LAST_PCREL 60 /* X0 pipe PC-rel last hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_LAST_PCREL 61 /* X1 pipe PC-rel last hword 1 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW2_LAST_PCREL 62 /* X0 pipe PC-rel last hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW2_LAST_PCREL 63 /* X1 pipe PC-rel last hword 2 */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_GOT 64 /* X0 pipe hword 0 GOT offset */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_GOT 65 /* X1 pipe hword 0 GOT offset */
|
||||||
|
/* Relocs 66-71 are currently not defined. */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_LAST_GOT 72 /* X0 pipe last hword 0 GOT offset */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_LAST_GOT 73 /* X1 pipe last hword 0 GOT offset */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_LAST_GOT 74 /* X0 pipe last hword 1 GOT offset */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_LAST_GOT 75 /* X1 pipe last hword 1 GOT offset */
|
||||||
|
/* Relocs 76-77 are currently not defined. */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_TLS_GD 78 /* X0 pipe hword 0 TLS GD offset */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_TLS_GD 79 /* X1 pipe hword 0 TLS GD offset */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_TLS_LE 80 /* X0 pipe hword 0 TLS LE offset */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_TLS_LE 81 /* X1 pipe hword 0 TLS LE offset */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_LAST_TLS_LE 82 /* X0 pipe last hword 0 LE off */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_LAST_TLS_LE 83 /* X1 pipe last hword 0 LE off */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_LAST_TLS_LE 84 /* X0 pipe last hword 1 LE off */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_LAST_TLS_LE 85 /* X1 pipe last hword 1 LE off */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_LAST_TLS_GD 86 /* X0 pipe last hword 0 GD off */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_LAST_TLS_GD 87 /* X1 pipe last hword 0 GD off */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_LAST_TLS_GD 88 /* X0 pipe last hword 1 GD off */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_LAST_TLS_GD 89 /* X1 pipe last hword 1 GD off */
|
||||||
|
/* Relocs 90-91 are currently not defined. */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_TLS_IE 92 /* X0 pipe hword 0 TLS IE offset */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_TLS_IE 93 /* X1 pipe hword 0 TLS IE offset */
|
||||||
|
/* Relocs 94-99 are currently not defined. */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW0_LAST_TLS_IE 100 /* X0 pipe last hword 0 IE off */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW0_LAST_TLS_IE 101 /* X1 pipe last hword 0 IE off */
|
||||||
|
#define R_TILEGX_IMM16_X0_HW1_LAST_TLS_IE 102 /* X0 pipe last hword 1 IE off */
|
||||||
|
#define R_TILEGX_IMM16_X1_HW1_LAST_TLS_IE 103 /* X1 pipe last hword 1 IE off */
|
||||||
|
/* Relocs 104-105 are currently not defined. */
|
||||||
|
#define R_TILEGX_TLS_DTPMOD64 106 /* 64-bit ID of symbol's module */
|
||||||
|
#define R_TILEGX_TLS_DTPOFF64 107 /* 64-bit offset in TLS block */
|
||||||
|
#define R_TILEGX_TLS_TPOFF64 108 /* 64-bit offset in static TLS block */
|
||||||
|
#define R_TILEGX_TLS_DTPMOD32 109 /* 32-bit ID of symbol's module */
|
||||||
|
#define R_TILEGX_TLS_DTPOFF32 110 /* 32-bit offset in TLS block */
|
||||||
|
#define R_TILEGX_TLS_TPOFF32 111 /* 32-bit offset in static TLS block */
|
||||||
|
#define R_TILEGX_TLS_GD_CALL 112 /* "jal" for TLS GD */
|
||||||
|
#define R_TILEGX_IMM8_X0_TLS_GD_ADD 113 /* X0 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEGX_IMM8_X1_TLS_GD_ADD 114 /* X1 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEGX_IMM8_Y0_TLS_GD_ADD 115 /* Y0 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEGX_IMM8_Y1_TLS_GD_ADD 116 /* Y1 pipe "addi" for TLS GD */
|
||||||
|
#define R_TILEGX_TLS_IE_LOAD 117 /* "ld_tls" for TLS IE */
|
||||||
|
#define R_TILEGX_IMM8_X0_TLS_ADD 118 /* X0 pipe "addi" for TLS GD/IE */
|
||||||
|
#define R_TILEGX_IMM8_X1_TLS_ADD 119 /* X1 pipe "addi" for TLS GD/IE */
|
||||||
|
#define R_TILEGX_IMM8_Y0_TLS_ADD 120 /* Y0 pipe "addi" for TLS GD/IE */
|
||||||
|
#define R_TILEGX_IMM8_Y1_TLS_ADD 121 /* Y1 pipe "addi" for TLS GD/IE */
|
||||||
|
|
||||||
|
#define R_TILEGX_GNU_VTINHERIT 128 /* GNU C++ vtable hierarchy */
|
||||||
|
#define R_TILEGX_GNU_VTENTRY 129 /* GNU C++ vtable member usage */
|
||||||
|
|
||||||
|
#define R_TILEGX_NUM 130
|
||||||
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* elf.h */
|
#endif /* elf.h */
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef _SYS_EPOLL_H
|
||||||
|
#include_next <sys/epoll.h>
|
||||||
|
|
||||||
|
libc_hidden_proto (epoll_pwait)
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1997, 2001, 2002, 2011 Free Software Foundation, Inc.
|
/* Copyright (C) 1993, 1997, 2001-2002, 2011-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -62,10 +62,8 @@
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# undef isatty
|
# undef isatty
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009, 2011
|
/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009, 2011-2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Written by Per Bothner <bothner@cygnus.com>.
|
Written by Per Bothner <bothner@cygnus.com>.
|
||||||
|
@ -40,9 +40,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#if _LIBC
|
#if _LIBC
|
||||||
# include "../wcsmbs/wcsmbsload.h"
|
# include "../wcsmbs/wcsmbsload.h"
|
||||||
# include "../iconv/gconv_charset.h"
|
# include "../iconv/gconv_charset.h"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993,1995,1997-2002, 2003, 2004, 2006, 2007, 2011
|
/* Copyright (C) 1993,1995,1997-2002, 2003, 2004, 2006, 2007, 2011-2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -29,9 +29,7 @@
|
||||||
/* Generic or default I/O operations. */
|
/* Generic or default I/O operations. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993,1995,1997-2004,2005 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,1995,1997-2004,2005,2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -26,9 +26,7 @@
|
||||||
in files containing the exception. */
|
in files containing the exception. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#if _LIBC
|
#if _LIBC
|
||||||
# include "../iconv/gconv_int.h"
|
# include "../iconv/gconv_int.h"
|
||||||
# include <shlib-compat.h>
|
# include <shlib-compat.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993,1994,1997,1998,1999,2000,2002,2003,2010
|
/* Copyright (C) 1993,1994,1997,1998,1999,2000,2002,2003,2010,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -26,9 +26,7 @@
|
||||||
This exception applies to code released by its copyright holders
|
This exception applies to code released by its copyright holders
|
||||||
in files containing the exception. */
|
in files containing the exception. */
|
||||||
|
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993,1997,1998,1999,2000,2002,2003
|
/* Copyright (C) 1993,1997,1998,1999,2000,2002,2003,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -27,10 +27,8 @@
|
||||||
in files containing the exception. */
|
in files containing the exception. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#endif
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# include <shlib-compat.h>
|
# include <shlib-compat.h>
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,1997,1999,2000,2002,2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -26,9 +26,7 @@
|
||||||
in files containing the exception. */
|
in files containing the exception. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
_IO_FILE *
|
_IO_FILE *
|
||||||
_IO_fopen64 (filename, mode)
|
_IO_fopen64 (filename, mode)
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* Copyright (C) 1994,1996-1998,2001,2003,2005 Free Software Foundation, Inc.
|
/* Copyright (C) 1994,1996-1998,2001,2003,2005,2012
|
||||||
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -25,9 +26,7 @@
|
||||||
This exception applies to code released by its copyright holders
|
This exception applies to code released by its copyright holders
|
||||||
in files containing the exception. */
|
in files containing the exception. */
|
||||||
|
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1997-2002, 2003, 2004, 2007, 2008
|
/* Copyright (C) 1993, 1997-2002, 2003, 2004, 2007, 2008, 2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Written by Per Bothner <bothner@cygnus.com>.
|
Written by Per Bothner <bothner@cygnus.com>.
|
||||||
|
@ -34,9 +34,7 @@
|
||||||
#if _IO_HAVE_SYS_WAIT
|
#if _IO_HAVE_SYS_WAIT
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <shlib-compat.h>
|
# include <shlib-compat.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Print output of stream to given obstack.
|
/* Print output of stream to given obstack.
|
||||||
Copyright (C) 1996,1997,1999,2000,2001,2002,2003,2004,2005,2006,2008
|
Copyright (C) 1996,1997,1999,2000,2001,2002,2003,2004,2005,2006,2008,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
@ -20,9 +20,7 @@
|
||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
|
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include "strfile.h"
|
#include "strfile.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1995, 1997-2004, 2005, 2007, 2011
|
/* Copyright (C) 1993, 1995, 1997-2004, 2005, 2007, 2011-2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Written by Per Bothner <bothner@cygnus.com>.
|
Written by Per Bothner <bothner@cygnus.com>.
|
||||||
|
@ -42,9 +42,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#ifndef errno
|
#ifndef errno
|
||||||
extern int errno;
|
extern int errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* Copyright (C) 1993,1995,1997-2002,2004,2005 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,1995,1997-2002,2004,2005,2012
|
||||||
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -30,9 +31,7 @@
|
||||||
|
|
||||||
#define _IO_USE_OLD_IO_FILE
|
#define _IO_USE_OLD_IO_FILE
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
attribute_compat_text_section
|
attribute_compat_text_section
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993,94,97,99,2000,2002,2003,2004
|
/* Copyright (C) 1993,94,97,99,2000,2002,2003,2004,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -30,9 +30,7 @@
|
||||||
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
|
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
|
||||||
|
|
||||||
#define _IO_USE_OLD_IO_FILE
|
#define _IO_USE_OLD_IO_FILE
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993,1997,1999,2000,2002,2003,2004
|
/* Copyright (C) 1993,1997,1999,2000,2002,2003,2004,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -31,9 +31,7 @@
|
||||||
|
|
||||||
#define _IO_USE_OLD_IO_FILE
|
#define _IO_USE_OLD_IO_FILE
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
_IO_FILE *
|
_IO_FILE *
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1998-2002, 2004 Free Software Foundation, Inc.
|
/* Copyright (C) 1998-2002, 2004, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Written by Per Bothner <bothner@cygnus.com>.
|
Written by Per Bothner <bothner@cygnus.com>.
|
||||||
|
|
||||||
|
@ -34,9 +34,7 @@
|
||||||
#if _IO_HAVE_SYS_WAIT
|
#if _IO_HAVE_SYS_WAIT
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1997, 1999, 2000, 2002, 2006
|
/* Copyright (C) 1993, 1997, 1999, 2000, 2002, 2006, 2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -63,10 +63,8 @@
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# undef isatty
|
# undef isatty
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/* Copyright (C) 1993,1995,1997-2002,2004,2006 Free Software Foundation, Inc.
|
/* Copyright (C) 1993,1995,1997-2002,2004,2006,2012
|
||||||
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Written by Ulrich Drepper <drepper@cygnus.com>.
|
Written by Ulrich Drepper <drepper@cygnus.com>.
|
||||||
Based on the single byte version by Per Bothner <bothner@cygnus.com>.
|
Based on the single byte version by Per Bothner <bothner@cygnus.com>.
|
||||||
|
@ -30,9 +31,7 @@
|
||||||
/* Generic or default I/O operations. */
|
/* Generic or default I/O operations. */
|
||||||
|
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#ifdef __STDC__
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* xmalloc.c -- malloc with out of memory checking
|
/* xmalloc.c -- malloc with out of memory checking
|
||||||
Copyright (C) 1990,91,92,93,94,95,96,97,2004,2005
|
Copyright (C) 1990,91,92,93,94,95,96,97,2004,2005,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -21,11 +21,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __STDC__
|
|
||||||
#define VOID void
|
#define VOID void
|
||||||
#else
|
|
||||||
#define VOID char
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
|
|
@ -51,11 +51,7 @@ static char sccsid[] = "@(#)syslog.c 8.4 (Berkeley) 3/18/94";
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
||||||
#if __STDC__
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#else
|
|
||||||
#include <varargs.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <libio/iolibio.h>
|
#include <libio/iolibio.h>
|
||||||
#include <math_ldbl_opt.h>
|
#include <math_ldbl_opt.h>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
# Free Software Foundation, Inc.
|
# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2010-08-21'
|
timestamp='2012-01-01'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
|
@ -57,8 +57,8 @@ GNU config.guess ($timestamp)
|
||||||
|
|
||||||
Originally written by Per Bothner.
|
Originally written by Per Bothner.
|
||||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
@ -92,7 +92,7 @@ if test $# != 0; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap 'exit 1' HUP INT TERM
|
trap 'exit 1' 1 2 15
|
||||||
|
|
||||||
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
|
||||||
# compiler to aid in system detection is discouraged as it requires
|
# compiler to aid in system detection is discouraged as it requires
|
||||||
|
@ -106,7 +106,7 @@ trap 'exit 1' HUP INT TERM
|
||||||
|
|
||||||
set_cc_for_build='
|
set_cc_for_build='
|
||||||
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
||||||
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
|
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
||||||
: ${TMPDIR=/tmp} ;
|
: ${TMPDIR=/tmp} ;
|
||||||
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
||||||
|
@ -145,7 +145,7 @@ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
*:NetBSD:*:*)
|
*:NetBSD:*:*)
|
||||||
# NetBSD (nbsd) targets should (where applicable) match one or
|
# NetBSD (nbsd) targets should (where applicable) match one or
|
||||||
# more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
|
# more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
|
||||||
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
# *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
|
||||||
# switched to ELF, *-*-netbsd* would select the old
|
# switched to ELF, *-*-netbsd* would select the old
|
||||||
# object file format. This provides both forward
|
# object file format. This provides both forward
|
||||||
|
@ -270,7 +270,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||||
# A Xn.n version is an unreleased experimental baselevel.
|
# A Xn.n version is an unreleased experimental baselevel.
|
||||||
# 1.2 uses "1.2" for uname -r.
|
# 1.2 uses "1.2" for uname -r.
|
||||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||||
exit ;;
|
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
||||||
|
exitcode=$?
|
||||||
|
trap '' 0
|
||||||
|
exit $exitcode ;;
|
||||||
Alpha\ *:Windows_NT*:*)
|
Alpha\ *:Windows_NT*:*)
|
||||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||||
# Should we change UNAME_MACHINE based on the output of uname instead
|
# Should we change UNAME_MACHINE based on the output of uname instead
|
||||||
|
@ -789,13 +792,12 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
*:FreeBSD:*:*)
|
*:FreeBSD:*:*)
|
||||||
case ${UNAME_MACHINE} in
|
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
||||||
pc98)
|
case ${UNAME_PROCESSOR} in
|
||||||
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
|
||||||
amd64)
|
amd64)
|
||||||
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||||
*)
|
*)
|
||||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||||
esac
|
esac
|
||||||
exit ;;
|
exit ;;
|
||||||
i*:CYGWIN*:*)
|
i*:CYGWIN*:*)
|
||||||
|
@ -804,6 +806,9 @@ EOF
|
||||||
*:MINGW*:*)
|
*:MINGW*:*)
|
||||||
echo ${UNAME_MACHINE}-pc-mingw32
|
echo ${UNAME_MACHINE}-pc-mingw32
|
||||||
exit ;;
|
exit ;;
|
||||||
|
i*:MSYS*:*)
|
||||||
|
echo ${UNAME_MACHINE}-pc-msys
|
||||||
|
exit ;;
|
||||||
i*:windows32*:*)
|
i*:windows32*:*)
|
||||||
# uname -m includes "-pc" on this system.
|
# uname -m includes "-pc" on this system.
|
||||||
echo ${UNAME_MACHINE}-mingw32
|
echo ${UNAME_MACHINE}-mingw32
|
||||||
|
@ -879,20 +884,29 @@ EOF
|
||||||
then
|
then
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
else
|
else
|
||||||
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
| grep -q __ARM_PCS_VFP
|
||||||
|
then
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||||
|
else
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
exit ;;
|
exit ;;
|
||||||
avr32*:Linux:*:*)
|
avr32*:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
cris:Linux:*:*)
|
cris:Linux:*:*)
|
||||||
echo cris-axis-linux-gnu
|
echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
crisv32:Linux:*:*)
|
crisv32:Linux:*:*)
|
||||||
echo crisv32-axis-linux-gnu
|
echo ${UNAME_MACHINE}-axis-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
frv:Linux:*:*)
|
frv:Linux:*:*)
|
||||||
echo frv-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
exit ;;
|
||||||
|
hexagon:Linux:*:*)
|
||||||
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
i*86:Linux:*:*)
|
i*86:Linux:*:*)
|
||||||
LIBC=gnu
|
LIBC=gnu
|
||||||
|
@ -934,7 +948,7 @@ EOF
|
||||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||||
;;
|
;;
|
||||||
or32:Linux:*:*)
|
or32:Linux:*:*)
|
||||||
echo or32-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
padre:Linux:*:*)
|
padre:Linux:*:*)
|
||||||
echo sparc-unknown-linux-gnu
|
echo sparc-unknown-linux-gnu
|
||||||
|
@ -969,13 +983,13 @@ EOF
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
tile*:Linux:*:*)
|
tile*:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-tilera-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
vax:Linux:*:*)
|
vax:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-dec-linux-gnu
|
echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
echo x86_64-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
xtensa*:Linux:*:*)
|
xtensa*:Linux:*:*)
|
||||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||||
|
@ -1234,6 +1248,9 @@ EOF
|
||||||
*:QNX:*:4*)
|
*:QNX:*:4*)
|
||||||
echo i386-pc-qnx
|
echo i386-pc-qnx
|
||||||
exit ;;
|
exit ;;
|
||||||
|
NEO-?:NONSTOP_KERNEL:*:*)
|
||||||
|
echo neo-tandem-nsk${UNAME_RELEASE}
|
||||||
|
exit ;;
|
||||||
NSE-?:NONSTOP_KERNEL:*:*)
|
NSE-?:NONSTOP_KERNEL:*:*)
|
||||||
echo nse-tandem-nsk${UNAME_RELEASE}
|
echo nse-tandem-nsk${UNAME_RELEASE}
|
||||||
exit ;;
|
exit ;;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||||
# Free Software Foundation, Inc.
|
# 2011, 2012 Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2010-09-11'
|
timestamp='2012-01-28'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
|
@ -76,8 +76,8 @@ version="\
|
||||||
GNU config.sub ($timestamp)
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
|
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
@ -132,6 +132,10 @@ case $maybe_os in
|
||||||
os=-$maybe_os
|
os=-$maybe_os
|
||||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||||
;;
|
;;
|
||||||
|
android-linux)
|
||||||
|
os=-linux-android
|
||||||
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
|
||||||
if [ $basic_machine != $1 ]
|
if [ $basic_machine != $1 ]
|
||||||
|
@ -251,13 +255,17 @@ case $basic_machine in
|
||||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||||
| am33_2.0 \
|
| am33_2.0 \
|
||||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||||
|
| be32 | be64 \
|
||||||
| bfin \
|
| bfin \
|
||||||
| c4x | clipper \
|
| c4x | clipper \
|
||||||
| d10v | d30v | dlx | dsp16xx \
|
| d10v | d30v | dlx | dsp16xx \
|
||||||
|
| epiphany \
|
||||||
| fido | fr30 | frv \
|
| fido | fr30 | frv \
|
||||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||||
|
| hexagon \
|
||||||
| i370 | i860 | i960 | ia64 \
|
| i370 | i860 | i960 | ia64 \
|
||||||
| ip2k | iq2000 \
|
| ip2k | iq2000 \
|
||||||
|
| le32 | le64 \
|
||||||
| lm32 \
|
| lm32 \
|
||||||
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||||
| maxq | mb | microblaze | mcore | mep | metag \
|
| maxq | mb | microblaze | mcore | mep | metag \
|
||||||
|
@ -286,22 +294,23 @@ case $basic_machine in
|
||||||
| nds32 | nds32le | nds32be \
|
| nds32 | nds32le | nds32be \
|
||||||
| nios | nios2 \
|
| nios | nios2 \
|
||||||
| ns16k | ns32k \
|
| ns16k | ns32k \
|
||||||
|
| open8 \
|
||||||
| or32 \
|
| or32 \
|
||||||
| pdp10 | pdp11 | pj | pjl \
|
| pdp10 | pdp11 | pj | pjl \
|
||||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
| powerpc | powerpc64 | powerpc64le | powerpcle \
|
||||||
| pyramid \
|
| pyramid \
|
||||||
| rx \
|
| rl78 | rx \
|
||||||
| score \
|
| score \
|
||||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||||
| sh64 | sh64le \
|
| sh64 | sh64le \
|
||||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||||
| spu | strongarm \
|
| spu \
|
||||||
| tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
||||||
| ubicom32 \
|
| ubicom32 \
|
||||||
| v850 | v850e \
|
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
|
||||||
| we32k \
|
| we32k \
|
||||||
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
| x86 | xc16x | xstormy16 | xtensa \
|
||||||
| z8k | z80)
|
| z8k | z80)
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
;;
|
;;
|
||||||
|
@ -314,8 +323,7 @@ case $basic_machine in
|
||||||
c6x)
|
c6x)
|
||||||
basic_machine=tic6x-unknown
|
basic_machine=tic6x-unknown
|
||||||
;;
|
;;
|
||||||
m6811 | m68hc11 | m6812 | m68hc12 | picochip)
|
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
|
||||||
# Motorola 68HC11/12.
|
|
||||||
basic_machine=$basic_machine-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-none
|
os=-none
|
||||||
;;
|
;;
|
||||||
|
@ -325,6 +333,21 @@ case $basic_machine in
|
||||||
basic_machine=mt-unknown
|
basic_machine=mt-unknown
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
strongarm | thumb | xscale)
|
||||||
|
basic_machine=arm-unknown
|
||||||
|
;;
|
||||||
|
xgate)
|
||||||
|
basic_machine=$basic_machine-unknown
|
||||||
|
os=-none
|
||||||
|
;;
|
||||||
|
xscaleeb)
|
||||||
|
basic_machine=armeb-unknown
|
||||||
|
;;
|
||||||
|
|
||||||
|
xscaleel)
|
||||||
|
basic_machine=armel-unknown
|
||||||
|
;;
|
||||||
|
|
||||||
# We use `pc' rather than `unknown'
|
# We use `pc' rather than `unknown'
|
||||||
# because (1) that's what they normally are, and
|
# because (1) that's what they normally are, and
|
||||||
# (2) the word "unknown" tends to confuse beginning users.
|
# (2) the word "unknown" tends to confuse beginning users.
|
||||||
|
@ -344,6 +367,7 @@ case $basic_machine in
|
||||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||||
| avr-* | avr32-* \
|
| avr-* | avr32-* \
|
||||||
|
| be32-* | be64-* \
|
||||||
| bfin-* | bs2000-* \
|
| bfin-* | bs2000-* \
|
||||||
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||||
| clipper-* | craynv-* | cydra-* \
|
| clipper-* | craynv-* | cydra-* \
|
||||||
|
@ -352,8 +376,10 @@ case $basic_machine in
|
||||||
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||||
| h8300-* | h8500-* \
|
| h8300-* | h8500-* \
|
||||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||||
|
| hexagon-* \
|
||||||
| i*86-* | i860-* | i960-* | ia64-* \
|
| i*86-* | i860-* | i960-* | ia64-* \
|
||||||
| ip2k-* | iq2000-* \
|
| ip2k-* | iq2000-* \
|
||||||
|
| le32-* | le64-* \
|
||||||
| lm32-* \
|
| lm32-* \
|
||||||
| m32c-* | m32r-* | m32rle-* \
|
| m32c-* | m32r-* | m32rle-* \
|
||||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||||
|
@ -382,24 +408,26 @@ case $basic_machine in
|
||||||
| nds32-* | nds32le-* | nds32be-* \
|
| nds32-* | nds32le-* | nds32be-* \
|
||||||
| nios-* | nios2-* \
|
| nios-* | nios2-* \
|
||||||
| none-* | np1-* | ns16k-* | ns32k-* \
|
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||||
|
| open8-* \
|
||||||
| orion-* \
|
| orion-* \
|
||||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
|
||||||
| pyramid-* \
|
| pyramid-* \
|
||||||
| romp-* | rs6000-* | rx-* \
|
| rl78-* | romp-* | rs6000-* | rx-* \
|
||||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||||
| sparclite-* \
|
| sparclite-* \
|
||||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
|
||||||
| tahoe-* | thumb-* \
|
| tahoe-* \
|
||||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||||
| tile-* | tilegx-* \
|
| tile*-* \
|
||||||
| tron-* \
|
| tron-* \
|
||||||
| ubicom32-* \
|
| ubicom32-* \
|
||||||
| v850-* | v850e-* | vax-* \
|
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
|
||||||
|
| vax-* \
|
||||||
| we32k-* \
|
| we32k-* \
|
||||||
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
| x86-* | x86_64-* | xc16x-* | xps100-* \
|
||||||
| xstormy16-* | xtensa*-* \
|
| xstormy16-* | xtensa*-* \
|
||||||
| ymp-* \
|
| ymp-* \
|
||||||
| z8k-* | z80-*)
|
| z8k-* | z80-*)
|
||||||
|
@ -539,7 +567,7 @@ case $basic_machine in
|
||||||
basic_machine=craynv-cray
|
basic_machine=craynv-cray
|
||||||
os=-unicosmp
|
os=-unicosmp
|
||||||
;;
|
;;
|
||||||
cr16)
|
cr16 | cr16-*)
|
||||||
basic_machine=cr16-unknown
|
basic_machine=cr16-unknown
|
||||||
os=-elf
|
os=-elf
|
||||||
;;
|
;;
|
||||||
|
@ -697,7 +725,6 @@ case $basic_machine in
|
||||||
i370-ibm* | ibm*)
|
i370-ibm* | ibm*)
|
||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
;;
|
;;
|
||||||
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
|
|
||||||
i*86v32)
|
i*86v32)
|
||||||
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
|
||||||
os=-sysv32
|
os=-sysv32
|
||||||
|
@ -794,10 +821,18 @@ case $basic_machine in
|
||||||
ms1-*)
|
ms1-*)
|
||||||
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||||
;;
|
;;
|
||||||
|
msys)
|
||||||
|
basic_machine=i386-pc
|
||||||
|
os=-msys
|
||||||
|
;;
|
||||||
mvs)
|
mvs)
|
||||||
basic_machine=i370-ibm
|
basic_machine=i370-ibm
|
||||||
os=-mvs
|
os=-mvs
|
||||||
;;
|
;;
|
||||||
|
nacl)
|
||||||
|
basic_machine=le32-unknown
|
||||||
|
os=-nacl
|
||||||
|
;;
|
||||||
ncr3000)
|
ncr3000)
|
||||||
basic_machine=i486-ncr
|
basic_machine=i486-ncr
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
|
@ -950,9 +985,10 @@ case $basic_machine in
|
||||||
;;
|
;;
|
||||||
power) basic_machine=power-ibm
|
power) basic_machine=power-ibm
|
||||||
;;
|
;;
|
||||||
ppc) basic_machine=powerpc-unknown
|
ppc | ppcbe) basic_machine=powerpc-unknown
|
||||||
;;
|
;;
|
||||||
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
ppc-* | ppcbe-*)
|
||||||
|
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
ppcle | powerpclittle | ppc-le | powerpc-little)
|
ppcle | powerpclittle | ppc-le | powerpc-little)
|
||||||
basic_machine=powerpcle-unknown
|
basic_machine=powerpcle-unknown
|
||||||
|
@ -1046,6 +1082,9 @@ case $basic_machine in
|
||||||
basic_machine=i860-stratus
|
basic_machine=i860-stratus
|
||||||
os=-sysv4
|
os=-sysv4
|
||||||
;;
|
;;
|
||||||
|
strongarm-* | thumb-*)
|
||||||
|
basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
|
;;
|
||||||
sun2)
|
sun2)
|
||||||
basic_machine=m68000-sun
|
basic_machine=m68000-sun
|
||||||
;;
|
;;
|
||||||
|
@ -1102,13 +1141,8 @@ case $basic_machine in
|
||||||
basic_machine=t90-cray
|
basic_machine=t90-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
;;
|
;;
|
||||||
# This must be matched before tile*.
|
|
||||||
tilegx*)
|
|
||||||
basic_machine=tilegx-unknown
|
|
||||||
os=-linux-gnu
|
|
||||||
;;
|
|
||||||
tile*)
|
tile*)
|
||||||
basic_machine=tile-unknown
|
basic_machine=$basic_machine-unknown
|
||||||
os=-linux-gnu
|
os=-linux-gnu
|
||||||
;;
|
;;
|
||||||
tx39)
|
tx39)
|
||||||
|
@ -1178,6 +1212,9 @@ case $basic_machine in
|
||||||
xps | xps100)
|
xps | xps100)
|
||||||
basic_machine=xps100-honeywell
|
basic_machine=xps100-honeywell
|
||||||
;;
|
;;
|
||||||
|
xscale-* | xscalee[bl]-*)
|
||||||
|
basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
|
||||||
|
;;
|
||||||
ymp)
|
ymp)
|
||||||
basic_machine=ymp-cray
|
basic_machine=ymp-cray
|
||||||
os=-unicos
|
os=-unicos
|
||||||
|
@ -1315,7 +1352,7 @@ case $os in
|
||||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||||
| -chorusos* | -chorusrdb* | -cegcc* \
|
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||||
| -mingw32* | -linux-gnu* | -linux-android* \
|
| -mingw32* | -linux-gnu* | -linux-android* \
|
||||||
| -linux-newlib* | -linux-uclibc* \
|
| -linux-newlib* | -linux-uclibc* \
|
||||||
| -uxpv* | -beos* | -mpeix* | -udk* \
|
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||||
|
@ -1527,9 +1564,6 @@ case $basic_machine in
|
||||||
;;
|
;;
|
||||||
m68000-sun)
|
m68000-sun)
|
||||||
os=-sunos3
|
os=-sunos3
|
||||||
# This also exists in the configure program, but was not the
|
|
||||||
# default.
|
|
||||||
# os=-sunos4
|
|
||||||
;;
|
;;
|
||||||
m68*-cisco)
|
m68*-cisco)
|
||||||
os=-aout
|
os=-aout
|
||||||
|
|
|
@ -54,9 +54,13 @@ $1 == "}" {
|
||||||
while (vers_compare($1, v) >= 0) {
|
while (vers_compare($1, v) >= 0) {
|
||||||
delete firstversion[thislib, idx[thislib]];
|
delete firstversion[thislib, idx[thislib]];
|
||||||
idx[thislib]++;
|
idx[thislib]++;
|
||||||
if ((thislib, idx[thislib]) in firstversion)
|
if ((thislib, idx[thislib]) in firstversion) {
|
||||||
|
# If we're skipping a referenced version to jump ahead to a
|
||||||
|
# later version, synthesize the earlier referenced version now.
|
||||||
|
if (v != $1 && (thislib, v) in usedversion)
|
||||||
|
print " " v;
|
||||||
v = firstversion[thislib, idx[thislib]];
|
v = firstversion[thislib, idx[thislib]];
|
||||||
else
|
} else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ($1 == v || $1 == f)
|
if ($1 == v || $1 == f)
|
||||||
|
|
|
@ -8,11 +8,9 @@ typedef struct _Buffer {
|
||||||
int room, used;
|
int room, used;
|
||||||
} Buffer;
|
} Buffer;
|
||||||
|
|
||||||
#if __STDC__ - 0
|
|
||||||
void InitBuffer (Buffer *b);
|
void InitBuffer (Buffer *b);
|
||||||
void AppendToBuffer (register Buffer *b, const char *str, register int len);
|
void AppendToBuffer (register Buffer *b, const char *str, register int len);
|
||||||
void ReadFile (register Buffer *buffer, FILE *input);
|
void ReadFile (register Buffer *buffer, FILE *input);
|
||||||
#endif
|
|
||||||
|
|
||||||
#define INIT_BUFFER_SIZE 10000
|
#define INIT_BUFFER_SIZE 10000
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991,93,96,97,99,2000,2003 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,93,96,97,99,2000,2003,2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
||||||
with help from Dan Sahlin (dan@sics.se) and
|
with help from Dan Sahlin (dan@sics.se) and
|
||||||
|
@ -26,11 +26,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef __ptr_t
|
#undef __ptr_t
|
||||||
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
|
|
||||||
#define __ptr_t void *
|
#define __ptr_t void *
|
||||||
#else /* Not C++ or ANSI C. */
|
|
||||||
# define __ptr_t char *
|
|
||||||
#endif /* C++ or ANSI C. */
|
|
||||||
|
|
||||||
#if defined _LIBC
|
#if defined _LIBC
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004
|
/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004,2012
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Torbjorn Granlund (tege@sics.se).
|
Contributed by Torbjorn Granlund (tege@sics.se).
|
||||||
|
@ -23,13 +23,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef __ptr_t
|
#undef __ptr_t
|
||||||
#if defined __cplusplus || (defined __STDC__ && __STDC__)
|
|
||||||
#define __ptr_t void *
|
#define __ptr_t void *
|
||||||
#else /* Not C++ or ANSI C. */
|
|
||||||
# undef const
|
|
||||||
# define const
|
|
||||||
# define __ptr_t char *
|
|
||||||
#endif /* C++ or ANSI C. */
|
|
||||||
|
|
||||||
#if defined HAVE_STRING_H || defined _LIBC
|
#if defined HAVE_STRING_H || defined _LIBC
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* memrchr -- find the last occurrence of a byte in a memory block
|
/* memrchr -- find the last occurrence of a byte in a memory block
|
||||||
Copyright (C) 1991, 93, 96, 97, 99, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1991, 93, 96, 97, 99, 2000, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
||||||
with help from Dan Sahlin (dan@sics.se) and
|
with help from Dan Sahlin (dan@sics.se) and
|
||||||
|
@ -29,11 +29,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef __ptr_t
|
#undef __ptr_t
|
||||||
#if defined __cplusplus || (defined __STDC__ && __STDC__)
|
|
||||||
#define __ptr_t void *
|
#define __ptr_t void *
|
||||||
#else /* Not C++ or ANSI C. */
|
|
||||||
# define __ptr_t char *
|
|
||||||
#endif /* C++ or ANSI C. */
|
|
||||||
|
|
||||||
#if defined _LIBC
|
#if defined _LIBC
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991,93,96,97,99,2000,2002 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,93,96,97,99,2000,2002,2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
||||||
with help from Dan Sahlin (dan@sics.se) and
|
with help from Dan Sahlin (dan@sics.se) and
|
||||||
|
@ -26,11 +26,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef __ptr_t
|
#undef __ptr_t
|
||||||
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
|
|
||||||
#define __ptr_t void *
|
#define __ptr_t void *
|
||||||
#else /* Not C++ or ANSI C. */
|
|
||||||
# define __ptr_t char *
|
|
||||||
#endif /* C++ or ANSI C. */
|
|
||||||
|
|
||||||
#if defined (_LIBC)
|
#if defined (_LIBC)
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991,92,93,94,95,96,97,98,99,11 Free Software Foundation, Inc.
|
/* Copyright (C) 1991-1999,2011-2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -192,10 +192,6 @@ extern char *alloca ();
|
||||||
# define size_t unsigned int
|
# define size_t unsigned int
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !__STDC__ && !defined const
|
|
||||||
# define const
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __GNU_LIBRARY__
|
#ifndef __GNU_LIBRARY__
|
||||||
# define __lstat64 stat64
|
# define __lstat64 stat64
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2007 Free Software Foundation, Inc.
|
/* Copyright (C) 2007, 2011, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -67,3 +67,5 @@ stub_warning (epoll_pwait)
|
||||||
|
|
||||||
# include <stub-tag.h>
|
# include <stub-tag.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
libc_hidden_def (epoll_pwait)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Test for access to file, relative to open directory. Linux version.
|
/* Test for access to file, relative to open directory. Linux version.
|
||||||
Copyright (C) 2006, 2009 Free Software Foundation, Inc.
|
Copyright (C) 2006, 2009, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -114,7 +114,7 @@ faccessat (fd, file, mode, flag)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct stat64 stats;
|
struct stat64 stats;
|
||||||
if (fstatat64 (fd, file, &stats, flag & AT_SYMLINK_NOFOLLOW))
|
if (__fxstatat64 (_STAT_VER, fd, file, &stats, flag & AT_SYMLINK_NOFOLLOW))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
mode &= (X_OK | W_OK | R_OK); /* Clear any bogus bits. */
|
mode &= (X_OK | W_OK | R_OK); /* Clear any bogus bits. */
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "not-cancel.h"
|
#include <not-cancel.h>
|
||||||
|
|
||||||
#include "pty-private.h"
|
#include "pty-private.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ CFLAGS-mpexp-avx.c = -msse2avx -DSSE2AVX
|
||||||
CFLAGS-mplog-avx.c = -msse2avx -DSSE2AVX
|
CFLAGS-mplog-avx.c = -msse2avx -DSSE2AVX
|
||||||
CFLAGS-s_atan-avx.c = -msse2avx -DSSE2AVX
|
CFLAGS-s_atan-avx.c = -msse2avx -DSSE2AVX
|
||||||
CFLAGS-s_sin-avx.c = -msse2avx -DSSE2AVX
|
CFLAGS-s_sin-avx.c = -msse2avx -DSSE2AVX
|
||||||
CFLAGS-slowexp-avx.c = -sse2mavx -DSSE2AVX
|
CFLAGS-slowexp-avx.c = -msse2avx -DSSE2AVX
|
||||||
CFLAGS-s_tan-avx.c = -msse2avx -DSSE2AVX
|
CFLAGS-s_tan-avx.c = -msse2avx -DSSE2AVX
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 2002, 2004, 2007-2009, 2010 Free Software Foundation, Inc.
|
/* Copyright (C) 2002,2004,2007-2009,2010,2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -124,11 +124,7 @@ extern char *tzname[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PTR
|
#ifndef PTR
|
||||||
# ifdef __STDC__
|
|
||||||
# define PTR void *
|
# define PTR void *
|
||||||
# else
|
|
||||||
# define PTR char *
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CHAR_BIT
|
#ifndef CHAR_BIT
|
||||||
|
|
Loading…
Reference in New Issue