From 89dd8aed1f99cb1d9b62793b90030e9bcc77d080 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 4 Jun 2011 18:26:54 +0000 Subject: update to 2.6.39.1 SVN-Revision: 27110 --- .../patches-2.6.39/006-uml_libc_link_errors.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch (limited to 'target/linux/uml/patches-2.6.39/006-uml_libc_link_errors.patch') 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 0000000..0bab54c --- /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 : { -- cgit v1.1