This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/21815] FAIL: elf/tst-prelink-cmp with GCC is defaulted to PIE


https://sourceware.org/bugzilla/show_bug.cgi?id=21815

--- Comment #13 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, hjl/pie/static has been created
        at  6bb5c0004b2617698b0471733187a5a5f0ffbe51 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6bb5c0004b2617698b0471733187a5a5f0ffbe51

commit 6bb5c0004b2617698b0471733187a5a5f0ffbe51
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 18 10:42:48 2017 -0700

    Use hidden visibility for libc.a with PIC

    Size comparison of static PIE elf/ldconfig:

    On x86-64:
            text           data     bss     dec     hex
    Before: 866113        22952    6336  895401   da9a9
    After : 865921        22952    6336  895209   da8e9
    On i686:
            text           data     bss     dec     hex
    Before: 782692        12296    3748  798736   c3010
    After : 781153        12280    3748  797181   c29fd

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ef11d9a3c5be8b9993e50da952b96222f772885a

commit ef11d9a3c5be8b9993e50da952b96222f772885a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jul 19 14:32:42 2017 -0700

    Add _startup_sbrk and _startup_fatal

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=15b55f05278e3ffb4695de5daf7bab5aa43b2c14

commit 15b55f05278e3ffb4695de5daf7bab5aa43b2c14
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 18 15:45:46 2017 -0700

    i386: Support static PIE in start.S

    Since start.o may be compiled as PIC, we should check PIC instead of
    SHARED.  Also avoid dynamic relocation against main in static PIE since
    _start is the entry point before the executable is relocated.

        * sysdeps/i386/start.S (_start): Check Check PIC instead of
        SHARED.  Avoid dynamic relocation against main.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6e9cd7549ecf419b148d48bdbeb4ed72e8869d39

commit 6e9cd7549ecf419b148d48bdbeb4ed72e8869d39
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 17 13:53:52 2017 -0700

    Add _dl_relocate_static_pie

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a66c57abe916e17fe955b940795d6483c760687d

commit a66c57abe916e17fe955b940795d6483c760687d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 17 08:54:40 2017 -0700

    Define pie-default/default-pie-ldflag for --enable-static-pie

    1. Add $(pie-default) to CFLAGS-.o and CFLAGS-.op.
    2. Add $(default-pie-ldflag) to +link-static-before-libc.
    3. Define +prectorT/+postctorT to $(+prectorS)/$(+postctorS).

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87ccf3b1420269a682fe63ce24da3feb065b3068

commit 87ccf3b1420269a682fe63ce24da3feb065b3068
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 18 05:58:21 2017 -0700

    x86-64: Check if linker supports static PIE

    Need the linker with fix for:

    https://sourceware.org/bugzilla/show_bug.cgi?id=21782

    Binutils 2.29 is OK.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bee6acfb8330e784be6c962758c8978896f1dd8b

commit bee6acfb8330e784be6c962758c8978896f1dd8b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 17 08:36:45 2017 -0700

    Add --enable-static-pie

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4e006e95a2b5d956e2690a3c005faa6612714886

commit 4e006e95a2b5d956e2690a3c005faa6612714886
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jul 23 05:26:26 2017 -0700

    Check if -static -pie works

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=02c38b9843df7f73e350791ca8d45dcb0fb342d3

commit 02c38b9843df7f73e350791ca8d45dcb0fb342d3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jul 21 05:07:19 2017 -0700

    Check if -static-pie works

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1268f83893bd56d9ee937f01c98b91af37fddfc7

commit 1268f83893bd56d9ee937f01c98b91af37fddfc7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 17 08:17:32 2017 -0700

    Check if linker supports --no-dynamic-linker

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3469f943318851dd0e06c2eea6756f2aba4c557f

commit 3469f943318851dd0e06c2eea6756f2aba4c557f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jul 19 12:04:14 2017 -0700

    Compile tst-prelink.c without PIE [BZ #21815]

    tst-prelink.c checks for conflict with GLOB_DAT relocation against stdio.
    On i386, there is no GLOB_DAT relocation against stdio with PIE.  We
    should compile tst-prelink.c without PIE.

        [BZ #21815]
        * elf/Makefile (CFLAGS-tst-prelink.c): New.
        (LDFLAGS-tst-prelink): Likewise.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2f881dfd40ce8093fa4a2901211f52dbd8de9e57

commit 2f881dfd40ce8093fa4a2901211f52dbd8de9e57
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 18 15:36:20 2017 -0700

    x86: Remove assembly versions of HAS_CPU_FEATURE/HAS_ARCH_FEATURE

    Since all x86 IFUNC selectors are implemented in C, assembly versions of
    HAS_CPU_FEATURE and HAS_ARCH_FEATURE can be removed.

        * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
        (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
        HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2f0c477cfc8b54815a1c5a6017a4bd2afe37ef2e

commit 2f0c477cfc8b54815a1c5a6017a4bd2afe37ef2e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 18 15:35:30 2017 -0700

    x86-64: Implement libmathvec IFUNC selectors in C

        * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
        Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
        svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
        svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
        svml_d_log2_core-sse2, svml_d_log4_core-sse,
        svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
        svml_d_pow4_core-sse, svml_d_pow8_core-avx2
        svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
        svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
        svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
        svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
        svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
        svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
        svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
        svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
        svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
        svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
        svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
        svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
        * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
        * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
        * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN2v_cos): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN4v_cos): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN8v_cos): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN2v_exp): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN4v_exp): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN8v_exp): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN2v_log): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN4v_log): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN8v_log): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN2vv_pow): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN4vv_pow): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN8vv_pow): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN2v_sin): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4v_sin): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN8v_sin): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN2vvv_sincos): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN4vvv_sincos): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN8vvv_sincos): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN16v_cosf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4v_cosf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN8v_cosf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN16v_expf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4v_expf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN8v_expf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN16v_logf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4v_logf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN8v_logf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN16vv_powf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4vv_powf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN8vv_powf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN16vvv_sincosf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4vvv_sincosf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN8vvv_sincosf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVeN16v_sinf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVbN4v_sinf): Removed.
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S:  Renamed to
        ...
        * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
        Don't include <sysdep.h> nor <init-arch.h>.
        (_ZGVdN8v_sinf): Removed.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a57ab21f2464e805d42b087ee6750f7a7658cded

commit a57ab21f2464e805d42b087ee6750f7a7658cded
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 18 13:56:17 2017 -0700

    x86-64: Implement libm IFUNC selectors in C

        * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
        Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
        s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
        s_rint-sse4_1 and s_rintf-sse4_1.
        * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
        * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
        * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__ceil): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__ceilf): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__floor): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__floorf): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__nearbyint): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__nearbyintf): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__rint): Removed.
        * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
        * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This.  Don't
        include <machine/asm.h> nor <init-arch.h>.  Include <sysdep.h>.
        (__rintf): Removed.

-----------------------------------------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]