diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-02-23 21:12:56 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-02-23 21:12:56 +0000 |
commit | 030e5a064e5f7252b3b77a27c78169f4a5c974c5 (patch) | |
tree | d6d310ab791f714a0d2da64543deb3cb6f261b4a /src/arch/i386/prefix/romprefix.S | |
parent | 295c2fd671ebd8c149e5e9fc4fe745ab8ea87b9e (diff) | |
download | ipxe-030e5a064e5f7252b3b77a27c78169f4a5c974c5.tar.gz |
[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>
Diffstat (limited to 'src/arch/i386/prefix/romprefix.S')
-rw-r--r-- | src/arch/i386/prefix/romprefix.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S index 53af422a..ede0fb42 100644 --- a/src/arch/i386/prefix/romprefix.S +++ b/src/arch/i386/prefix/romprefix.S @@ -45,8 +45,8 @@ FILE_LICENCE ( GPL2_OR_LATER ) .code16 .arch i386 .section ".prefix", "ax", @progbits - .globl start -start: + .globl _rom_start +_rom_start: .org 0x00 romheader: |