* include/grub/dl.h (GRUB_MOD_INIT): Changed `__attribute__
	((unused))' to `__attribute__ ((used))'.
	(GRUB_MOD_FINI): Likewise.
	* kern/dl.c (grub_dl_load_file): Fix null pointer dereference.
	* genmk.rb (PModule): Assign space to common symbols when linking
	modules.
This commit is contained in:
marco_g committed 2005-01-20 17:33:09 +00:00
1 parent 777aff3957
commit b38551dabe
4 files changed
+16 -4

No files matched your search

+3
View File
@@ -560,6 +560,9 @@ grub_dl_load_file (const char *filename)
goto failed;
mod = grub_dl_load_core (core, size);
if (! mod)
goto failed;
mod->ref_count = 0;
failed: