Message ID | e0e3a312df29f0ab692a502e4eb3e8833575ddaf.1727624528.git.fweimer@redhat.com |
---|---|
State | Under Review |
Delegated to: | Adhemerval Zanella Netto |
Headers |
Return-Path: <libc-alpha-bounces~patchwork=sourceware.org@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 6CC81385DDF3 for <patchwork@sourceware.org>; Sun, 29 Sep 2024 15:53:53 +0000 (GMT) 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 [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id ACAAB385841E for <libc-alpha@sourceware.org>; Sun, 29 Sep 2024 15:53:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ACAAB385841E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ACAAB385841E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727625213; cv=none; b=CUoaURW/xfitpMZ1d/ZZR1DP6aFqbvh4Qr/c54s/Xo7/Eb3+4i5SzpC/a9Jcy5NmBJcguu6KiW9r8X3ZYU2K0/+QlcdJBB0mO89FuYibdoGyaxtMlyHDRZ1ZWHA9SKfCZRH3gNKIK1aNGwhElirDaDyZmMliJqmy3b0/3v70/B8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727625213; c=relaxed/simple; bh=a7xZBvP3n33CG4nRuAxFV8kJiHzR9U3RgvtRuzjvG98=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=l0ibc8Xu5kRvr0ugEqVURVlDnLNC/UijXwWoQJh4+IKM4EWIOZK8Qtuo6dFstxzBqUZkVwHH7dmHkxzWZkUL5or0NuQp3XFcMhsU4y3BcUF6NSkuEw20HxoFDnTBMH9bkccVkEJsk4oIR+ccRIilyECwnLhtW8WE8Vfh0GCaUNg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727625211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RqvqJe2FOWPDQwYG6Pymo5lmCbdLlG53+Z3k4654T6s=; b=Ot20JGkMQyQzvwv5OJbOHd3vx+pPJ8gdMppK53PZyH0QfCFyy425D6yMhCNjaD02p5xqdB vTLvYrAm3vozohjlyN0nVtWT9FWAVM8GgA245Dxhh9KFIrx2hE770xpNiDNmB/LsPJ6Esh zrRTEvbt3DMd6w/FntGyjqFiqAvWJoQ= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-568-X1tPF0itNj2ZrBcEFd8nIQ-1; Sun, 29 Sep 2024 11:53:30 -0400 X-MC-Unique: X1tPF0itNj2ZrBcEFd8nIQ-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (unknown [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1AE1A195395E; Sun, 29 Sep 2024 15:53:29 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.45.224.151]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 74AB919373D7; Sun, 29 Sep 2024 15:53:27 +0000 (UTC) From: Florian Weimer <fweimer@redhat.com> To: libc-alpha@sourceware.org Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>, Wilco Dijkstra <Wilco.Dijkstra@arm.com> Subject: [PATCH v3 03/29] aarch64: Add <bits/pagesize.h> In-Reply-To: <cover.1727624528.git.fweimer@redhat.com> Message-ID: <e0e3a312df29f0ab692a502e4eb3e8833575ddaf.1727624528.git.fweimer@redhat.com> References: <cover.1727624528.git.fweimer@redhat.com> X-From-Line: e0e3a312df29f0ab692a502e4eb3e8833575ddaf Mon Sep 17 00:00:00 2001 Date: Sun, 29 Sep 2024 17:53:24 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 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> Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org |
Series |
Teach glibc about possible page sizes and handle gaps in ld.so
|
|
Checks
Context | Check | Description |
---|---|---|
redhat-pt-bot/TryBot-apply_patch | success | Patch applied to master at the time it was sent |
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 | success | Build passed |
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 | success | Test passed |
linaro-tcwg-bot/tcwg_glibc_build--master-arm | success | Build passed |
linaro-tcwg-bot/tcwg_glibc_check--master-arm | success | Test passed |
Commit Message
Florian Weimer
Sept. 29, 2024, 3:53 p.m. UTC
According to Program Loading and Dynamic Linking in <https://github.com/ARM-software/abi-aa/blob/main/sysvabi64/sysvabi64.rst>, the maximum supported page size by the ABI is 64 KiB, so the maximum page shift is 16 bits. --- sysdeps/aarch64/bits/pagesize.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sysdeps/aarch64/bits/pagesize.h
diff --git a/sysdeps/aarch64/bits/pagesize.h b/sysdeps/aarch64/bits/pagesize.h new file mode 100644 index 0000000000..cd688d3fb0 --- /dev/null +++ b/sysdeps/aarch64/bits/pagesize.h @@ -0,0 +1,2 @@ +#define __GLIBC_PAGE_SHIFT_MIN 12 +#define __GLIBC_PAGE_SHIFT_MAX 16