From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753195AbcFOU2L (ORCPT ); Wed, 15 Jun 2016 16:28:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47781 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932950AbcFOU2I (ORCPT ); Wed, 15 Jun 2016 16:28:08 -0400 Date: Wed, 15 Jun 2016 15:28:06 -0500 From: Josh Poimboeuf To: Mathieu Desnoyers Cc: lttng-dev , Linux Kernel Mailing List Subject: Re: stack validation warning on lttng-modules bytecode interpreter Message-ID: <20160615202806.srownowdzh5mexsh@treble> References: <1074038231.37468.1466009716273.JavaMail.zimbra@efficios.com> <20160615181817.vvnf66z6cpwcraq7@treble> <734452688.38065.1466018019445.JavaMail.zimbra@efficios.com> <20160615193846.qsa7vffhi7rn6x2s@treble> <596775805.38201.1466020869401.JavaMail.zimbra@efficios.com> <20160615202452.3u4trysvatx4xtgc@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160615202452.3u4trysvatx4xtgc@treble> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 15 Jun 2016 20:28:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 15, 2016 at 03:24:52PM -0500, Josh Poimboeuf wrote: > Thanks, figured it out. It was an objtool bug. It was expecting the > macro to create a section symbol (STT_SECTION), but for some reason this > file's use of the macro creates a function symbol (STT_FUNC). Actually, to be precise: this file's use of the macro creates a relocation which references the function symbol rather than the section symbol. -- Josh