diff options
Diffstat (limited to 'src/arch/x86/scripts')
-rw-r--r-- | src/arch/x86/scripts/efi.lds | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/x86/scripts/efi.lds b/src/arch/x86/scripts/efi.lds index d9963ef3..1a16c29b 100644 --- a/src/arch/x86/scripts/efi.lds +++ b/src/arch/x86/scripts/efi.lds @@ -54,7 +54,7 @@ SECTIONS { _data = .; *(.data) *(.data.*) - *(SORT(.tbl.*)) /* Various tables. See include/tables.h */ + KEEP(*(SORT(.tbl.*))) /* Various tables. See include/tables.h */ _edata = .; } @@ -80,6 +80,7 @@ SECTIONS { .weak 0x0 : { _weak = .; *(.weak) + *(.weak.*) _eweak = .; } _assert = ASSERT ( ( _weak == _eweak ), ".weak is non-zero length" ); @@ -102,5 +103,6 @@ SECTIONS { *(.einfo) *(.einfo.*) *(.discard) + *(.discard.*) } } |