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:15 +0000 (16:49 -0400)
commite9dbbd6ee8a813cb5999c67ca21a6a10e4222d79
tree2078523e1738c5961e1ec2369589c67fc360858d
parent276c934f8b6c0d06c91f3d093be6a4d100ccd2d2
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.02452 seconds and 4 git commands to generate.