diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-02-12 19:04:16 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-02-12 19:04:16 +0000 |
commit | 5b3c56369e957a325b484b92abc4d08c77cd205c (patch) | |
tree | 49c3bea157d06bc8c9d93fc527423f0457df23c8 /target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch | |
parent | 2088a05c66fb9f7a51ecb77f57308dafaa2b5a0f (diff) | |
download | master-187ad058-5b3c56369e957a325b484b92abc4d08c77cd205c.tar.gz master-187ad058-5b3c56369e957a325b484b92abc4d08c77cd205c.tar.bz2 master-187ad058-5b3c56369e957a325b484b92abc4d08c77cd205c.zip |
[uml] add 2.6.37 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25484 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch')
-rw-r--r-- | target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch b/target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch new file mode 100644 index 0000000000..0bab54c0ba --- /dev/null +++ b/target/linux/uml/patches-2.6.37/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 : { |