mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 18:10:13 +00:00
56385c585f
Add a file that has two text sections at different addresses, so we can test this behaviour in binman, once added. Signed-off-by: Simon Glass <sjg@chromium.org>
31 lines
346 B
Text
31 lines
346 B
Text
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2016 Google, Inc
|
|
*/
|
|
|
|
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
|
|
OUTPUT_ARCH(i386)
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x00000010;
|
|
_start = .;
|
|
|
|
. = ALIGN(4);
|
|
.text :
|
|
{
|
|
*(.text*)
|
|
}
|
|
|
|
. = 0x00001000;
|
|
.sram :
|
|
{
|
|
*(.sram*)
|
|
}
|
|
|
|
/DISCARD/ : {
|
|
*(.comment)
|
|
*(.dyn*)
|
|
}
|
|
}
|