diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-05-08 16:08:44 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-02-09 15:11:56 +0100 |
commit | e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b (patch) | |
tree | 30e842dc2c1878f34f9f86a5cc264e3b9a0bbdaf /arch/microblaze/cpu/u-boot.lds | |
parent | 4dd097427aeb6848fcb19c31b805abe1a3906913 (diff) | |
download | u-boot-imx-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.zip u-boot-imx-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.tar.gz u-boot-imx-e945f6dc2814f5f0d30b5b7e23821b3fd4faff5b.tar.bz2 |
microblaze: Move architecture to use generic board init
Compile code with -fPIC to get GOT. Do not build SPL
with fPIC because it increasing SPL size for nothing.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/cpu/u-boot.lds')
-rw-r--r-- | arch/microblaze/cpu/u-boot.lds | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/microblaze/cpu/u-boot.lds b/arch/microblaze/cpu/u-boot.lds index 44bc036..2502a0d 100644 --- a/arch/microblaze/cpu/u-boot.lds +++ b/arch/microblaze/cpu/u-boot.lds @@ -33,10 +33,19 @@ SECTIONS __data_end = .; } + .got ALIGN(4): + { + _got_start = .; + *(.got*) + . = ALIGN(4); + _got_end = .; + } + . = ALIGN(4); .u_boot_list : { KEEP(*(SORT(.u_boot_list*))); } + __init_end = . ; .bss ALIGN(0x4): { |