Without this patch the linker will SEGFAULT on some undefined weak
symbols.

Suggested-by: Sebastien Carlier <[email protected]>
Signed-off-by: Andreas Bießmann <[email protected]>
---
 arch/arm/cpu/arm920t/u-boot.lds |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/cpu/arm920t/u-boot.lds b/arch/arm/cpu/arm920t/u-boot.lds
index a6f8b56..d8b77df 100644
--- a/arch/arm/cpu/arm920t/u-boot.lds
+++ b/arch/arm/cpu/arm920t/u-boot.lds
@@ -43,6 +43,9 @@ SECTIONS
                *(.text)
        }
 
+       .plt : { *(.plt) }
+       .rel.plt : { *(.rel.plt) }
+
        . = ALIGN(4);
        .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
-- 
1.7.3.2

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to