Fix all linker script to handle all rodata sectionsA recent gcc added a new unaligned rodata section called '.rodata.str1.1',which needs to be added the the linker script. Instead of just adding
Fix all linker script to handle all rodata sectionsA recent gcc added a new unaligned rodata section called '.rodata.str1.1',which needs to be added the the linker script. Instead of just adding thisone section, we use a wildcard ".rodata*" to get all rodata linker sectiongcc has now and might add in the future.However, '*(.rodata*)' by itself will result in sub-optimal sectionordering. The sections will be sorted by object file, which causes extrapadding between the unaligned rodata.str.1.1 of one object file and thealigned rodata of the next object file. This is easy to fix by using theSORT_BY_ALIGNMENT command.This patch has not be tested one most of the boards modified. Some boardshave a linker script that looks something like this:*(.text). = ALIGN(16);*(.rodata)*(.rodata.str1.4)*(.eh_frame)I change this to:*(.text). = ALIGN(16);*(.eh_frame)*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))This means the start of rodata will no longer be 16 bytes aligned.However, the boundary between text and rodata/eh_frame is still aligned to16 bytes, which is what I think the real purpose of the ALIGN call is.Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
show more ...
ColdFire: Use CFI driver for M5272C3Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
ColdFire: Remove platforms mii.c fileWill use mcfmii.c driver in drivers/net rather thankeep creating new mii.c for each future platform.Remove EB+MCF-EV123, cobra5272, idmr, M5235EVB,M5271EVB,
ColdFire: Remove platforms mii.c fileWill use mcfmii.c driver in drivers/net rather thankeep creating new mii.c for each future platform.Remove EB+MCF-EV123, cobra5272, idmr, M5235EVB,M5271EVB, M5272C3, M5275EVB, M5282EVB, M5329EVB,M5373EVB, M54451EVB, M54455EVB, M547xEVB, and M548xEVB'smii.cSigned-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
rename CFG_ macros to CONFIG_SYSSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
rename environment.c in env_embedded.c to reflect is functionalitySigned-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
ColdFire: Move m5272c3 from board to board/freescaleSigned-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
12