2015-01-05 Steve Ellcey <sellcey@imgtec.com>
[platform/upstream/glibc.git] / ChangeLog
index 4597880..122d582 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,291 @@
+2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
+       to avoid using stl/str to align destination.
+
+2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
+
+2015-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17796]
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
+       [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
+       Define as weak alias not strong alias.
+
+2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
+
+       * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
+       bltzal with addiupc.
+       (RTLD_START): Ditto.
+
+2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
+
+        * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
+        for __vdso_* functions in declarations.
+        * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
+        definitions.
+        * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
+        INTERNAL_VSYSCALL): Use struct return types to check for error.
+
+       * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
+       && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
+       function with cast from llround().
+       * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
+       * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
+       Define.
+
+2015-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17793]
+       * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
+       Define as weak alias not strong alias.
+
+       [BZ #17635]
+       * ctype/ctype-c99.c: New file.  isblank implementation moved from
+       ...
+       * ctype/ctype-extn.c: ... here.
+       (__isblank_l): Move to ...
+       * ctype/ctype-c99_l.c: ... here.  New file.
+       * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
+       * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
+       Remove variable.
+       (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
+       (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
+       (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
+       (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
+       (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
+
+       [BZ #17777]
+       * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
+       (posix_fadvise64): Define as weak alias not strong alias.
+       * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
+       (posix_fallocate64): Likewise.
+       * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
+       Remove variable.
+       (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
+       (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
+       (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
+       (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
+       (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
+
+2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       [BZ #16191]
+       * NEWS: Mention bug fix.
+       * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
+       (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
+       (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
+       (HOST_STACK_END_ADDR): Likewise.
+
+2015-01-02  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17748]
+       * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
+       * math/fegetround.c (fegetround): Rename to __fegetround and
+       define as weak alias of __fegetround.  Use libm_hidden_weak.
+       * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/arm/fegetround.c (fegetround): Likewise.
+       * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
+       Undefine after rather than before function definition; use
+       parentheses around function name in definition.
+       (__fegetround): Also undefine macro after function definition.
+       * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
+       __fegetround and define as weak alias of __fegetround.  Use
+       libm_hidden_weak.  Do not undefine as macro.
+       * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
+       Likewise.
+       * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
+       __fegetround and define as weak alias of __fegetround.  Use
+       libm_hidden_weak.
+       * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
+       * sysdeps/tile/math_private.h (__fegetround): New inline function.
+       * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
+       __fegetround and define as weak alias of __fegetround.  Use
+       libm_hidden_weak.
+       * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
+       __fegetround instead of fegetround.
+
+       [BZ #17782]
+       * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
+       Condition macro definition on [__USE_MISC].
+
+       [BZ #17781]
+       * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
+       (struct sigaction): Change type of sa_flags field to int.
+
+       [BZ #17780]
+       * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
+       [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
+       __glibc_reserved0.
+
+       * nptl/version.c (banner): Use single year in copyright notice.
+
+       * NEWS: Update copyright dates.
+       * catgets/gencat.c (print_version): Likewise.
+       * csu/version.c (banner): Likewise.
+       * debug/catchsegv.sh: Likewise.
+       * debug/pcprofiledump.c (print_version): Likewise.
+       * debug/xtrace.sh (do_version): Likewise.
+       * elf/ldconfig.c (print_version): Likewise.
+       * elf/ldd.bash.in: Likewise.
+       * elf/pldd.c (print_version): Likewise.
+       * elf/sotruss.sh: Likewise.
+       * elf/sprof.c (print_version): Likewise.
+       * iconv/iconv_prog.c (print_version): Likewise.
+       * iconv/iconvconfig.c (print_version): Likewise.
+       * locale/programs/locale.c (print_version): Likewise.
+       * locale/programs/localedef.c (print_version): Likewise.
+       * login/programs/pt_chown.c (print_version): Likewise.
+       * malloc/memusage.sh (do_version): Likewise.
+       * malloc/memusagestat.c (print_version): Likewise.
+       * malloc/mtrace.pl: Likewise.
+       * manual/libc.texinfo: Likewise.
+       * nptl/version.c (banner): Likewise.
+       * nscd/nscd.c (print_version): Likewise.
+       * nss/getent.c (print_version): Likewise.
+       * nss/makedb.c (print_version): Likewise.
+       * posix/getconf.c (main): Likewise.
+       * scripts/test-installation.pl: Likewise.
+       * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
+
+2015-01-02  Will Newton  <will.newton@linaro.org>
+
+       * sysdeps/arm/armv7/configure: Removed.
+       * sysdeps/arm/armv7/configure.ac: Likewise.
+
+2015-01-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * All files with FSF copyright notices: Update copyright dates
+       using scripts/update-copyrights.
+       * intl/plural.c: Regenerated.
+       * locale/programs/charmap-kw.h: Likewise.
+       * locale/programs/locfile-kw.h: Likewise.
+
+2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
+
+2014-12-31  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #17748]
+       * include/fenv.h (__fegetenv): Use libm_hidden_proto.
+       * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
+       * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
+       and define as weak alias of __fegetenv.  Use libm_hidden_weak.
+       * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
+       * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
+       define as weak alias of __fegetenv.  Use libm_hidden_weak.
+       * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
+       * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
+       * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
+       define as weak alias of __fegetenv.  Use libm_hidden_weak.
+       * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
+       * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
+       define as weak alias of __fegetenv.  Use libm_hidden_weak.
+       * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
+       libm_hidden_def.
+       * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
+       * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
+       Likewise.
+       * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
+       define as weak alias of __fegetenv.  Use libm_hidden_weak.
+       * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
+       * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
+       * sysdeps/tile/math_private.h (__fegetenv): New inline function.
+       * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
+       and define as weak alias of __fegetenv.  Use libm_hidden_weak.
+       * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
+       __fegetenv instead of fegetenv.
+       (libc_feholdsetround_noex_ctx): Likewise.
+
+2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
+       (Elf_MIPS_ABIFlags_v0): New structure.
+       (EF_MIPS_FP64): Define.
+       (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
+       (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
+       (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
+       (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
+       (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
+       (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
+       (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
+       (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
+       (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
+       (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
+       (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
+       (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
+       (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
+       (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
+       (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
+       (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
+       (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
+       (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
+       (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
+       * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
+       tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
+       * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
+       field.
+       * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
+       EF_MIPS_FP64.
+       * sysdeps/mips/dl-machine-reject-phdr.h: New file.
+       * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
+       * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
+       * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
+       * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
+       * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
+       * sysdeps/mips/tst-abi-interlink.c: Likewise.
+       * sysdeps/mips/tst-mode-switch-1.c: Likewise.
+       * sysdeps/mips/tst-mode-switch-2.c: Likewise.
+       * sysdeps/mips/tst-mode-switch-3.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
+       record the current FP ABI extension.
+       (mips-mode-switch): Define to show if kernel headers support mode
+       switching.
+       * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
+       * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
+       supported SYSV ABI version to 3.
+       * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
+       feature.
+
+2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
+           Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
+       path.
+       * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
+
+2014-12-31  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
+       __fegetround and redefine to call __fegetround.  Remove condition
+       on [!__NO_MATH_INLINES].
+       * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
+       function.
+       * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
+       * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
+       Remove macro.
+       * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
+       instead of <fenv_libc.h>.
+       (__llrintl): Call fegetround instead of __fegetround.
+       * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
+       instead of <fenv_libc.h>.
+       * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
+       (__lrintl): Call fegetround instead of __fegetround.
+       * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
+       instead of <fenv_libc.h>.
+       * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
+       (__rintl): Call fegetround instead of __fegetround.
+
 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional