| Submitter | Joakim Tjernlund |
|---|---|
| Date | Nov. 22, 2010, 8:13 a.m. |
| Message ID | <1290413598-6081-1-git-send-email-Joakim.Tjernlund@transmode.se> |
| Download | mbox | patch |
| Permalink | /patch/72509/ |
| State | Superseded |
| Delegated to: | Kim Phillips |
| Headers | show |
Comments
Patch
diff --git a/nand_spl/board/freescale/mpc8313erdb/u-boot.lds b/nand_spl/board/freescale/mpc8313erdb/u-boot.lds index ad82589..853b2de 100644 --- a/nand_spl/board/freescale/mpc8313erdb/u-boot.lds +++ b/nand_spl/board/freescale/mpc8313erdb/u-boot.lds @@ -40,8 +40,8 @@ SECTIONS *(.sdata*) _GOT2_TABLE_ = .; *(.got2) - __got2_entries = (. - _GOT2_TABLE_) >> 2; } + __got2_entries = (. - _GOT2_TABLE_) >> 2; . = ALIGN(8); __bss_start = .; diff --git a/nand_spl/board/freescale/mpc8315erdb/u-boot.lds b/nand_spl/board/freescale/mpc8315erdb/u-boot.lds index ad82589..853b2de 100644 --- a/nand_spl/board/freescale/mpc8315erdb/u-boot.lds +++ b/nand_spl/board/freescale/mpc8315erdb/u-boot.lds @@ -40,8 +40,8 @@ SECTIONS *(.sdata*) _GOT2_TABLE_ = .; *(.got2) - __got2_entries = (. - _GOT2_TABLE_) >> 2; } + __got2_entries = (. - _GOT2_TABLE_) >> 2; . = ALIGN(8); __bss_start = .;
You cannot use _GOT2_TABLE_ within its defintion. Move __got2_entries outside _GOT2_TABLE_ defining scope. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> --- nand_spl/board/freescale/mpc8313erdb/u-boot.lds | 2 +- nand_spl/board/freescale/mpc8315erdb/u-boot.lds | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)