aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/ia64
AgeCommit message (Collapse)AuthorFilesLines
2014-02-16ia64: relocate out of ports/ subdirMike Frysinger396-155467/+0
2014-01-06ia64: regen libm-test-ulps from scratchMike Frysinger1-736/+26
Truncate the file first so as to delete old entries and to lower ULPs for tests that have improved. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06ia64: drop large results from libm-test-ulps [BZ #16401]Mike Frysinger1-24/+0
We don't want to record these test results as a good thing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06ia64: regenerate libm-test-ulpsMike Frysinger1-28/+8428
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-04ia64: fix build failure after async tls updatesMike Frysinger1-4/+4
The recent commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7 added a new local variable "offset" to tls_get_addr_tail. This conflicts with the ia64 code which also declares an offset code inline in this func. So have the ia64 code rename its local vars with a prefix that shouldn't collide with anything else in the future. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae80-80/+80
2013-12-24ia64: implement sotruss supportMike Frysinger1-0/+50
Tested with: $ cat test.c main(){close(0x1024, 2, 3);} $ gcc test.c $ sotruss -e ./a.out a.out -> libc.so.6.1 : __libc_start_main(0x4000000000000950, 0x1, 0x60000fffffb56bc8) a.out -> libc.so.6.1 : close(0x1024, 0x2, 0x3) a.out -> libc.so.6.1 : close - 0xffffffffffffffff Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-24ia64: link.h: adjust whitespaceMike Frysinger1-10/+10
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-11-28Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers1-0/+1
2013-11-21Don't use broken DL_AUTO_FUNCTION_ADDRESS()Guy Martin2-20/+28
On hppa and ia64, the macro DL_AUTO_FUNCTION_ADDRESS() uses the variable fptr[2] in it's own scope. The content of fptr[] is thus undefined right after the macro exits. Newer gcc's (>= 4.7) reuse the stack space of this variable triggering a segmentation fault in dl-init.c:69. To fix this we rewrite the macros to make the call directly to init and fini without needing to pass back a constructed function pointer.
2013-10-30rename configure.in to configure.acMike Frysinger2-1/+1
Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-10-04PowerPC floating point little-endian [1 of 15]Alan Modra1-4/+6
http://sourceware.org/ml/libc-alpha/2013-08/msg00081.html This is the first of a series of patches to ban ieee854_long_double and the ieee854_long_double macros when using IBM long double. union ieee854_long_double just isn't correct for IBM long double, especially when little-endian, and pretending it is OK has allowed a number of bugs to remain undetected in sysdeps/ieee754/ldbl-128ibm/. This changes the few places in generic code that use it. * stdio-common/printf_size.c (__printf_size): Don't use union ieee854_long_double in fpnum union. * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use signbit macro to retrieve sign from long double. * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to retrieve sign from long double. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. * sysdeps/x86_64/fpu/printf_fphex.c: Likewise. * math/test-misc.c (main): Don't use union ieee854_long_double. ports/ * sysdeps/ia64/fpu/printf_fphex.c: Adjust for fpnum change.
2013-09-23BZ #15754: CVE-2013-4788Carlos O'Donell1-0/+3
The pointer guard used for pointer mangling was not initialized for static applications resulting in the security feature being disabled. The pointer guard is now correctly initialized to a random value for static applications. Existing static applications need to be recompiled to take advantage of the fix. The test tst-ptrguard1-static and tst-ptrguard1 add regression coverage to ensure the pointer guards are sufficiently random and initialized to a default value.
2013-08-30Fix typos.Ondřej Bílka5-8/+8
2013-08-29Fix typos.Ondřej Bílka7-47/+47
2013-08-21Fix typos.Ondřej Bílka6-9/+9
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers2-3/+3
2013-05-22Don't include expected results in libm-test test names.Joseph Myers1-156/+156
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers1-16/+16
2013-03-12ia64: fix strict aliasing warnings with libm errorMike Frysinger1-58/+57
The current code declares double constants by using a char buffer and then casting the pointer to a different type. This makes the aliasing logic unhappy. Change it to use a union instead to avoid that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-03-12ia64: fix strict aliasing warnings with func descriptorsMike Frysinger3-3/+16
Function pointers on ia64 are like parisc -- they're plabels. While the parisc port enjoys a gcc builtin for extracting the address here, ia64 has no such luck. Casting & dereferencing in one go triggers a strict aliasing warning. Use a union to fix that. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-04Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers1-3/+0
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers79-80/+79
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers1-1/+2
2012-11-03Make fenv.h FE_* macros usable in #if (bug 3439).Joseph Myers1-22/+32
2012-10-30Fix strtod handling of underflow (bug 14047).Joseph Myers1-0/+1
2012-10-09Add missing magic to GLIBC_PROVIDES.Roland McGrath1-86/+0
2012-09-24ia64: define new get-rounding-mode.h headerMike Frysinger2-7/+40
The new strtod function wants rounding information from the C lib, so move the guts of the ia64 version into a header file for it to use. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-09-24ia64: override crtbeginT.oMike Frysinger1-0/+2
The ia64 gcc port has never shipped a crtbeginT.o, so keep using the old crtbegin.o object when static linking. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-16Fifth argument of la_pltenter() is not constant.Carlos O'Donell1-1/+1
The original runtime linker auditing interface described by Solaris allows the 5th argument of la_pltenter() to be modified. This patch cleans up the ldsodefs.h definitions such that the 5th argument is not constant. At one point the 5th argument *was* constant but this was changed with commit 2413fdba7a02ba8916f75d17199a6e9133a8f7b0. This patch updates alpha, ia64, mips, sh and sparc with similar changes.
2012-08-14ia64: drop HAVE_CPP_ASM_DEBUGINFOMike Frysinger2-83/+4
Looks like a wart copied from the i386 code base. The only place I can find that checks this is the i386 sysdep.h, and even then this looks like a check that should get thrown away as obsolete ... Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12ia64: drop TLS configure checkMike Frysinger2-67/+0
Since we require a new enough version of binutils that has TLS, we don't need to bother checking for it anymore. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-12ia64: drop ASM_TYPE_DIRECTIVE usageMike Frysinger2-5/+4
Matches what we've done in the rest of the tree. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-03ia64: fix byteswap conversion warningMike Frysinger2-2/+2
Same fix as went in for other architectures. URL: http://sourceware.org/bugzilla/show_bug.cgi?id=12194 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-07-01Move all files into ports/ subdirectory in preparation for merge with glibcglibc-2.16-ports-before-mergeJoseph Myers392-0/+147915