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:48:00 +0000 (16:48 -0400)
commit2df586a6d8136c08cf5f0b1210a268d6c37601de
treeb23a72683371f661a3906fb86c267f0160ccf24d
parente56bb47c3af00db3bc9e2dea711bef4882e6ef4c
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.025853 seconds and 5 git commands to generate.