From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by sourceware.org (Postfix) with ESMTPS id 8B2383858C52 for ; Tue, 17 Jan 2023 15:28:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B2383858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x1034.google.com with SMTP id a14-20020a17090a70ce00b00229a2f73c56so2414087pjm.3 for ; Tue, 17 Jan 2023 07:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JEgwq5eXBH2nI5JWzVl1NGDu3CFnH4GRb0k0nQHXt3c=; b=mbYfmflFoCLdWv0gqSg5SjeBHa21EJIIR2LQk5OBBJcZlqbc+1NGsPNA/eWWuZGdZV GlepnFt6pzZY8vI3guRF7Eh1gmLh47kTtly+lPDdK8FFetGV1JtE7gt9Qh7ldJvdAG6u T/oCIfRG50xuHUaz9xD1SnBCcmALzn8Oi7S5wJAJK9BZVxOfYmbCQRQp5wjTkv0lSq+B DQQtz1i7Q/fSlKYX8MvUJyhcWuh+mpMBfnznMMXzEbogF2dfmtAct/hkDHPxztskza3M kZxHnMilcjMihrZ/aAg3jSMjdwwfX5kB1EVzRfItDttzW2/sWs/0XEU3S4kCjoQL8LHR dXHQ== 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=JEgwq5eXBH2nI5JWzVl1NGDu3CFnH4GRb0k0nQHXt3c=; b=2L4JBv1/8uhyN2151w4iN6ov6IQEliHUULAsN7UFByNvYoIAsroQRO17vcR8S8L1Ww SoA9iy8jA8NVD6tOimWUHye8qiYDDOq8JwVXFz/f2NS7QPPVTVqtp1pJKMnfNukfYpkh pju1KQbyjmeKnLsGOSfyW6qw1/oeG9eUTA2R8yCR6sS0SC0IABvg4IyIq4VxTZA3pEMM ZDjAyPms6xum/NW1ibYE2ytWV32KptGylWIYXs7CZB3fusBYaEp56X6BBoIy8EID0noq 061rbdoiK0q9qtzA6HnBwhYcM/Nu/9zt7SSbt2heDaGngMjIma0nWqCO/WJ8mu9Y+CX9 pyhA== X-Gm-Message-State: AFqh2kr5Fst8krWwiy8Fb04ShYbbcmBHON7gOoYPlbg/gjhjr5yaxHVJ 8Iu3A89MQHIL/dfNK22xer5hTgvEzNs= X-Google-Smtp-Source: AMrXdXurodYoBOWopI84MQhlGX4ES24c3+mrLRecVyU1jWUiTc13Dsx5aZIj46L4Jue8buouo80XyA== X-Received: by 2002:a05:6a21:6d92:b0:b0:3e0f:508d with SMTP id wl18-20020a056a216d9200b000b03e0f508dmr4422803pzb.55.1673969320672; Tue, 17 Jan 2023 07:28:40 -0800 (PST) Received: from ?IPV6:2001:ce8:126:2a3a:34ea:5ce6:30be:c498? ([2001:ce8:126:2a3a:34ea:5ce6:30be:c498]) by smtp.gmail.com with ESMTPSA id l9-20020a17090a4d4900b00228ea2e951fsm7566098pjh.8.2023.01.17.07.28.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 07:28:40 -0800 (PST) Message-ID: <3a337aa1-032b-1d19-8c42-db8a117841c0@gmail.com> Date: Wed, 18 Jan 2023 00:28:37 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Old story (30 years ago) Content-Language: en-US To: binutils@sourceware.org References: <328bee46-edc9-3e33-abf6-42d907ba60b0@redhat.com> From: Cut Hour In-Reply-To: <328bee46-edc9-3e33-abf6-42d907ba60b0@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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, Nick, >> 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. It might be broken if we want to only recompile basically touched source files like the programming in C.  Or is this cleared in LLVM? > 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. I myself had needed it.  My plan was like this.  Every instance has a ptr to its class.  Every class has a method table (array of ptr to function).  All methods are called via a ptr in the method table. The syntax is almost the same as ObjC.  Binutils (for the structured programming) is what makes this simplest OO language so hard to come by.  Neither C++ nor ObjC nor Java pointed that out.  Again, is this cleared in LLVM?