summaryrefslogtreecommitdiff
path: root/target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-02-12 19:04:16 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-02-12 19:04:16 +0000
commitb8b0e43cd559f0065aa8615c98b8d9904d24ac95 (patch)
tree038d8ebcc56c07258410f430b777a32ea0f1f9c0 /target/linux/uml/patches-2.6.37/006-uml_libc_link_errors.patch
parent8b16eba876b8f9b794e5c6dd574d613a8b2db71a (diff)
downloadmtk-20170518-b8b0e43cd559f0065aa8615c98b8d9904d24ac95.zip
mtk-20170518-b8b0e43cd559f0065aa8615c98b8d9904d24ac95.tar.gz
mtk-20170518-b8b0e43cd559f0065aa8615c98b8d9904d24ac95.tar.bz2
add 2.6.37 support
SVN-Revision: 25484
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.patch24
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 0000000..0bab54c
--- /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 : {