[uml] update to 2.6.38
[openwrt/svn-archive/archive.git] / target / linux / uml / patches-2.6.38 / 006-uml_libc_link_errors.patch
1 --- a/arch/um/kernel/uml.lds.S
2 +++ b/arch/um/kernel/uml.lds.S
3 @@ -35,6 +35,21 @@ SECTIONS
4 *(.gnu.warning)
5 *(.gnu.linkonce.t*)
6 }
7 + /* Deal with multilib libc */
8 + .rel.plt :
9 + {
10 + *(.rel.plt)
11 + PROVIDE_HIDDEN (__rel_iplt_start = .);
12 + *(.rel.iplt)
13 + PROVIDE_HIDDEN (__rel_iplt_end = .);
14 + }
15 + .rela.plt :
16 + {
17 + *(.rela.plt)
18 + PROVIDE_HIDDEN (__rela_iplt_start = .);
19 + *(.rela.iplt)
20 + PROVIDE_HIDDEN (__rela_iplt_end = .);
21 + }
22
23 . = ALIGN(PAGE_SIZE);
24 .syscall_stub : {