diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-06-10 21:56:01 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-06-10 21:56:01 -0400 |
commit | c0693941fdb5118164a8161316fdf8e9ebb499d2 (patch) | |
tree | 4c2ed73a666bed4a8742453262c5899f77f7bfde /src/pirtable.c | |
parent | 0b04b78972939b8bf00c6b075b3592ea6b7dd643 (diff) | |
download | seabios-c0693941fdb5118164a8161316fdf8e9ebb499d2.tar.gz |
Do garbage collection of unused sections.
Implement -ffunction-sections and -fdata-sections in both 32bit and
16bit code.
Make sure all sections have unique names (even asm and discarded
sections).
Enhance tools/layoutrom.py script to find all sections reachable from
exported 16bit code - prune all other sections.
Mark sections with "export" if they can be visible outside of code -
these sections wont be dropped when pruning unused sections.
Diffstat (limited to 'src/pirtable.c')
-rw-r--r-- | src/pirtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pirtable.c b/src/pirtable.c index 777a94bb..a96ffbc6 100644 --- a/src/pirtable.c +++ b/src/pirtable.c @@ -18,7 +18,7 @@ struct pir_table { extern struct pir_table PIR_TABLE; #if CONFIG_PIRTABLE && !CONFIG_COREBOOT -struct pir_table PIR_TABLE __aligned(16) VAR16_32 = { +struct pir_table PIR_TABLE __aligned(16) VAR16EXPORT = { .pir = { .version = 0x0100, .size = sizeof(struct pir_table), |