Sebastian Sumpf b8beba5bf3 ldso: Support for setting global object values
Make 'set_program_var' accessible outside of 'rtld.c'. Also, compile
dynamically linked programs with the '-fPIC' option. Doing not so,
yields to program-global symbols being put in the '.symtab' section
(which can be stripped) only. In order to get access to global
variables from the dynamic linker, the symbols need to reside within
the '.dynsym' section additionally. Hence the '-fPIC'.

ref #989
fix #1002
2013-12-20 14:48:06 +01:00
..
2013-09-23 14:26:01 +02:00
2011-12-22 16:19:25 +01:00
2011-12-22 16:19:25 +01:00
2011-12-22 16:19:25 +01:00
2011-12-22 16:19:25 +01:00
2011-12-22 16:19:25 +01:00
2011-12-22 16:19:25 +01:00
2011-12-22 16:19:25 +01:00
2012-09-05 15:06:52 +02:00

This directory contains the build system. In consists mainly of makefile
templates for different directory roles.

:'global.mk': This file contains global variables, for example the
  definitions of the tools to use.

:'generic.mk': Generic rules for creating file types from others.

:'prg.mk': This file represents the target binary role of a directory.
  It must be included by all makefiles that build programs.

:'lib.mk': This file represents a library role. It is never used from
  within the 'src/' directory but only from the <libname>.mk files
  in 'lib/mk/'.