From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 634781F44D for ; Mon, 25 Mar 2024 11:53:19 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RUMYhHe3; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 61D033858289 for ; Mon, 25 Mar 2024 11:53:17 +0000 (GMT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 17414385840C for ; Mon, 25 Mar 2024 11:52:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 17414385840C 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 17414385840C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711367579; cv=none; b=dPTkoxkP/b/M9MBbPV2tUTY7QiFKBs7WDhDVKcveiPDRt83S0Byt2VM0ormn4eyqgz2v7zmJZYMmwS73CZ+vsK3uK2xKq5CETfHtVgvdIouGAJUsVK85wMSCAObzedCqrnuArpMX/Tp7lSlgbE2EakTYuLy1ktZc/O9rGaoMyC4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711367579; c=relaxed/simple; bh=PNyfJU6zhrXn0HjSPdRT8rNlQM6p6RB2pbaoiEyt+GI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=FbJx87ev98WNyipTZrMRL8D9uiI/UmfWYg3RGVsyM1IC8muJVUNcAsSsVitxXUvky6aH9GsXYvdx9ZNw3OtxTaUZltf8Axsjc3ZGrE9DLCWycs4vEcZXVvr40GMrLbanCsmOLrpjGg+GUOkolFCyQ0DsESGpY70gB6HhkJbKRFM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711367577; 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=rAXAe9ikCOk0XgD/blVW9/wgegrzKKNXfSluwh9L9QE=; b=RUMYhHe3/jhBMx6n/CZp0QrpHtcNUBLqIzpPrJBQ3kca4/xu9BStwc8AdidS3BFMdfYzGg 6/+Jehuts3Ism4l8rvCRFab7YPZhknbf/Y/IphJqijiiCHYAn4DSTUg8LVpna/+bjFnhnY I49n217KaIt++mymTNiSiGZzBBYamOk= 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-425-99dS04JnOQ66zzmMImXTmA-1; Mon, 25 Mar 2024 07:52:53 -0400 X-MC-Unique: 99dS04JnOQ66zzmMImXTmA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (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 87AFA3C40B71; Mon, 25 Mar 2024 11:52:51 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.146]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ACC452166B31; Mon, 25 Mar 2024 11:52:50 +0000 (UTC) From: Florian Weimer To: Fangrui Song Cc: libc-alpha@sourceware.org Subject: Re: CREL dynamic relocations In-Reply-To: (Fangrui Song's message of "Sat, 23 Mar 2024 22:50:01 -0700") References: Date: Mon, 25 Mar 2024 12:52:44 +0100 Message-ID: <87bk72a5pv.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org * Fangrui Song: > I have proposed a compact relocation format CREL at > https://groups.google.com/g/generic-abi/c/yb0rjw56ORw/m/eiBcYxSfAQAJ > (previously named RELLEB). > > CREL primarily targets static relocations, achieving significant .o > file size reduction for lld builds: 18.0% for x86-64/aarch64 and 34.3% > for riscv64. > CREL holds promise for dynamic relocations as well, surpassing > Android's packed relocation format. As I said elsewhere, I'm concerned about the use of the ULEB128 encoding. It's unnecessarily difficult to decode. Thanks, Florian