mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Or else it defaults to using 0x100000 as the entry point, which might
or might not point to _start. This is a fix for 09b3907f93.
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
16 lines
352 B
Plaintext
16 lines
352 B
Plaintext
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x100000;
|
|
/*
|
|
* NB: there's no need to use the AT keyword in order to set the LMA, by
|
|
* default the linker will use VMA = LMA unless specified otherwise.
|
|
*/
|
|
.text : { *(.text) *(.text.*) }
|
|
.rodata : { *(.rodata) *(.rodata.*) }
|
|
.data : { *(.data) *(.data.*) }
|
|
.bss : { *(.bss) *(.bss.*) }
|
|
_end = .;
|
|
}
|