mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
056f0efd8b
Binman needs to be able to update the contents of an ELF file after it has been build. To support this, add a function to locate the position of a symbol's contents within the file. Fix the comments on bss_data.c and Symbol while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
23 lines
321 B
Text
23 lines
321 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 = .;
|
|
. = ALIGN(32);
|
|
*(.data*)
|
|
}
|
|
}
|