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
/
esd
/
pmc405
/
u-boot.lds
diff --git
a/board/esd/pmc405/u-boot.lds
b/board/esd/pmc405/u-boot.lds
index 81ee614f65b24dfc8d4f7f56c08422f33e8db44d..30c3ad944c92f0ddf0d7acf197bfaafe1f698b5d 100644
(file)
--- a/
board/esd/pmc405/u-boot.lds
+++ b/
board/esd/pmc405/u-boot.lds
@@
-72,7
+72,7
@@
SECTIONS
lib_generic/zlib.o (.text)
/* . = env_offset;*/
lib_generic/zlib.o (.text)
/* . = env_offset;*/
-/* common/env
ironment
.o(.text)*/
+/* common/env
_embedded
.o(.text)*/
*(.text)
*(.fixup)
*(.text)
*(.fixup)
@@
-82,10
+82,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) }
@@
-142,6
+140,7
@@
SECTIONS
*(.dynbss)
*(.bss)
*(COMMON)
*(.dynbss)
*(.bss)
*(COMMON)
+ . = ALIGN(4);
}
_end = . ;
PROVIDE (end = .);
}
_end = . ;
PROVIDE (end = .);