~ubuntu-branches/ubuntu/utopic/eglibc/utopic

« back to all changes in this revision

Viewing changes to debian/patches/ia64/submitted-libm.diff

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-10-26 05:14:58 UTC
  • mfrom: (1.5.1) (4.4.22 experimental)
  • Revision ID: package-import@ubuntu.com-20121026051458-oryotr4i03ob5pab
Tags: 2.16-0ubuntu1
* Merge with unreleased 2.16 in Debian experimental, remaining changes:
  - Drop the Breaks line from libc6, which refers to a Debian transition
  - Remove the libc6 recommends on libc6-i686, which we don't build
  - Enable libc6{,-dev}-armel on armhf and libc6{-dev}-armhf on armel
  - Ship update-locale and validlocale in /usr/sbin in libc-bin
  - Don't build locales or locales-all in Ubuntu, we rely on langpacks
  - Heavily mangle the way we do service restarting on major upgrades
  - Use different MIN_KERNEL_SUPPORTED versions than Debian, due to
    buildd needs.  This should be universally bumped to 3.2.0 once all
    our buildds (including the PPA guests) are running precise kernels
  - Build i386 variants as -march=i686, build amd64 with -O3, and build
    ppc64 variants (both 64-bit and 32-bit) with -O3 -fno-tree-vectorize
  - Re-enable unsubmitted-ldconfig-cache-abi.diff and rebuild the cache
    on upgrades from previous versions that used a different constant
  - debian/patches/any/local-CVE-2012-3406.diff: switch to malloc when
    array grows too large to handle via alloca extension (CVE-2012-3406)
  - Build generic i386/i686 flavour with -mno-tls-direct-seg-refs
* Changes added/dropped with this merge while reducing our delta:
  - Stop building glibc docs from the eglibc source, and instead make
    the glibc-docs stub have a hard dependency on glibc-doc-reference
  - Remove outdated conflicts against ancient versions of ia32-libs
  - Drop the tzdata dependency from libc6, it's in required and minimal
  - Use gcc-4.7/g++-4.7 by default on all our supported architectures
  - Save our historical changelog as changelog.ubuntu in the source
  - Drop nscd's libaudit build-dep for now, as libaudit is in universe
  - Drop the unnecessary Breaks from libc6 to locales and locales-all
  - Ship xen's ld.so.conf.d snippet as /etc/ld.so.conf.d/libc6-xen.conf
* Disable hard failures on the test suite for the first upload to raring

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
2009-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2
2
 
3
 
        * sysdeps/ia64/fpu/libm_error_codes.h: Add error codes for 
 
3
        * ports/sysdeps/ia64/fpu/libm_error_codes.h: Add error codes for 
4
4
        fmodl_infinity, fmod_infinity, fmodf_infinity, cosl_infinity,
5
5
        cos_infinity, cosf_infinity, sinl_infinity, sin_infinity, 
6
6
        sinf_infinity, tanl_infinity, tan_infinity, and tanf_infinity.
7
 
        * sysdeps/ia64/fpu/libm_error.c(__libm_error_support): Pole errors
 
7
        * ports/sysdeps/ia64/fpu/libm_error.c(__libm_error_support): Pole errors
8
8
        for lgamma and pow should set errno to ERANGE, not EDOM. Add code
9
9
        to handle fmodl_infinity, fmod_infinity, fmodf_infinity,
10
10
        cosl_infinity, cos_infinity, cosf_infinity, sinl_infinity, 
11
11
        sin_infinity,sinf_infinity, tanl_infinity, tan_infinity, and
12
12
        tanf_infinity.
13
 
        * sysdeps/ia64/fpu/e_fmod.S: check for fmod(inf, y).
14
 
        * sysdeps/ia64/fpu/e_fmodf.S: check for fmodf(inf, y).
15
 
        * sysdeps/ia64/fpu/e_fmodl.S: check for fmodl(inf, y).
16
 
        * sysdeps/ia64/fpu/s_fcos.S: check for fcos(inf) and fsin(inf).
17
 
        * sysdeps/ia64/fpu/s_fcosf.S: check for fcosf(inf) and fsinf(inf).
18
 
        * sysdeps/ia64/fpu/s_fcosl.S: check for fcosl(inf) and fsinl(inf).
19
 
        * sysdeps/ia64/fpu/s_tan.S: check for ftan(inf).
20
 
        * sysdeps/ia64/fpu/s_tanf.S: check for ftanf(inf).
21
 
        * sysdeps/ia64/fpu/s_tanl.S: check for ftanl(inf).
 
13
        * ports/sysdeps/ia64/fpu/e_fmod.S: check for fmod(inf, y).
 
14
        * ports/sysdeps/ia64/fpu/e_fmodf.S: check for fmodf(inf, y).
 
15
        * ports/sysdeps/ia64/fpu/e_fmodl.S: check for fmodl(inf, y).
 
