
Okie, my resubmission. Just tested 5 minutes ago and works. Thanks for the feedback. :)
Chris
CHANGELOG
* Fix to linker script for mpc8641hpcn platform to enable a correct symbol table with ELDK 4.0 linker.
diff --git a/board/mpc8641hpcn/u-boot.lds b/board/mpc8641hpcn/u-boot.lds index b34de8e..13c1acf 100644 --- a/board/mpc8641hpcn/u-boot.lds +++ b/board/mpc8641hpcn/u-boot.lds @@ -120,10 +120,12 @@ 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 = .;
On Fri, 2006-12-01 at 00:15 +0100, Wolfgang Denk wrote:
In message 1164920966.323.30.camel@kaboom.lisle.iphase.com you wrote:
diff --git a/board/mpc8641hpcn/u-boot.lds b/board/mpc8641hpcn/u-boot.lds index b34de8e..c2f6727 100644 --- a/board/mpc8641hpcn/u-boot.lds +++ b/board/mpc8641hpcn/u-boot.lds @@ -120,7 +120,7 @@ SECTIONS _edata = .; PROVIDE (edata = .);
- __u_boot_cmd_start = .;
- __u_boot_cmd_start = ADDR(.u_boot_cmd); .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .;
I think there should be a ". = .;" line before the __u_boot_cmd_start like we do on other boards. Please verify that this works for you, too, and resubmit.
Best regards,
Wolfgang Denk