u-boot/arch/x86/cpu
Heinrich Schuchardt 2c78a79ec7 x86: put global data pointer into the .data section
On x86_64 the field global_data_ptr is assigned before relocation. As
sections for uninitialized global data (.bss) overlap with the relocation
sections (.rela) this destroys the relocation table and leads to spurious
errors.

Initialization forces the global_data_ptr into a section for initialized
global data (.data) which cannot overlap any .rela section.

Fixes: a160092a61 ("x86: Support global_data on x86_64")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2018-10-22 17:51:45 +08:00
..
baytrail x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
braswell x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
broadwell SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot x86: Update mtrr functions to allow leaving cache alone 2018-10-09 04:40:27 -06:00
efi x86: zimage: Support booting Linux kernel from an EFI payload 2018-08-30 11:23:14 +08:00
i386 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
intel_common x86: Use microcode update from device tree for all processors 2018-07-02 09:23:28 +08:00
ivybridge x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
qemu x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
quark x86: Switch to use DM sysreset driver 2018-07-20 09:33:22 +08:00
queensbay x86: irq: Remove chipset specific irq router drivers 2018-06-13 09:50:57 +08:00
tangier x86: tangier: pinmux: add API to configure protected pins 2018-09-17 17:35:52 +08:00
x86_64 x86: put global data pointer into the .data section 2018-10-22 17:51:45 +08:00
call32.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
config.mk SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cpu.c x86: acpi: Don't touch ACPI hardware in write_acpi_tables() 2018-07-20 09:33:22 +08:00
cpu_x86.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ioapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
irq.c x86: irq: Support discrete PIRQ routing registers via device tree 2018-06-13 09:50:57 +08:00
lapic.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile x86: efi: Refactor the directory of EFI app and payload support 2018-06-17 21:16:04 +08:00
mp_init.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mtrr.c x86: Update mtrr functions to allow leaving cache alone 2018-10-09 04:40:27 -06:00
pci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
resetvec.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sipi_vector.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start.S efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
start16.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
start64.S efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
turbo.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot-64.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
u-boot-spl.lds SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u-boot.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
wakeup.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00