Jelajahi Sumber

Fix 8641HPCN problem with ld version 2.16

(Dot outside sections problem).

This fix is in the spirit of 807d5d7319330e336ab34a5623c5e0d73b87d540.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Jon Loeliger 18 tahun lalu
induk
melakukan
6eb1df8351
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      board/mpc8641hpcn/u-boot.lds

+ 2 - 0
board/mpc8641hpcn/u-boot.lds

@@ -120,10 +120,12 @@ SECTIONS
   _edata  =  .;
   _edata  =  .;
   PROVIDE (edata = .);
   PROVIDE (edata = .);
 
 
+  . = .;
   __u_boot_cmd_start = .;
   __u_boot_cmd_start = .;
   .u_boot_cmd : { *(.u_boot_cmd) }
   .u_boot_cmd : { *(.u_boot_cmd) }
   __u_boot_cmd_end = .;
   __u_boot_cmd_end = .;
 
 
+  . = .;
   __start___ex_table = .;
   __start___ex_table = .;
   __ex_table : { *(__ex_table) }
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;
   __stop___ex_table = .;