16
        * ports/sysdeps/ia64/fpu/s_fcos.S: check for fcos(inf) and fsin(inf).
 
17
        * ports/sysdeps/ia64/fpu/s_fcosf.S: check for fcosf(inf) and fsinf(inf).
 
18
        * ports/sysdeps/ia64/fpu/s_fcosl.S: check for fcosl(inf) and fsinl(inf).
 
19
        * ports/sysdeps/ia64/fpu/s_tan.S: check for ftan(inf).
 
20
        * ports/sysdeps/ia64/fpu/s_tanf.S: check for ftanf(inf).
 
21
        * ports/sysdeps/ia64/fpu/s_tanl.S: check for ftanl(inf).
22
22
 
23
23
---
24
 
 sysdeps/ia64/fpu/e_fmod.S           |    8 +--
25
 
 sysdeps/ia64/fpu/e_fmodf.S          |    8 +--
26
 
 sysdeps/ia64/fpu/e_fmodl.S          |   12 ++++-
27
 
 sysdeps/ia64/fpu/libm_error.c       |   75 +++++++++++++++++++++++++++++--
28
 
 sysdeps/ia64/fpu/libm_error_codes.h |    6 ++
29
 
 sysdeps/ia64/fpu/s_cos.S            |   82 +++++++++++++++++++++++++++++++++-
30
 
 sysdeps/ia64/fpu/s_cosf.S           |   85 +++++++++++++++++++++++++++++++++---
31
 
 sysdeps/ia64/fpu/s_cosl.S           |   80 ++++++++++++++++++++++++++++++++-
32
 
 sysdeps/ia64/fpu/s_tan.S            |   15 +++---
33
 
 sysdeps/ia64/fpu/s_tanf.S           |    6 +-
34
 
 sysdeps/ia64/fpu/s_tanl.S           |   21 ++++++--
 
24
 ports/sysdeps/ia64/fpu/e_fmod.S           |    8 +-
 
25
 ports/sysdeps/ia64/fpu/e_fmodf.S          |    8 +-
 
26
 ports/sysdeps/ia64/fpu/e_fmodl.S          |   12 +++-
 
27
 ports/sysdeps/ia64/fpu/libm_error.c       |   75 ++++++++++++++++++++++++--
 
28
 ports/sysdeps/ia64/fpu/libm_error_codes.h |    6 +-
 
29
 ports/sysdeps/ia64/fpu/s_cos.S            |   82 +++++++++++++++++++++++++++-
 
30
 ports/sysdeps/ia64/fpu/s_cosf.S           |   85 ++++++++++++++++++++++++++++--
 
31
 ports/sysdeps/ia64/fpu/s_cosl.S           |   80 +++++++++++++++++++++++++++-
 
32
 ports/sysdeps/ia64/fpu/s_tan.S            |   15 ++---
 
33
 ports/sysdeps/ia64/fpu/s_tanf.S           |    6 +-
 
34
 ports/sysdeps/ia64/fpu/s_tanl.S           |   21 +++++--
35
35
 11 files changed, 355 insertions(+), 43 deletions(-)
36
36
 
37
 
--- a/sysdeps/ia64/fpu/e_fmod.S
38
 
+++ b/sysdeps/ia64/fpu/e_fmod.S
 
37
--- a/ports/sysdeps/ia64/fpu/e_fmod.S
 
38
+++ b/ports/sysdeps/ia64/fpu/e_fmod.S
39
39
@@ -75,8 +75,8 @@
40
40
 //
41
41
 // Special cases
63
63
 }
64
64
 
65
65
 { .mfb
66
 
--- a/sysdeps/ia64/fpu/e_fmodf.S
67
 
+++ b/sysdeps/ia64/fpu/e_fmodf.S
 
66
--- a/ports/sysdeps/ia64/fpu/e_fmodf.S
 
67
+++ b/ports/sysdeps/ia64/fpu/e_fmodf.S
68
68
@@ -75,8 +75,8 @@
69
69
 
70
70
 // Special cases
92
92
 }
93
93
 
94
94
 { .mfb
95
 
--- a/sysdeps/ia64/fpu/e_fmodl.S
96
 
+++ b/sysdeps/ia64/fpu/e_fmodl.S
 
95
--- a/ports/sysdeps/ia64/fpu/e_fmodl.S
 
96
+++ b/ports/sysdeps/ia64/fpu/e_fmodl.S
97
97
@@ -484,6 +484,11 @@
98
98
  (p8)  cmp.ne p7, p0 = GR_SIG_B, r0
99
99
        nop.i 0
120
120
 }
121
121
 ;;
122
122
 
123
 
--- a/sysdeps/ia64/fpu/libm_error.c
124
 
+++ b/sysdeps/ia64/fpu/libm_error.c
 
123
--- a/ports/sysdeps/ia64/fpu/libm_error.c
 
