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.129.124]) by sourceware.org (Postfix) with ESMTPS id B4AF33858D28 for ; Tue, 17 Jan 2023 13:56:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4AF33858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673963762; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cVWFeQ9HUAQIuin02Pe4k1t6Hdsi2grA7Ve0w77wM8M=; b=GjdZpQQehYc5nSY/u1oELeeV7deSpKVqT2/X/V0RAxeQwCgsgVQIRYvFpXZs7sGRXVD9UN c6LIsRSgtSWXj9QyLG+yzaAqUmC6EHj1UsuqXwvWqRE26Y90K8NXrbFAFcipU+OSABEgsb 3gprZn63r0DI1kCw8tTv2heUIbHV2Cs= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-211-9LYiK-ALOZaLPPWnDdtuhQ-1; Tue, 17 Jan 2023 08:56:00 -0500 X-MC-Unique: 9LYiK-ALOZaLPPWnDdtuhQ-1 Received: by mail-qt1-f198.google.com with SMTP id g26-20020ac84b7a000000b003b639bca907so1261804qts.15 for ; Tue, 17 Jan 2023 05:56:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cVWFeQ9HUAQIuin02Pe4k1t6Hdsi2grA7Ve0w77wM8M=; b=fno58GOliFRGD/T9n85lCtFnYLmOGchpJFj628GP7O8vRkDNXdL1FzfA9KcDfsNxkE tdHI6fSgi13iGcy7RFPydnrlvHu79hV9smmX2yB8Kb1AiyFm0uYpozjk+WJ9rvJVPPHh jYHTbqiw9+BFD12uJXy9f5SbeHzLpcrM9/NhyQzOVVijZDlwRAiLHwJbsSbtGS5W/dBp zdYW6T60l0mCGGjy+eHaw0HDAN+hg5Cjal4m0BgcuLYXAKQ4HNG4Tx4uJS77vtH8PTgI +qaImvBu7QbQokom/vUeGp5nItrMGcJ0h4IWj5uqWa/tioXdGr47hefxx7xoyWBxyZtR f2Pg== X-Gm-Message-State: AFqh2kqEIfVimlGt/rTJfE1RgM16h29niQOoCM0Ruv/gHpP+FT8aTTtq YLq6rDmAUpUN/mb/9IW15GomGT6Tw5hO0wJUpK+o2Bz20pl0ohS9SIr/4fVx7h+n3SAvFyiOJhv nH80U8pj/FiKw0DI6bQ== X-Received: by 2002:ac8:138c:0:b0:3b6:2be5:a2f7 with SMTP id h12-20020ac8138c000000b003b62be5a2f7mr3793160qtj.54.1673963759651; Tue, 17 Jan 2023 05:55:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXvGaa4np2dsKoPKbFbUlLWU3c621XGrHZ1yBI6T/c/vFUQa9gCpHWhfcQjLmIujlJZqlIXKUQ== X-Received: by 2002:ac8:138c:0:b0:3b6:2be5:a2f7 with SMTP id h12-20020ac8138c000000b003b62be5a2f7mr3793137qtj.54.1673963759426; Tue, 17 Jan 2023 05:55:59 -0800 (PST) Received: from [192.168.1.18] ([79.123.83.169]) by smtp.gmail.com with ESMTPSA id d2-20020ac81182000000b0039cd4d87aacsm15859553qtj.15.2023.01.17.05.55.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 05:55:58 -0800 (PST) Message-ID: <328bee46-edc9-3e33-abf6-42d907ba60b0@redhat.com> Date: Tue, 17 Jan 2023 13:55:57 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: Old story (30 years ago) To: Cut Hour , binutils@sourceware.org References: From: Nick Clifton In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 List-Id: Hi Cut, > As an extension to ELF format that does not lose generality, it is > conceivable that symbols can perform four arithmetic operations with > other symbols and constants during resolution. This sounds very much like the "complex relocations" feature supported by some architectures (eg MEP, RL78). > I don't know very well about Clang or LLVM.  So this might be > already out of date.  Any need for this extended ELF do you think? I would say probably not. Obviously support for high level languages is already working with ELF as it is. So if it isn't broken - don't fix it. This is not to say that exploring the idea is not worthwhile. It might produce some interesting results. But I would be hesitant about applying it to a generic tool like the linker without a real need. Cheers Nick