Re: stack validation warning on lttng-modules bytecode interpreter

From: Mathieu Desnoyers
Date: Wed Jun 15 2016 - 16:43:07 EST


----- On Jun 15, 2016, at 4:28 PM, Josh Poimboeuf jpoimboe@xxxxxxxxxx wrote:

> 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.

Cool! Thanks for looking into this.

Mathieu

>
>
> --
> Josh

--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com