From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4217 invoked by alias); 14 Jun 2017 18:12:15 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 4194 invoked by uid 89); 14 Jun 2017 18:12:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1235, reserved X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-qt0-f180.google.com Received: from mail-qt0-f180.google.com (HELO mail-qt0-f180.google.com) (209.85.216.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 18:12:13 +0000 Received: by mail-qt0-f180.google.com with SMTP id u19so9638566qta.3 for ; Wed, 14 Jun 2017 11:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LwikoD6SK1dbABk50llWFoF5FeozYM9R6HTiCagXRHM=; b=IMDNwyKRCbGBQKUNEgHXoBAowvThUm25yRmm3dinvaFY5Pt6hbGPm/24MfBh4dBKQw z2p1QAIVwg0Wyl7aI4uN+7dNXc+HdzytTRWnAaDfzDAx80Uht2JyI6AIEbg2L5BhUhxR pL0u/XMzhE64p5wnsTZSeQRI9N/RQ1jxRbdnYyjrxdIYi/w3q6Rpk174h+qckEKbYqSu 8JEIYYi3a8ENo4ogeJRcHYOGTTPFbjgDMnIV6V9dHEs7dfokRbQM57MILoU07bbT9ykD l2HTirjmvyG2tbAcsJT5gRN263sbMd/P4CYKW8Tpdh/C6rYYoOKrAPn8MeXFUoaQOpVQ ZdCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LwikoD6SK1dbABk50llWFoF5FeozYM9R6HTiCagXRHM=; b=S+5TvIvlOQ6ePEXO0It66YOaoFADiRKYoLxFCv/Q3Pgy5u9QmSKoL3NB2OcikDwG8Z lZEGuY7sIvAcQlOwxw/aKIAVadQz2s4bOhWs2IDiAzuOfk/znYDhYslHcDeAEwRKISM/ 8wdsQmFEJ3+RkywAVDk4UISaYRdwtlMtuiwYshAwIZoKS3X3vFGmay1BuDxxH3S4oX/M m35IErMtib3Dd083GgM2ixSNWaGbodWTPc0REH9j7muLtADHwCEeeX9JIDlhnC0ERT7A zgs5RmlRx1D87n0YqyJgs2ztduENq2u6w8Ev04QxjcDCBYN2sZMh4ZK46rQ8sNfBDF2i 9frA== X-Gm-Message-State: AKS2vOwLAvEmEqqyhTx8xIRFdBKL65gh281ivlf8o2YY+qGqm211b8QH GD/5jjyCTjH8iluf1fQaKvI5f3eSLw== X-Received: by 10.200.9.59 with SMTP id t56mr1695271qth.107.1497463936117; Wed, 14 Jun 2017 11:12:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.104.86 with HTTP; Wed, 14 Jun 2017 11:12:15 -0700 (PDT) In-Reply-To: References: From: "H.J. Lu" Date: Sun, 01 Jan 2017 00:00:00 -0000 Message-ID: Subject: Re: Reserving a section type range for LLVM To: Peter Collingbourne Cc: gnu-gabi@sourceware.org, =?UTF-8?Q?Rafael_=C3=81vila_de_Esp=C3=ADndola?= , Rui Ueyama Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00030.txt.bz2 On Wed, Jun 14, 2017 at 11:03 AM, Peter Collingbourne via gnu-gabi wrote: > Any objections to this? > > Peter > > On Wed, Jun 7, 2017 at 8:29 PM, Peter Collingbourne wrote: >> Hi, >> >> I am working on a feature in LLVM which will require a special section >> type for passing information between the compiler and the linker. >> >> I see [1] that binutils has defined section types in the range >> 0x6fff4700..0x6fff47ff, where presumably the 0x47 ('G') stands for >> GNU. In a similar fashion I would like to have the range >> 0x6fff4c00..0x6fff4cff reserved for LLVM. >> >> Thanks, >> Peter >> >> [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=elfcpp/elfcpp.h;h=cce40d41dedb281c2d8f41135250c2cc39162469;hb=HEAD#l369 There are: #define SHT_GNU_INCREMENTAL_INPUTS 0x6fff4700 /* incremental build data */ #define SHT_GNU_ATTRIBUTES 0x6ffffff5 /* Object attributes */ #define SHT_GNU_HASH 0x6ffffff6 /* GNU style symbol hash table */ #define SHT_GNU_LIBLIST 0x6ffffff7 /* List of prelink dependencies */ 0x6fff4700 to 0x6fffffff may be used for GNU section types. We can carve out 0x6fff4c00..0x6fff4cff for LLVM. -- H.J.