From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: ACJfBos5UjccACovPPmLfMzDGZLtUWiuWaenNACD/ZUjshja+JJYDaA9fi8P9+K17mBme+8BIluP ARC-Seal: i=1; a=rsa-sha256; t=1516289687; cv=none; d=google.com; s=arc-20160816; b=M+dTQ4R/XeOwja1qs9A4/qAJG3+Z6JecOGDxInRPzkTl3QXyxcpT3qrCpThxjT8Wrg EhdgfMktGAmBxCZEqA9vR9MQXxtnvKZk7gkPvfCkQ+DoHzYZWxXI9xztYXvhPFOx0hqW mwKMCTj9sqNgJc7iOUCy7UVsiHr5Z8rilC31VSCp3aNbiQPqxMI/8sZ86Upj64Z3+P+e bedJGEvSABGwodYKpgjXQ848F1x+uqez/paexGOLgUnDbYcCk5bJD67RB1T3MOxHlH1N NOZR5LNZpQxTi0WTHLP7r+b7A/AfO+sPc5xvztp9mtKSp5fiV58ZmF61n5tYX0szx+QG NGRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dmarc-filter :arc-authentication-results; bh=2wJqRp3fuhnhOSo5zERb0qLczS63cc5YN7VkZ1lHtE4=; b=EC4ZF9VsLc+8mAk4SFGMuftUiJPZX45D7lYNHIPKRbP/OLqra0mb/7qyl+/thTKEHR 8l//hyOBYpBAsBdqoTNz3GdwTvabgRcC1A8PjoZkB4ZZYHfufdmkCoaJaxZyroXNtqp6 dr7Jafc5DyQEvk/k5F50Ccyzflgsmid+6DZ4ePNJpMKgm/l4GyAqnJykr9UpH+eg2XAh pRbz6wwur8z6qVNrcCtbCstVgZilXEJvB+534IClfR3XJSxKfT3baY1D+bp0cd7/eqZ0 MCfpK1K4BcqSapOSY8yYkqDHXGED4bvV55Q0oegfC0/Rd9suRqbiRtPy/3+PV02/oOKP dCtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of mhiramat@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=mhiramat@kernel.org Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of mhiramat@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=mhiramat@kernel.org DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C50AF20836 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mhiramat@kernel.org Date: Fri, 19 Jan 2018 00:34:43 +0900 From: Masami Hiramatsu To: "Woodhouse, David" Cc: mhiramat@kernel.org, "mingo@kernel.org" , "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "arjan@linux.intel.com" , "tglx@linutronix.de" , "ak@linux.intel.com" , "hpa@zytor.com" , "ananth@linux.vnet.ibm.com" , "gregkh@linux-foundation.org" Subject: Re: [PATCH v1 tip/master 1/3] retpoline: Introduce start/end markers of indirect thunk Message-Id: <20180119003443.a58188a04552897d7fb78dbc@kernel.org> In-Reply-To: <1516277170.4937.121.camel@amazon.co.uk> References: <151627684798.24682.2979775081582774869.stgit@devbox> <151627687913.24682.16564356005083781238.stgit@devbox> <1516277170.4937.121.camel@amazon.co.uk> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1589931570462984334?= X-GMAIL-MSGID: =?utf-8?q?1589944975796420625?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: On Thu, 18 Jan 2018 12:06:10 +0000 "Woodhouse, David" wrote: > On Thu, 2018-01-18 at 21:01 +0900, Masami Hiramatsu wrote: > > > > +#define X86_INDIRECT_THUNK(reg)        \ > > +               *(.text.__x86.indirect_thunk.##reg) > > Note that we don't actually care about those being in their own > section, named after the register. That was just a hangover from the > initial GCC COMDAT implementation. > > If it makes your life easier just to put them all in a single section, > go ahead. Got it. I just concerned that gcc was using this section. I'll make it ".text.__x86.indirect_thunk" to consolidate. Thanks! -- Masami Hiramatsu