Provide __bss_start and _end symbols in grub-mkimage.

For this ensure that all bss sections are merged.

We need this to correctly prelink non-PE relocatable images.
This commit is contained in:
Vladimir Serbinenko 2016-02-18 20:57:21 +01:00
parent 73a9c742fe
commit df21fff504
2 changed files with 89 additions and 50 deletions

View file

@ -33,6 +33,8 @@ struct grub_mkimage_layout
grub_size_t ia64_got_off;
grub_size_t got_size;
unsigned ia64jmpnum;
Elf_Addr bss_start;
Elf_Addr end;
};
/* Private header. Use only in mkimage-related sources. */