diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-06-09 14:37:23 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-06-11 14:55:56 -0400 |
commit | ee952534039b32049404f26ccaae1b034f7e876b (patch) | |
tree | c62d3b22673b3997074b2bc732708c4337c11358 /src/entryfuncs.S | |
parent | c228d7047331caba6b993a0c5c47bfb508a3396c (diff) | |
download | seabios-ee952534039b32049404f26ccaae1b034f7e876b.tar.gz |
build: Use customized entry point for each type of build.
Set an appropriate elf entry point (entry_elf, entry_csm,
reset_vector) for each type of build (coreboot, csm, qemu). Use that
entry point when determining which sections to keep.
Also, remove the '.export.' mechanism to keep a section in the final
binary - it is no longer used.
This allows the build to slightly reduce the overall size as entry_elf
is no longer needed on non-coreboot builds and entry_csm is no longer
needed on non-csm builds.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/entryfuncs.S')
-rw-r--r-- | src/entryfuncs.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/entryfuncs.S b/src/entryfuncs.S index ea6f9900..679b1fc4 100644 --- a/src/entryfuncs.S +++ b/src/entryfuncs.S @@ -149,9 +149,3 @@ .section .text.asm.\func .global \func .endm - - // Declare an exported function - .macro EXPORTFUNC func - .section .text.asm.export.\func - .global \func - .endm |