coreboot/src/arch/x86
Kyösti Mälkki 58b8054cca arch/x86: Fix id section in linker script
Builds where RESET_X86_VECTOR is adjusted would create unintentionally
large bootblock files since id section can move far away from .reset
and .text. Some builds segfault or may try to create close to 4 GB
large intermediate build objects.

For cases where build is successful, id section would not reside within
REGION(program) or REGION(bootblock).

A proper fix to always place the ID data at the end of the coreboot.rom
file is left as follow-up work. For now, just place id section below
.reset.

Change-Id: Idf0e4defcde6d5e264d4752cc93f4ffb6749d287
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40583
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2020-05-28 09:51:46 +00:00
..
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
include x86/include/arch/mmio.h: Convert to 96 characters line length 2020-05-18 07:01:41 +00:00
acpi_bert_storage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpi_s3.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
assembly_entry.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
boot.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
bootblock_crt0.S arch/x86: Remove more romcc leftovers 2020-05-28 09:50:52 +00:00
bootblock_normal.c src: Remove unused 'include <string.h>' 2020-05-18 07:41:24 +00:00
c_start.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
car.ld Remove MAYBE_STATIC_BSS and ENV_STAGE_HAS_BSS_SECTION 2020-05-26 15:04:08 +00:00
cbmem.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cf9_reset.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu_common.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
early_ram.ld arch/x86/early_ram.ld: Add vboot work buffer 2020-05-18 07:08:53 +00:00
ebda.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
exception.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
exit_car.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gdt.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gdt_init.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
id.ld arch/x86: Fix id section in linker script 2020-05-28 09:51:46 +00:00
id.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
idt.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ioapic.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
Makefile.inc src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
memcpy.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
memlayout.ld treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
memmove.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
memset.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mmap_boot.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mpspec.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pirq_routing.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
post.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
postcar.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
postcar_loader.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
rdrand.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbios.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
tables.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
thread.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
thread_switch.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamp.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timestamp.inc treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
verstage.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
wakeup.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
walkcbfs.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00