summaryrefslogtreecommitdiff
path: root/board/c2mon
diff options
context:
space:
mode:
Diffstat (limited to 'board/c2mon')
-rw-r--r--board/c2mon/Makefile2
-rw-r--r--board/c2mon/u-boot.lds6
-rw-r--r--board/c2mon/u-boot.lds.debug6
3 files changed, 11 insertions, 3 deletions
diff --git a/board/c2mon/Makefile b/board/c2mon/Makefile
index 35b84288da..7a2014d466 100644
--- a/board/c2mon/Makefile
+++ b/board/c2mon/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/c2mon/u-boot.lds b/board/c2mon/u-boot.lds
index 4b0129f0f3..86e587ff2f 100644
--- a/board/c2mon/u-boot.lds
+++ b/board/c2mon/u-boot.lds
@@ -109,6 +109,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 = .;
@@ -131,4 +136,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-
diff --git a/board/c2mon/u-boot.lds.debug b/board/c2mon/u-boot.lds.debug
index 8dc6d408ca..f6f7cf4fa5 100644
--- a/board/c2mon/u-boot.lds.debug
+++ b/board/c2mon/u-boot.lds.debug
@@ -106,6 +106,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 = .;
@@ -128,4 +133,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}
-