mirror of
https://git.yoctoproject.org/poky
synced 2026-02-24 18:39:40 +01:00
Tested qemu on x86-64 target and qemu-native no obvious problems seen in testing (From OE-Core rev: f479201fffda617e3530967a75ab350739574b4b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
Upstream-Status: Inappropriate [SDK specific]
|
|
|
|
In order to be able to change the dynamic loader path when relocating
|
|
binaries, the interp section has to be made big enough to accomodate
|
|
the new path (4096 is the maximum path length in Linux).
|
|
|
|
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
|
|
|
|
Index: qemu-1.4.0/ldscripts/i386.ld
|
|
===================================================================
|
|
--- qemu-1.4.0.orig/ldscripts/i386.ld 2013-02-15 15:05:35.000000000 -0800
|
|
+++ qemu-1.4.0/ldscripts/i386.ld 2013-02-28 22:55:36.138816418 -0800
|
|
@@ -8,7 +8,7 @@
|
|
{
|
|
/* Read-only sections, merged into text segment: */
|
|
. = 0x60000000 + SIZEOF_HEADERS;
|
|
- .interp : { *(.interp) }
|
|
+ .interp : { *(.interp); . = 0x1000; }
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|
|
Index: qemu-1.4.0/ldscripts/x86_64.ld
|
|
===================================================================
|
|
--- qemu-1.4.0.orig/ldscripts/x86_64.ld 2013-02-15 15:05:35.000000000 -0800
|
|
+++ qemu-1.4.0/ldscripts/x86_64.ld 2013-02-28 22:55:36.138816418 -0800
|
|
@@ -6,7 +6,7 @@
|
|
{
|
|
/* Read-only sections, merged into text segment: */
|
|
. = 0x60000000 + SIZEOF_HEADERS;
|
|
- .interp : { *(.interp) }
|
|
+ .interp : { *(.interp); . = 0x1000; }
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|