Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758673AbcLAFVE (ORCPT ); Thu, 1 Dec 2016 00:21:04 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35357 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753027AbcLAFVC (ORCPT ); Thu, 1 Dec 2016 00:21:02 -0500 Date: Thu, 1 Dec 2016 16:20:39 +1100 From: Nicholas Piggin To: "Luis R. Rodriguez" Cc: "H. Peter Anvin" , Michael Matz , Arnd Bergmann , Josh Poimboeuf , Kees Cook , Guenter Roeck , Masami Hiramatsu , "linux-kernel@vger.kernel.org" , Fengguang Wu , Adrian Hunter , David Ahern , Jiri Olsa , Namhyung Kim , Wang Nan , Arnaldo Carvalho de Melo , Borislav Petkov , Joerg Roedel Subject: Re: linker-tables v5 testing Message-ID: <20161201162039.602da20a@roar.ozlabs.ibm.com> In-Reply-To: <20161201160430.6e95710a@roar.ozlabs.ibm.com> References: <20161130013349.GN1402@wotan.suse.de> <20161130140947.3ea27d9e@roar.ozlabs.ibm.com> <20161130173816.GP1402@wotan.suse.de> <20161201135146.295868f0@roar.ozlabs.ibm.com> <20161201160430.6e95710a@roar.ozlabs.ibm.com> Organization: IBM X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1147 Lines: 25 On Thu, 1 Dec 2016 16:04:30 +1100 Nicholas Piggin wrote: > On Wed, 30 Nov 2016 19:15:27 -0800 > "Luis R. Rodriguez" wrote: > > > On Wed, Nov 30, 2016 at 6:51 PM, Nicholas Piggin wrote: > > > On Wed, 30 Nov 2016 18:38:16 +0100 > > > "Luis R. Rodriguez" wrote: > > > > > >> On Wed, Nov 30, 2016 at 02:09:47PM +1100, Nicholas Piggin wrote: > > > >> What is wrong with that ? Separating linker table and section ranges is > > > > > > It's not that you separate those, of course you need that. It's that > > > you also separate other sections from the input section descriptions: > > > > > > - *(.text.hot .text .text.fixup .text.unlikely) \ > > > + *(.text.hot .text) \ > > > + *(SORT(.text.rng.*)) \ > > > + *(.text.fixup .text.unlikely) \ Ahh, you're doing it to avoid clash with compiler generated sections. The usual way to cope with that seems to be to use two dots for your name. .text..rng.*