From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 3B1B43857B8B for ; Fri, 16 Feb 2024 20:29:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3B1B43857B8B 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 3B1B43857B8B 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=1708115347; cv=none; b=Be0xkZvpZFdqxv9J65pzqRe5aiJ3/UEEv+RlySdhyd++bfPTN6pRwqwY9S07/jbXxq/28CWK2NLOtA58dvBEYfXLcYF6WBBWG/45SQ7i91u4/udTY50D3eX9nWznSP7jIvfCyZCJ6hCGn3sHp87Nu6N4kgKSw0CiU+enC6TnFUM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708115347; c=relaxed/simple; bh=i7v3iwdAFnBj+4lTnkSIOAeuJ8bHHjrgHFvl28v74zc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=axm/WGrBuVEHfo55x8Oqe3mh/xAte3a9hOUazjCkmEZ9FGX5yV+zHNelUDEZlOeQbstWOuMfWipZb/ALcMamzb+vxdCseSqkIhEyusD9bKP2JSa2vhPmZigLngYchM/FnX6IQytqJ82q8PjqCRBQGqalp9xA+nvbJWZFwHie9MM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708115344; 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; bh=zh6j2aTiwNO0yc1VcmCgSWZCMJXy7KrEOLP1EdyNUkk=; b=Milgoyq1GflkaDpudimWuucxctGGkQI//hfLtjalK3GUa5nUAbWWnKZPEQy2cr36rLBhN1 MflkD84u9ARx9TeCbDDbXld23U2r/b+BCDOw0qRUBv6bKXf7Gg+J74Uz+HWbQPwfLuMLF6 RMxVj4pZLKr7KuBVSoi68vGl6W1WJ4U= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-458-CHWQ04HoMHGMCLdTZOPw1Q-1; Fri, 16 Feb 2024 15:29:01 -0500 X-MC-Unique: CHWQ04HoMHGMCLdTZOPw1Q-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3D7C938143A2; Fri, 16 Feb 2024 20:29:01 +0000 (UTC) Received: from greed.delorie.com (unknown [10.22.8.101]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 27B10492BE2; Fri, 16 Feb 2024 20:29:01 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.15.2/8.15.2) with ESMTP id 41GKT0G7314099; Fri, 16 Feb 2024 15:29:00 -0500 From: DJ Delorie To: Michael Jeanson Cc: libc-alpha@sourceware.org, mathieu.desnoyers@efficios.com Subject: Re: [PATCH v8 1/8] nptl: fix potential merge of __rseq_* relro symbols In-Reply-To: <4dabc394-f373-4d05-af4a-22d1d301da10@efficios.com> Date: Fri, 16 Feb 2024 15:29:00 -0500 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-4.8 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_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Michael Jeanson writes: >> I assume the linker's constant (string?) merging won't affect this >> because the section is marked as writable to the linker? > > I checked and the .data.rel.ro section does indeed have the SHF_WRITE > flag set. My understanding is that the section would need to be > read-only and the SHF_MERGE flag would need to be set for the linker to > try merging things. That's what I figured too, but good to confirm.