c429333398
- We write a very minimal softmmu harness. - This is a very simple smoke test with no need to run a full Linux/kernel. - The Makefile.softmmu-target record the rule to run. Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-43-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
31 lines
396 B
Plaintext
31 lines
396 B
Plaintext
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
/* Linux kernel legacy start address. */
|
|
. = 0x9000000000200000;
|
|
_text = .;
|
|
.text : {
|
|
*(.text)
|
|
}
|
|
.rodata : {
|
|
*(.rodata)
|
|
}
|
|
_etext = .;
|
|
|
|
. = ALIGN(8192);
|
|
_data = .;
|
|
.got : {
|
|
*(.got)
|
|
}
|
|
.data : {
|
|
*(.sdata)
|
|
*(.data)
|
|
}
|
|
_edata = .;
|
|
.bss : {
|
|
*(.bss)
|
|
}
|
|
_end = .;
|
|
}
|