mirror of
https://github.com/ipxe/ipxe
synced 2026-01-02 01:42:37 +03:00
[build] Use unique entry symbols for each prefix
Some binutils versions will drag in an object to satisfy the entry symbol; some won't. Try to cope with this exciting variety of behaviour by ensuring that all entry symbols are unique. Remove the explicit inclusion of the prefix object on the linker command line, since the entry symbol now provides all the information needed to identify the prefix. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -27,8 +27,8 @@ FILE_LICENCE ( GPL2_ONLY )
|
||||
.text
|
||||
.section ".prefix", "ax", @progbits
|
||||
.code16
|
||||
.globl start
|
||||
start:
|
||||
.globl _dsk_start
|
||||
_dsk_start:
|
||||
|
||||
jmp $BOOTSEG, $go /* reload cs:ip to match relocation addr */
|
||||
go:
|
||||
|
||||
Reference in New Issue
Block a user