Fix: lttng-ust-elf.c: define NT_GNU_BUILD_ID if not defined
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 29 Oct 2016 17:32:57 +0000 (13:32 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Jun 2017 20:49:12 +0000 (16:49 -0400)
commit71bf0951cf63dbd51058fc23700bf3742017fa29
tree0fbe26d413415d2d6a8515d9c87724ae30a8048e
parent363fe7802a7f7732434c8949e153aea23a94aa1f
Fix: lttng-ust-elf.c: define NT_GNU_BUILD_ID if not defined

On uClibc, NT_GNU_BUILD_ID is not defined, so we define it
manually in this case.

This definition is the number given to the .note.gnu.build-id section
(of type SHT_NOTE) of a linked ELF object.

    The ELF note headers give name "GNU" and type 3 (NT_GNU_BUILD_ID)
for a build ID note, of which there can be only one in a linked object
[...]

See http://fedoraproject.org/wiki/RolandMcGrath/BuildID

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-elf.c
This page took 0.024837 seconds and 4 git commands to generate.