summaryrefslogtreecommitdiff
path: root/board/cpu86
diff options
context:
space:
mode:
Diffstat (limited to 'board/cpu86')
-rw-r--r--board/cpu86/Makefile2
-rw-r--r--board/cpu86/u-boot.lds6
2 files changed, 6 insertions, 2 deletions
diff --git a/board/cpu86/Makefile b/board/cpu86/Makefile
index 35b8428..7a2014d 100644
--- a/board/cpu86/Makefile
+++ b/board/cpu86/Makefile
@@ -28,7 +28,7 @@ LIB = lib$(BOARD).a
OBJS = $(BOARD).o flash.o
$(LIB): .depend $(OBJS)
- $(AR) crv $@ $^
+ $(AR) crv $@ $(OBJS)
#########################################################################
diff --git a/board/cpu86/u-boot.lds b/board/cpu86/u-boot.lds
index 9d56f13..ce6c454 100644
--- a/board/cpu86/u-boot.lds
+++ b/board/cpu86/u-boot.lds
@@ -94,6 +94,11 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
+ __u_boot_cmd_start = .;
+ .u_boot_cmd : { *(.u_boot_cmd) }
+ __u_boot_cmd_end = .;
+
+
__start___ex_table = .;
__ex_table : { *(__ex_table) }
__stop___ex_table = .;
@@ -116,4 +121,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-