rk: fix PIE support multi cpu

This commit is contained in:
黄涛
2014-04-08 08:47:46 +08:00
parent adba4d2fdb
commit 992bb62edd
2 changed files with 2 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ SECTIONS
PIE_OVERLAY_START
OVERLAY : NOCROSSREFS {
PIE_OVERLAY_SECTION(overlay)
PIE_OVERLAY_SECTION(rk3288)
PIE_OVERLAY_SECTION(rk3188)
}

View File

@@ -64,7 +64,7 @@ struct pie_chunk *__pie_load_data(struct gen_pool *pool, bool phys,
goto err;
}
common_sz = code_start - (void *)__pie_common_start;
common_sz = __pie_overlay_start - __pie_common_start;
code_sz = code_end - code_start;
chunk->pool = pool;