mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 21:13:48 +00:00
e1ad57e7ef
Fix the check for the __bss_size symbol, since it may be 0. Unfortunately there was no test coverage for this. Signed-off-by: Simon Glass <sjg@chromium.org>
24 lines
340 B
Text
24 lines
340 B
Text
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2021 Google LLC
|
|
*/
|
|
|
|
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
|
|
OUTPUT_ARCH(i386)
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
_start = .;
|
|
__data_start = .;
|
|
.data :
|
|
{
|
|
. = ALIGN(32);
|
|
embed_start = .;
|
|
*(.embed*)
|
|
embed_end = .;
|
|
region_size = 0;
|
|
. = ALIGN(32);
|
|
*(.data*)
|
|
}
|
|
}
|