Message ID | cover.1603995193.git.fweimer@redhat.com |
---|---|
Headers |
Return-Path: <libc-alpha-bounces@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D20B43985C01; Thu, 29 Oct 2020 18:15:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D20B43985C01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1603995316; bh=UMcmI1NXB0evjFRjhosBa+Qsb1/4Pc80liXLuI2OkjY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=c05O4awXRZPhwiRk8lCb07HdrsydQUnMAnj8x6e3P6kcIS7pEgVjtWFK5WalOWeD0 tQJ4ogjOYm+v4mxCRVcy6YwIGZS8++LheaniPp1vG9rqInUfXkq6Mji0dnprNHk3IN gcRkb8CUlll/gEUZ+u7GfBg4GkRI8dGVvHv81glw= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id A3D823858020 for <libc-alpha@sourceware.org>; Thu, 29 Oct 2020 18:15:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A3D823858020 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-108-MOwwJ59oNve5AvCmQ1ZDGg-1; Thu, 29 Oct 2020 14:15:12 -0400 X-MC-Unique: MOwwJ59oNve5AvCmQ1ZDGg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4FB4310E2187 for <libc-alpha@sourceware.org>; Thu, 29 Oct 2020 18:15:11 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-113-60.ams2.redhat.com [10.36.113.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C043755761 for <libc-alpha@sourceware.org>; Thu, 29 Oct 2020 18:15:10 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH v3 0/2] Basic glibc-hwcaps enablement Message-Id: <cover.1603995193.git.fweimer@redhat.com> Date: Thu, 29 Oct 2020 19:15:08 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Florian Weimer via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Florian Weimer <fweimer@redhat.com> Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
Basic glibc-hwcaps enablement
|
|
Message
Florian Weimer
Oct. 29, 2020, 6:15 p.m. UTC
Changes from v2: * Fix indentation issues in elf/Makefile. Renamed variable $(glibc-hwcaps-first-subdirs-for-tests) and added a comment. * Use <sys/platform/x86.h> in the x86_64 test. Florian Weimer (2): elf: Add glibc-hwcaps support for LD_LIBRARY_PATH x86_64: Add glibc-hwcaps support elf/Makefile | 67 ++++++++++++-- elf/dl-hwcaps-subdirs.c | 29 ++++++ elf/dl-hwcaps.c | 138 ++++++++++++++++++++++++---- elf/dl-hwcaps.h | 105 ++++++++++++++++++++++ elf/dl-hwcaps_split.c | 77 ++++++++++++++++ elf/dl-load.c | 7 +- elf/dl-main.h | 11 ++- elf/dl-support.c | 5 +- elf/dl-usage.c | 68 +++++++++++++- elf/markermodMARKER-VALUE.c | 29 ++++++ elf/rtld.c | 18 ++++ elf/tst-dl-hwcaps_split.c | 139 +++++++++++++++++++++++++++++ elf/tst-glibc-hwcaps-mask.c | 31 +++++++ elf/tst-glibc-hwcaps-prepend.c | 32 +++++++ elf/tst-glibc-hwcaps.c | 28 ++++++ sysdeps/generic/ldsodefs.h | 20 +++-- sysdeps/x86_64/Makefile | 36 +++++++- sysdeps/x86_64/dl-hwcaps-subdirs.c | 66 ++++++++++++++ sysdeps/x86_64/tst-glibc-hwcaps.c | 76 ++++++++++++++++ 19 files changed, 948 insertions(+), 34 deletions(-) create mode 100644 elf/dl-hwcaps-subdirs.c create mode 100644 elf/dl-hwcaps_split.c create mode 100644 elf/markermodMARKER-VALUE.c create mode 100644 elf/tst-dl-hwcaps_split.c create mode 100644 elf/tst-glibc-hwcaps-mask.c create mode 100644 elf/tst-glibc-hwcaps-prepend.c create mode 100644 elf/tst-glibc-hwcaps.c create mode 100644 sysdeps/x86_64/dl-hwcaps-subdirs.c create mode 100644 sysdeps/x86_64/tst-glibc-hwcaps.c