From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18924 invoked by alias); 14 Jun 2017 18:20:01 -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 18880 invoked by uid 89); 14 Jun 2017 18:20:00 -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=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=HX-Received:10.223.129.36, reserved X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD 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-wr0-f176.google.com Received: from mail-wr0-f176.google.com (HELO mail-wr0-f176.google.com) (209.85.128.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 18:19:59 +0000 Received: by mail-wr0-f176.google.com with SMTP id r103so9674138wrb.0 for ; Wed, 14 Jun 2017 11:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ldKWmPFWVhE0B15bJth9hk+J88ekScW+O3Ph5BMJeLE=; b=S0iookRmLOLeibeGctw+1w87pRs/9C2Rd/UScRHicxwl+lJ2jLENdPMYpQdL9vlL9z Z2CFYxYVjz+5Jsla0AJ5oi/HQsIkUT1LG/JXLDqn1VxxFIp+RLVnnwqdRiG1tcS4wJSg p4aYi9ONIuEXASoScSk0++ENMZ7x229wChWngJLlaWunvXuHaZvf6GQWbCknpHHNyRwP qH69kE/453x1BDerk3NyJVzYxv/GdxqzEXrlj2JXIXxRbxnwbud3GgXYThAnj81edZf4 7+hUtDAD+9W6Y5iizzUmAoGZohlX5fjshPP4pjRIh8SqpcNxjI49Z/hw1NNFdu+A0eH7 Xpow== 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=ldKWmPFWVhE0B15bJth9hk+J88ekScW+O3Ph5BMJeLE=; b=VNUkdqpqNLLbeYongeOuWMpPvYfQuWX91HoujH0KizhB2WCkBPiGDvtnATa7xkSeET dzxwDoOrwbW40xEoj9vEGuwukXg9U0O68dShLl227IQvpSEvehNp6wH+B4DVJ9yL9Wfw ilnn/bVIpxl5sVA+NUhSQ1Jl9Z3YSY0nDqAhlhVPoZHCJut1oLozFfZt8F2g7yS8U/8K A5WKy6IfXXNl0KDU1Y3iSHqUnQPMaoEjbFMBmJpEwiRmrx84W3ALZMfutn7GT6KPtvEt mNFJUi6wqVjlnRcyGFPNaQXE+DThbU+9X5vJzHRFROATTFwglNHzFB7PEEbKp+SrpD15 sfWg== X-Gm-Message-State: AKS2vOyfTYaogzVUQ1ipeJlB9umFXM+9S7xtjfVHIoTJAni6CZDTYbSA gPSzMZFabcCDL+IYrbAN8RL2GPITS75G X-Received: by 10.223.129.36 with SMTP id 33mr871448wrm.129.1497464401494; Wed, 14 Jun 2017 11:20:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.156.3 with HTTP; Wed, 14 Jun 2017 11:20:00 -0700 (PDT) In-Reply-To: References: From: "Peter Collingbourne via gnu-gabi" Reply-To: Peter Collingbourne Date: Sun, 01 Jan 2017 00:00:00 -0000 Message-ID: Subject: Re: Reserving a section type range for LLVM To: "H.J. Lu" 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/msg00031.txt.bz2 On Wed, Jun 14, 2017 at 11:12 AM, H.J. Lu wrote: > 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. Thanks, sounds good. Where would be the best place to document this? Should I send a pull request to https://github.com/hjl-tools/linux-abi ? Peter