powerpc: mpc85xx: Define linker sections in ascending order
authorPali Rohár <pali@kernel.org>
Tue, 5 Apr 2022 13:12:35 +0000 (15:12 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit1245c6e2582cb67db2a84e60a61cfe5a8d77e068
treed95d3c6d02af2619cad11602fcfdfd167f0eac6d
parent1b780b654f20055f40a049da4f2ef12207757690
powerpc: mpc85xx: Define linker sections in ascending order

It is too confusing if sections are defined in non-ascending order.

Also linker has to go backward and then again forward when generating final
binary.

To make future changes easier, define all linker sections in ascending
order.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/cpu/mpc85xx/u-boot-spl.lds
arch/powerpc/cpu/mpc85xx/u-boot.lds