aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-09Use CFI statements instead of hand-coding .eh_frame.Chung-Lin Tang5-422/+112
2012-05-09Fix daylight time change for the USIan Wienand3-7/+19
[BZ #14080] * time/tzset.c (__tzset_parse_tz): Update default rules for daylight time changes in the Energy Policy Act of 2005.
2012-05-09Make ldconfig message clearerAndreas Jaeger3-4/+12
[BZ #13983] Let not confuse the user and think there's an error instead of a warning.
2012-05-08Minor optimization to sparc VIS3 floor() implementation.David S. Miller2-2/+4
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use movxtod instead of popping the value on the stack.
2012-05-08With -frounding-math, some sparc ULPs need to be adjusted.David S. Miller2-0/+37
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-08ARM: Define HAVE_ARM_PCS_VFP in config.h.Carlos O'Donell2-0/+7
If the compiler and flags would select the hard-float ABI then the ARM configure fragment will set HAVE_ARM_PCS_VFP. This is later used by the ARM shlib-versions to select the appropriately named dynamic linker.
2012-05-08Warn if user requests __FORTIFY_SOURCE but it is disabledRoland Mc Grath3-6/+16
[BZ #13979] * include/features.h: Warn if user requests __FORTIFY_SOURCE checking but the checks are disabled for any reason.
2012-05-08Replace Elf64_XXX/ELF64_R_TYPE with ElfW(XXX)/ELFW(R_TYPE)H.J. Lu2-40/+46
2012-05-08Remove more overridden entries from sysdeps/unix/sysv/syscalls.list.Joseph Myers2-2/+3
2012-05-08Remove entries from sysdeps/unix/sysv/syscalls.list duplicating ones in ↵Joseph Myers2-2/+5
sysdeps/unix/.
2012-05-08Revert "Revert "Build glibc with -frounding-math""Andreas Jaeger2-1/+14
This reverts commit 20f244a03fda84d1556674584b340e2459ef3d99.
2012-05-08tftp.h: rework layout to work with fortificationMike Frysinger2-9/+28
The current tftp structure does not work when fortification is enabled. Starting with gcc-4.5, more size checking was added to trigger these. Older versions just didn't have enough information, so they returned -1 as the sizes. First, the tu_stuff field is declared as 1 byte (when it's really an arbitrary length C string), so attempting to strcpy() with it results in crashes. This fails with _FORTIFY_SOURCE=1. Second, even if we change that to [0] (since gcc does not allow flexible array members in an union), gcc is not smart enough to see that they are two overlapping flexible arrays (tu_stuff and tu_data), so it will still trigger an abort with _FORTIFY_SOURCE=2. This is because it thinks that tu_stuff is 0 bytes and tu_data comes after it. Talking to upstream gcc, they don't seem terribly inclined to fix the 2nd issue, but even if they did, we still have plenty of 4.5 and 4.6 installs that would hit problems. So, let's re-order with a few more anonymous structs & unions so that the fields are laid out with a zero-length array always as the last field. This seems to fix things with gcc-4.6, and the tftp-hpa pkg continues to build & work. URL: https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/691345 URL: https://bugs.archlinux.org/task/28103 URL: https://bugs.gentoo.org/357083 URL: http://gcc.gnu.org/PR52944 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-07Update sparc ULPs for recently added exp tests.David S. Miller2-0/+19
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-07Fix sparc libm when all of glibc is built with -frounding-math.David S. Miller2-6/+26
[BZ #14074] * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro. (SETUP_PIC_REG): Use it. (SETUP_PIC_REG_LEAF): Use it.
2012-05-07Revert "Build glibc with -frounding-math"Andreas Jaeger2-14/+1
This reverts commit bd7b0e561f7f684cedfc4adb964569fe9ab16209. Conflicts: ChangeLog
2012-05-07Fix x86/x86_64 expm1l inaccuracy and exceptions (bugs 13885, 13923).Joseph Myers9-270/+174
2012-05-06Adjust sparc localplt entries.David S. Miller3-22/+29
* scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to quad soft-float symbols whose references are compiler generated. * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2012-05-06Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers11-62/+255
2012-05-06Fix libm-test.inc ulps calculation for subnormals (bug 14064).Joseph Myers3-3/+10
2012-05-06Patch 31dc8730af585d8e13021484752fb20decae0661 fixes BZ#13563Andreas Jaeger2-8/+9
Update NEWS and ChangeLog with BZ #13563
2012-05-06Update x86-64 libm-test-ulpsAndreas Jaeger2-0/+14
2012-05-06Fix dateAndreas Jaeger1-1/+1
2012-05-06Build glibc with -frounding-mathAndreas Jaeger2-1/+12
* Makeconfig (+math-flags): New, set to -frounding-math. (+cflags): Add +math-flags so that all of glibc gets compiled with it.
2012-05-05Disable one hypot test for inline double testing.Joseph Myers2-1/+4
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers8-64/+87
2012-05-05Use .S sources for x86/x86_64 expl.Joseph Myers5-79/+188
2012-05-05Remove overridden entries from sysdeps/unix/sysv/syscalls.list.Joseph Myers2-6/+9
2012-05-04Merge sysdeps/unix/common into sysdeps/unix.Joseph Myers5-21/+31
2012-05-04Move x86-64 abilist files to 64/nptlH.J. Lu14-0/+45
2012-05-04Remove unused sysdeps/unix/common/bits/ headers.Joseph Myers3-151/+3
2012-05-04Remove unused sysdeps/unix/bsd/ files.Joseph Myers8-557/+10
2012-05-04ChangeLog leading tabification.Roland McGrath1-6/+6
2012-05-04ChangeLog formatting nit.Roland McGrath1-1/+1
2012-05-04Revert "Do not build manual in the source directory"Andreas Jaeger5-109/+94
This reverts commit e3945c47bdac1149a1fec5d46bd567a248cd17b9. reverting since it breaks building.
2012-05-04Revert "Update install.texi for building manual in build dir"Andreas Jaeger2-6/+4
This reverts commit 0d80ac6813e3bf21fad6d87202e9efe6d0c17a82. Reverting since e3945c47bdac1149a1fec5d46bd567a248cd17b9 gets reverted as well.
2012-05-04Update install.texi for building manual in build dirAndreas Jaeger2-4/+6
2012-05-04Do not build manual in the source directoryAndreas Jaeger5-94/+109
[BZ #13750] Build the manual in the build directory and not anymore in the source directory.
2012-05-04Fix for ldbl-128ibm acosl/asinl inaccuraciesAdhemerval Zanella4-40/+186
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix long double comparison inaccuracies. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): * Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-05-04Fix missing vm86 symbolAndreas Schwab3-15/+21
2012-05-04Fix strtod rounding of hex values (bug 14049).Joseph Myers4-5/+28
2012-05-04Update s390 libm-test-ulpsAndreas Krebbel2-134/+1415
2012-05-03Fix tst-obprintf - and mcheck in generalAndreas Jaeger2-0/+12
tst-obprintf failed with GCC 4.7. It turned out that this is the fault of GCC optimizing away the following from malloc/mcheck.c: /* We call malloc() once here to ensure it is initialized. */ void *p = malloc (0); free (p); gcc sees the malloc(0);free pair and removes it completely. And now malloc is not properly initialized and we screw up if both mcheck is used (via tst-obprintf) and MALLOC_CHECK_ is set (as it is in my environment).
2012-05-03Do not delete make check-abi symlist filesAndreas Jaeger2-0/+14
Do not remove the .symlist files and thus do not run objdump for each library etc if you repeat the make check command.
2012-05-03Fix minor fallout from yesterdays sparc nptl changes.David S. Miller5-4/+15
nptl/ * sysdeps/sparc/sparc64/pthread_spin_unlock.S: Fix thinko, we always have to return 0, especially for the pthread_spin_init alias. * sysdeps/sparc/sparc32/pthread_spin_lock.S: Add missing trailing newline. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise. * sysdeps/sparc/sparc64/pthread_spin_lock.S: Likewise.
2012-05-03Fix conditions on checking versions of dprintf (bug 13775).Joseph Myers4-28/+54
2012-05-03Fix make clean for recent elf/Makefile changes.Roland McGrath2-3/+9
2012-05-03Update sysdeps/i386/fpu/libm-test-ulpsAndreas Jaeger2-0/+77
2012-05-03Move FAQ to wikiAndreas Jaeger6-3828/+15
The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not anymore part of the repository.
2012-05-02Mirror i386 change on sparc: 'Avoid "anonymous" code in pthread_spin_lock'David S. Miller15-139/+104
nptl/ * sysdeps/sparc/sparc64/pthread_spin_lock.S: New. * sysdeps/sparc/sparc64/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_unlock.S: New. * sysdeps/sparc/sparc64/pthread_spin_unlock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc64/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_init.c: New. * sysdeps/sparc/sparc32/pthread_spin_lock.S: New. * sysdeps/sparc/sparc32/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc32/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc32/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: New.
2012-05-02Fix test-suite failues with -Wl,--as-neededAllan McRae5-2/+52
Signed-off-by: Allan McRae <allan@archlinux.org>