diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2013-02-12 05:08:21 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-23 13:00:52 +0100 |
commit | 1c7472dbeb8e8400a28e603b4647453d877c7770 (patch) | |
tree | ab8ddee9d24c6f2c4bd1d19973b20de2f90c535d /scripts/runqemu-ifdown | |
parent | a5bdceea552ed7fde095b69082f5527dd22d4539 (diff) | |
download | poky-1c7472dbeb8e8400a28e603b4647453d877c7770.tar.gz |
relocate_sdk.py: Fix corruption of sdk binaries
There are two cases of corruption that the relocate_sdk.py was not correctly
dealing with.
1) SDK Extras should be left alone
Extra external binaries included in an SDK that were linked against the
host's version of /usr/lib/ld-so.so should not get a relocation applied.
In the case that was discovered these were LSB compliant binaries that
already worked on many hosts.
2) If the interp section is too small generate an error
In the case of the qemu user code, it was using its own .ld file
to link the executables which overrides the default in the nativesdk
binutils. This generated host executables which had a interp section
that was too small to relocate.
Now the relocate_sdk.py will print an error and continue on such that
the error can be fixed by a developer without having to do the
difficult task of debugging why it is crashing or not loading correctly.
(From OE-Core rev: 4142f6f9392fdd919488151170fb088d4113e0f2)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-ifdown')
0 files changed, 0 insertions, 0 deletions