Merge commit 'u-boot/master' into for-1.3.1
[platform/kernel/u-boot.git] / board / purple / u-boot.lds
index aa51cbf..50e7f84 100644 (file)
@@ -53,7 +53,8 @@ SECTIONS
        . = ALIGN(4);
        .data  : { *(.data) }
 
-       _gp = ALIGN(16);
+       . = .;
+       _gp = ALIGN(16) + 0x7ff0;
 
        .got : {
          __got_start = .;
@@ -63,10 +64,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;