diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-06-04 18:26:54 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-06-04 18:26:54 +0000 |
commit | 16a2625fed7318446dce89a8372fb1c8c150414f (patch) | |
tree | 5455f1716958b6a66df1822cbd6a10d5f1e5a89c /target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch | |
parent | ef82936dd08e14efc5eaf74a6e7205c08e3bbfc8 (diff) |
[uml] update to 2.6.39.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27110 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch')
-rw-r--r-- | target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch b/target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch new file mode 100644 index 000000000..0bab54c0b --- /dev/null +++ b/target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch @@ -0,0 +1,24 @@ +--- a/arch/um/kernel/uml.lds.S ++++ b/arch/um/kernel/uml.lds.S +@@ -35,6 +35,21 @@ SECTIONS + *(.gnu.warning) + *(.gnu.linkonce.t*) + } ++ /* Deal with multilib libc */ ++ .rel.plt : ++ { ++ *(.rel.plt) ++ PROVIDE_HIDDEN (__rel_iplt_start = .); ++ *(.rel.iplt) ++ PROVIDE_HIDDEN (__rel_iplt_end = .); ++ } ++ .rela.plt : ++ { ++ *(.rela.plt) ++ PROVIDE_HIDDEN (__rela_iplt_start = .); ++ *(.rela.iplt) ++ PROVIDE_HIDDEN (__rela_iplt_end = .); ++ } + + . = ALIGN(PAGE_SIZE); + .syscall_stub : { |