Merge commit 'remotes/wd/master'
[oweals/u-boot.git] / board / pb1x00 / u-boot.lds
index 363d974c48f527f84f96124af7b2175a04046d4c..861873272b6196a71a7ab4685cf2d0e83126ed61 100644 (file)
@@ -54,9 +54,11 @@ SECTIONS
 
        .sdata  : { *(.sdata) }
 
-       __u_boot_cmd_start = .;
-       .u_boot_cmd : { *(.u_boot_cmd) }
-       __u_boot_cmd_end = .;
+       .u_boot_cmd : {
+         __u_boot_cmd_start = .;
+         *(.u_boot_cmd)
+         __u_boot_cmd_end = .;
+       }
 
        uboot_end_data = .;
        num_got_entries = (__got_end - __got_start) >> 2;