mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 20:50:15 +02:00
[backfire] merge r21267, r21282, r21291 & r21318
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21331 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
948fb87d05
commit
b0f21b7569
@ -434,8 +434,10 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
|
|||||||
$(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \
|
$(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \
|
||||||
$(1)/lib/
|
$(1)/lib/
|
||||||
for file in libcrypt libdl libm libnsl libresolv libutil; do \
|
for file in libcrypt libdl libm libnsl libresolv libutil; do \
|
||||||
$(CP) $(TOOLCHAIN_DIR)/lib/$$$$file.so.* $(1)/lib/; \
|
$(CP) \
|
||||||
$(CP) $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so $(1)/lib/; \
|
$(TOOLCHAIN_DIR)/lib/$$$$file.so.* \
|
||||||
|
$(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so \
|
||||||
|
$(1)/lib/; \
|
||||||
done
|
done
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -54,8 +54,9 @@ CONFIG_LEGACY_PTYS=y
|
|||||||
CONFIG_LEGACY_PTY_COUNT=256
|
CONFIG_LEGACY_PTY_COUNT=256
|
||||||
# CONFIG_MAC_PARTITION is not set
|
# CONFIG_MAC_PARTITION is not set
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
# CONFIG_MATOM is not set
|
||||||
CONFIG_MCONSOLE=y
|
CONFIG_MCONSOLE=y
|
||||||
CONFIG_MCORE2=y
|
# CONFIG_MCORE2 is not set
|
||||||
# CONFIG_MINI_FO is not set
|
# CONFIG_MINI_FO is not set
|
||||||
# CONFIG_MMAPPER is not set
|
# CONFIG_MMAPPER is not set
|
||||||
CONFIG_MK8=y
|
CONFIG_MK8=y
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
--- a/arch/um/kernel/dyn.lds.S
|
||||||
|
+++ b/arch/um/kernel/dyn.lds.S
|
||||||
|
@@ -54,8 +54,21 @@ SECTIONS
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
|
||||||
|
.rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
|
||||||
|
- .rel.plt : { *(.rel.plt) }
|
||||||
|
- .rela.plt : { *(.rela.plt) }
|
||||||
|
+ /* 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 = .);
|
||||||
|
+ }
|
||||||
|
.init : {
|
||||||
|
KEEP (*(.init))
|
||||||
|
} =0x90909090
|
||||||
|
--- a/arch/um/kernel/uml.lds.S
|
||||||
|
+++ b/arch/um/kernel/uml.lds.S
|
||||||
|
@@ -39,6 +39,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 : {
|
Loading…
Reference in New Issue
Block a user