projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all linker script to handle all rodata sections
[oweals/u-boot.git]
/
board
/
xpedite1k
/
u-boot.lds
diff --git
a/board/xpedite1k/u-boot.lds
b/board/xpedite1k/u-boot.lds
index c365c6f8315cb2956d58f095a92a344b6ff39de2..c8f9646ea2522ed79ceb8555bc5a6b69b6baf696 100644
(file)
--- a/
board/xpedite1k/u-boot.lds
+++ b/
board/xpedite1k/u-boot.lds
@@
-89,10
+89,8
@@
SECTIONS
PROVIDE (etext = .);
.rodata :
{
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) }
@@
-150,6
+148,7
@@
SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
*(.dynbss)
*(.bss)
*(COMMON)
+ . = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
}
_end = . ;
PROVIDE (end = .);