]> code.ossystems Code Review - openembedded-core.git/commit
relocate_sdk: fixed .gccrelocprefix section handling
authorWenlin Kang <wenlin.kang@windriver.com>
Wed, 23 Mar 2016 08:35:48 +0000 (16:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Mar 2016 14:54:51 +0000 (15:54 +0100)
commitc43192c46bb1759bf6909190b89d3b60918777c5
tree9ee77b42f9bf62367767ab35dcbaa68ea3fd0f1e
parent351064e9c5deb6411c8a0d40ebd4fd4f83299d4e
relocate_sdk: fixed .gccrelocprefix section handling

When fixing paths for .gccrelocprefix section, it will corrupt the next
entry during updating the current one if "new_prefix" length is more
than "DEFAULT_INSTALL_DIR", this problem is obvious on the code, but it's
only found when install sdk onto a net file system.

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/relocate_sdk.py