Message ID | d17ce3756ff69b8eea07b0d23f18aa76009871e1.1727624528.git.fweimer@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Xclkmzg+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XGqSJ5kzDz1xt8 for <incoming@patchwork.ozlabs.org>; Mon, 30 Sep 2024 02:30:24 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D63EC385E45B for <incoming@patchwork.ozlabs.org>; Sun, 29 Sep 2024 16:30:21 +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 E3405385C6E3 for <libc-alpha@sourceware.org>; Sun, 29 Sep 2024 16:30:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E3405385C6E3 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 E3405385C6E3 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=1727627409; cv=none; b=ayB21+1Ia4SL7eGsnTcYTzvqp0miVXGtJmHNzReagdaZgXugjB0O65qXgqUIma+LsmtsUdp6SaA8Ht28BA6pmmctzYSYzV+j9a2XjOToLIqgxPL02zoo/Djkux3n4PRxiE/kKC0IWn53rAPdJJaTtJlrVq03+4tf/LaKnMx4qgo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727627409; c=relaxed/simple; bh=/kk+lLiJLns6tOsxjXF5x7bOCGLT4qrbictsHgnwdY8=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=pYjVnyWl3J74CIgcyk3Nc0N7QE5OtWizvZoNZDUVIlg79/koIpxLyYZ4jRSzmhGhESbDji+CDE3lRBG1fk96mtQRRxWUz0oJKKV0wt0Z7OISo/LftjwJvg3ERpNqGz9YdDrQbX03mnwwkH/ahJ7/v2xvC5ojTbV3f+EKZ/m482k= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727627407; 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=NsbM7WETzmOKNbP6jsmeUzJQ4wQqJph4QuxJOCCa4fg=; b=Xclkmzg+f7HRmBKCoMvrE6j5HOf0EnpQHfDAhH4GeHsKIQZ+cTXiZE8liIH5BCkVb9dCdR GUJ72vHh0V0SFHXjTR9BETvxP2AmXhli17ySRBz7S1JzK3fR5slrOD7ZHqp+XR42g3Tkq4 ws7nZ/zcHOOQ+O9HTnwGHlTB4UA5Vus= Received: from mx-prod-mc-03.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-626-nIRXA2dYONWTlb6Ddd1yag-1; Sun, 29 Sep 2024 12:30:04 -0400 X-MC-Unique: nIRXA2dYONWTlb6Ddd1yag-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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6D5F9192DE37; Sun, 29 Sep 2024 16:30:03 +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 D9BDD1979064; Sun, 29 Sep 2024 16:30:01 +0000 (UTC) From: Florian Weimer <fweimer@redhat.com> To: libc-alpha@sourceware.org Cc: Jeff Law <jeffreyalaw@gmail.com>, Palmer Dabbelt <palmer@rivosinc.com> Subject: [PATCH v3 16/29] riscv: Add <bits/pagesize.h> In-Reply-To: <cover.1727624528.git.fweimer@redhat.com> Message-ID: <d17ce3756ff69b8eea07b0d23f18aa76009871e1.1727624528.git.fweimer@redhat.com> References: <cover.1727624528.git.fweimer@redhat.com> X-From-Line: d17ce3756ff69b8eea07b0d23f18aa76009871e1 Mon Sep 17 00:00:00 2001 Date: Sun, 29 Sep 2024 18:29:58 +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~incoming=patchwork.ozlabs.org@sourceware.org |
Series |
Teach glibc about possible page sizes and handle gaps in ld.so
|
expand
|
diff --git a/sysdeps/riscv/bits/pagesize.h b/sysdeps/riscv/bits/pagesize.h new file mode 100644 index 0000000000..352fb732d7 --- /dev/null +++ b/sysdeps/riscv/bits/pagesize.h @@ -0,0 +1,2 @@ +#define __GLIBC_PAGE_SHIFT_MIN 12 +#define __GLIBC_PAGE_SHIFT_MAX 12