summaryrefslogtreecommitdiffstats
path: root/target/linux/uml/patches-2.6.38/006-uml_libc_link_errors.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-05-02 07:57:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-05-02 07:57:25 +0000
commita18ec3c37e1362c202b50da1975c3f9c11450584 (patch)
tree12b11b177cc914b3f0242a914d20a9b777fddc2a /target/linux/uml/patches-2.6.38/006-uml_libc_link_errors.patch
parentaf53fa1d91e84f4d7cca1b125bf37b1de798449d (diff)
downloadmaster-31e0f0ae-a18ec3c37e1362c202b50da1975c3f9c11450584.tar.gz
master-31e0f0ae-a18ec3c37e1362c202b50da1975c3f9c11450584.tar.bz2
master-31e0f0ae-a18ec3c37e1362c202b50da1975c3f9c11450584.zip
update to 2.6.38
SVN-Revision: 26803
Diffstat (limited to 'target/linux/uml/patches-2.6.38/006-uml_libc_link_errors.patch')
-rw-r--r--target/linux/uml/patches-2.6.38/006-uml_libc_link_errors.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/uml/patches-2.6.38/006-uml_libc_link_errors.patch b/target/linux/uml/patches-2.6.38/006-uml_libc_link_errors.patch
new file mode 100644
index 0000000000..0bab54c0ba
--- /dev/null
+++ b/target/linux/uml/patches-2.6.38/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 : {