From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7798 invoked by alias); 8 Aug 2012 07:47:58 -0000 Received: (qmail 7774 invoked by uid 22791); 8 Aug 2012 07:47:56 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pb0-f47.google.com (HELO mail-pb0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Aug 2012 07:47:43 +0000 Received: by pbcwy7 with SMTP id wy7so1024760pbc.20 for ; Wed, 08 Aug 2012 00:47:42 -0700 (PDT) Received: by 10.68.194.169 with SMTP id hx9mr34068880pbc.8.1344412062870; Wed, 08 Aug 2012 00:47:42 -0700 (PDT) Received: from [192.168.1.30] (st0300.nas931.d-osaka.nttpc.ne.jp. [202.229.225.44]) by mx.google.com with ESMTPS id vc5sm9460441pbc.2.2012.08.08.00.47.41 (version=SSLv3 cipher=OTHER); Wed, 08 Aug 2012 00:47:42 -0700 (PDT) Message-ID: <50221992.9020407@gmail.com> Date: Wed, 08 Aug 2012 07:47:00 -0000 From: Fumiaki Isoya User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Ian Lance Taylor CC: gcc@gcc.gnu.org Subject: Re: The Extension to ELF References: <5021FB65.2010704@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg00076.txt.bz2 > ELF is designed to permit fast program loading at runtime, and to > permit fast linking. Changing symbol and relocation values to take > general expressions works against that goal. > I'm sure it is possible to improve on ELF in various ways. However, > ELF is pretty good. I very strongly recommend that you understand how > the format works before you attempt to extend it. Thanks for your reply. I don't necessarily have a thought special to ELF. I merely thought vaguely "it will become such a form, supposing it realizes". If required, even if it will become a completely different format from ELF, I don't care. I showed example. > Point_do6 .define Object_MMAX .+ 4 What I hope is that this definition is going to be stored in .o file as the following form. [Point_do6] [Object_MAX] [4] [+] [!] My main hope is to keep the principle "What is necessary is to re-compile only the source files you touched". I don't care at all if I must convert the execution file or library file from different format to ELF after linking or archiving.