aboutsummaryrefslogtreecommitdiff
path: root/src/entryfuncs.S
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-06-09 14:37:23 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-06-11 14:55:56 -0400
commitee952534039b32049404f26ccaae1b034f7e876b (patch)
treec62d3b22673b3997074b2bc732708c4337c11358 /src/entryfuncs.S
parentc228d7047331caba6b993a0c5c47bfb508a3396c (diff)
downloadseabios-hppa-ee952534039b32049404f26ccaae1b034f7e876b.zip
seabios-hppa-ee952534039b32049404f26ccaae1b034f7e876b.tar.gz
seabios-hppa-ee952534039b32049404f26ccaae1b034f7e876b.tar.bz2
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.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/entryfuncs.S b/src/entryfuncs.S
index ea6f990..679b1fc 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