interp.c
author Mathieu Lacage <mathieu.lacage@alcmeon.com>
Sat, 23 Feb 2013 20:59:51 +0100
changeset 656 e4817d48962f
parent 125 11d7bfeba99c
permissions -rw-r--r--
basic test for tls

// We have to set the interpreter name with this hack
// because the linker will ignore --dynamic-linker=ldso
// when building a shared library and will thus
// refuse to output a PT_INTERP and PT_PHDR entry
// in the program header table.
const char __invoke_dynamic_linker__[] __attribute__ ((section (".interp"))) = "ldso";