summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-09-15 22:20:09 -0700
committerSaul Wold <sgw@linux.intel.com>2012-09-15 22:20:09 -0700
commite5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c (patch)
treef9a5421ce3a9e08604e5e32e9c399d1ddd073849 /meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch
parentae631a5ed00b5f42c928913fcbada26f670adce9 (diff)
downloadpoky-e5c3513ca8abb21eb5e9b8c19d1b9199b14ae07c.tar.gz
qemu: fix relocatable patch for M41.3_M4.final1.3_M4
Since M4 used 0.15 and the relocatable_sdk was made for 1.2, it needs to be moved and rebased Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch b/meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch
new file mode 100644
index 0000000000..0a01a8a048
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.15.1/relocatable_sdk.patch
@@ -0,0 +1,34 @@
1Upstream-Status: Inappropriate [SDK specific]
2
3In order to be able to change the dynamic loader path when relocating
4binaries, the interp section has to be made big enough to accomodate
5the new path (4096 is the maximum path length in Linux).
6
7Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
8
9Index: qemu-1.2.0/i386.ld
10===================================================================
11--- qemu-1.2.0.orig/i386.ld
12+++ qemu-1.2.0/i386.ld
13@@ -8,7 +8,7 @@ SECTIONS
14 {
15 /* Read-only sections, merged into text segment: */
16 . = 0x60000000 + SIZEOF_HEADERS;
17- .interp : { *(.interp) }
18+ .interp : { *(.interp); . = 0x1000; }
19 .hash : { *(.hash) }
20 .dynsym : { *(.dynsym) }
21 .dynstr : { *(.dynstr) }
22Index: qemu-1.2.0/x86_64.ld
23===================================================================
24--- qemu-1.2.0.orig/x86_64.ld
25+++ qemu-1.2.0/x86_64.ld
26@@ -6,7 +6,7 @@ SECTIONS
27 {
28 /* Read-only sections, merged into text segment: */
29 . = 0x60000000 + SIZEOF_HEADERS;
30- .interp : { *(.interp) }
31+ .interp : { *(.interp); . = 0x1000; }
32 .hash : { *(.hash) }
33 .dynsym : { *(.dynsym) }
34 .dynstr : { *(.dynstr) }