projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MPC8260: Fix compile problems with "hymod" board
[platform/kernel/u-boot.git]
/
board
/
hymod
/
u-boot.lds
diff --git
a/board/hymod/u-boot.lds
b/board/hymod/u-boot.lds
index
2b7e54b
..
1309f20
100644
(file)
--- a/
board/hymod/u-boot.lds
+++ b/
board/hymod/u-boot.lds
@@
-55,30
+55,27
@@
SECTIONS
/* WARNING - the following is hand-optimized to fit within */
/* the sector layout of our flash chips! XXX FIXME XXX */
/* WARNING - the following is hand-optimized to fit within */
/* the sector layout of our flash chips! XXX FIXME XXX */
-
cpu/mpc8260/start.o
(.text)
+
arch/powerpc/cpu/mpc8260/start.o
(.text)
/*
common/dlmalloc.o (.text)
/*
common/dlmalloc.o (.text)
-
lib_ppc/ppcstring.o
(.text)
- lib
_generic
/vsprintf.o (.text)
- lib
_generic
/crc32.o (.text)
- lib
_generic
/zlib.o (.text)
+
arch/powerpc/lib/ppcstring.o
(.text)
+ lib/vsprintf.o (.text)
+ lib/crc32.o (.text)
+ lib/zlib.o (.text)
. = env_offset;
*/
common/env_embedded.o(.text)
*(.text)
. = env_offset;
*/
common/env_embedded.o(.text)
*(.text)
- *(.fixup)
*(.got1)
}
_etext = .;
PROVIDE (etext = .);
.rodata :
{
*(.got1)
}
_etext = .;
PROVIDE (etext = .);
.rodata :
{
- *(.rodata)
- *(.rodata1)
- *(.rodata.str1.4)
*(.eh_frame)
*(.eh_frame)
+ *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
}
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
}
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
@@
-90,13
+87,14
@@
SECTIONS
PROVIDE (erotext = .);
.reloc :
{
PROVIDE (erotext = .);
.reloc :
{
- *(.got)
_GOT2_TABLE_ = .;
_GOT2_TABLE_ = .;
- *(.got2)
+ KEEP(*(.got2))
+ KEEP(*(.got))
+ PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
_FIXUP_TABLE_ = .;
*(.fixup)
}
_FIXUP_TABLE_ = .;
*(.fixup)
}
- __got2_entries = (
_FIXUP_TABLE_ - _GOT2_TABLE_) >>2
;
+ __got2_entries = (
(_GLOBAL_OFFSET_TABLE_ - _GOT2_TABLE_) >> 2) - 1
;
__fixup_entries = (. - _FIXUP_TABLE_)>>2;
.data :
__fixup_entries = (. - _FIXUP_TABLE_)>>2;
.data :
@@
-142,6
+140,7
@@
SECTIONS
{
common/env_embedded.o (.ppcenv)
}
{
common/env_embedded.o (.ppcenv)
}
- _end = . ;
+ . = ALIGN(4);
+ __bss_end__ = . ;
PROVIDE (end = .);
}
PROVIDE (end = .);
}