124
+++ b/ports/sysdeps/ia64/fpu/libm_error.c
125
125
@@ -708,15 +708,18 @@
126
126
   case gammal_negative:
127
127
   case gamma_negative:
239
239
   default:
240
240
     break;
241
241
 }
242
 
--- a/sysdeps/ia64/fpu/libm_error_codes.h
243
 
+++ b/sysdeps/ia64/fpu/libm_error_codes.h
 
242
--- a/ports/sysdeps/ia64/fpu/libm_error_codes.h
 
243
+++ b/ports/sysdeps/ia64/fpu/libm_error_codes.h
244
244
@@ -195,7 +195,11 @@
245
 
   nextafterl_underflow, nextafter_underflow, 
 
245
   nextafterl_underflow, nextafter_underflow,
246
246
   nextafterf_underflow,                                /* 267, 268, 269 */
247
 
   nexttowardl_underflow, nexttoward_underflow, 
 
247
   nexttowardl_underflow, nexttoward_underflow,
248
248
-  nexttowardf_underflow                                /* 270, 271, 272 */
249
249
+  nexttowardf_underflow,                               /* 270, 271, 272 */
250
250
+  fmodl_infinity, fmod_infinity, fmodf_infinity,       /* 273, 274, 275 */
254
254
 } error_types;
255
255
 
256
256
 #define LIBM_ERROR __libm_error_support
257
 
--- a/sysdeps/ia64/fpu/s_cos.S
258
 
+++ b/sysdeps/ia64/fpu/s_cos.S
 
257
--- a/ports/sysdeps/ia64/fpu/s_cos.S
 
258
+++ b/ports/sysdeps/ia64/fpu/s_cos.S
259
259
@@ -174,7 +174,7 @@
260
260
 //==============================================================
261
261
 // general input registers:
382
382
+LOCAL_LIBM_END(__libm_error_region)
383
383
+.type   __libm_error_support#,@function
384
384
+.global __libm_error_support#
385
 
--- a/sysdeps/ia64/fpu/s_cosf.S
386
 
+++ b/sysdeps/ia64/fpu/s_cosf.S
 
385
--- a/ports/sysdeps/ia64/fpu/s_cosf.S
 
386
+++ b/ports/sysdeps/ia64/fpu/s_cosf.S
387
387
@@ -171,7 +171,7 @@
388
388
 //==============================================================
389
389
 // general input registers:
520
520
+LOCAL_LIBM_END(__libm_error_region)
521
521
+.type   __libm_error_support#,@function
522
522
+.global __libm_error_support#
523
 
--- a/sysdeps/ia64/fpu/s_cosl.S
524
 
+++ b/sysdeps/ia64/fpu/s_cosl.S
 
523
--- a/ports/sysdeps/ia64/fpu/s_cosl.S
 
524
+++ b/ports/sysdeps/ia64/fpu/s_cosl.S
525
525
@@ -747,12 +747,16 @@
526
526
 GR_SAVE_GP     = r40
527
527
 GR_SAVE_PFS    = r41
638
638
+LOCAL_LIBM_END(__libm_error_region)
639
639
+.type   __libm_error_support#,@function
640
640
+.global __libm_error_support#
641
 
--- a/sysdeps/ia64/fpu/s_tan.S
642
 
+++ b/sysdeps/ia64/fpu/s_tan.S
 
641
--- a/ports/sysdeps/ia64/fpu/s_tan.S
 
642
+++ b/ports/sysdeps/ia64/fpu/s_tan.S
643
643
@@ -348,15 +348,10 @@
644
644
 (p6)  br.ret.spnt    b0    ;;         // Exit for x=0 (tan only)
645
645
 }
671
671
 { .mmf
672
672
       ldfpd      tan_P10,tan_P11 = [tan_AD],16
673
673
       and       tan_exp = tan_GR_17_ones, tan_signexp
674
 
--- a/sysdeps/ia64/fpu/s_tanf.S
675
 
+++ b/sysdeps/ia64/fpu/s_tanf.S
 
674
--- a/ports/sysdeps/ia64/fpu/s_tanf.S
 
675
+++ b/ports/sysdeps/ia64/fpu/s_tanf.S
676
676
@@ -301,11 +301,11 @@
677
677
 { .mfi
678
678
       cmp.ge    p6, p0      = rSignMask, rExpCut    // p6 = (E => 0x10009)
696
696
 }
697
697
 { .mfb
698
698
       nop.m     0
699
 
--- a/sysdeps/ia64/fpu/s_tanl.S
700
 
+++ b/sysdeps/ia64/fpu/s_tanl.S
 
699
--- a/ports/sysdeps/ia64/fpu/s_tanl.S
 
700
+++ b/ports/sysdeps/ia64/fpu/s_tanl.S
701
701
@@ -3072,21 +3072,32 @@
702
702
 
703
703
 { .mfi