diff options
author | Michael Brown | 2011-02-23 22:12:56 +0100 |
---|---|---|
committer | Michael Brown | 2011-02-23 22:12:56 +0100 |
commit | 030e5a064e5f7252b3b77a27c78169f4a5c974c5 (patch) | |
tree | d6d310ab791f714a0d2da64543deb3cb6f261b4a /src/arch/i386/scripts | |
parent | [build] Ensure an entry point symbol exists in all builds (diff) | |
download | ipxe-030e5a064e5f7252b3b77a27c78169f4a5c974c5.tar.gz ipxe-030e5a064e5f7252b3b77a27c78169f4a5c974c5.tar.xz ipxe-030e5a064e5f7252b3b77a27c78169f4a5c974c5.zip |
[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/scripts')
-rw-r--r-- | src/arch/i386/scripts/i386-kir.lds | 1 | ||||
-rw-r--r-- | src/arch/i386/scripts/i386.lds | 2 | ||||
-rw-r--r-- | src/arch/i386/scripts/linux.lds | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/i386/scripts/i386-kir.lds b/src/arch/i386/scripts/i386-kir.lds index 620bc2fe..338d6ee8 100644 --- a/src/arch/i386/scripts/i386-kir.lds +++ b/src/arch/i386/scripts/i386-kir.lds @@ -7,7 +7,6 @@ OUTPUT_FORMAT ( "elf32-i386", "elf32-i386", "elf32-i386" ) OUTPUT_ARCH ( i386 ) -ENTRY ( _entry ) SECTIONS { diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index dd07194c..c5bc631f 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -5,8 +5,6 @@ * */ -ENTRY ( start ) - SECTIONS { /* Each section starts at a virtual address of zero. diff --git a/src/arch/i386/scripts/linux.lds b/src/arch/i386/scripts/linux.lds index 654f68e3..5501d93f 100644 --- a/src/arch/i386/scripts/linux.lds +++ b/src/arch/i386/scripts/linux.lds @@ -8,8 +8,6 @@ OUTPUT_FORMAT ( "elf32-i386", "elf32-i386", "elf32-i386" ) OUTPUT_ARCH ( i386 ) -ENTRY ( _start ) - SECTIONS { _max_align = 32; |