]> code.ossystems Code Review - openembedded-core.git/commit
eglibc: relocatable SDK changes
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 31 Jul 2012 08:49:33 +0000 (11:49 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Aug 2012 14:22:35 +0000 (15:22 +0100)
commit6be55d36333e0c81a4926332d036246d28d995c4
tree48cb4d55881fc58a223a610158b187fb8beb7009
parent9fcbd447e99af5228cccb6a84dd6398c61574caf
eglibc: relocatable SDK changes

Modifying the dynamic loader path in all binaries by the SDK installer
would not be possible because we cannot know in advance the SDK target
location. Hence, the PT_INTERP section size has been set to 4096 (which
is the maximum path lengh in Linux).

Also, for the dynamic loader SYSDIRS and ld.so.cache paths, special
4096 bytes sections were allocated so that we can easily parse the ELF
binary at install time and modify the paths.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-2.15/relocatable_sdk.patch [new file with mode: 0644]
meta/recipes-core/eglibc/eglibc-2.16/relocatable_sdk.patch [new file with mode: 0644]
meta/recipes-core/eglibc/eglibc_2.15.bb
meta/recipes-core/eglibc/eglibc_2.16.bb