grub/util
bean 2a8a80e4f4 2008-07-24 Bean <bean123ch@gmail.com>
* common.rmk (bin_UTILITIES): Add grub-pe2elf.
	(grub_pe2elf_SOURCES): New macro.
	(CLEANFILES): Add grub-pe2elf.

	* include/grub/efi/pe32.h (GRUB_PE32_SCN_ALIGN_1BYTES): New constant.
	(GRUB_PE32_SCN_ALIGN_2BYTES): Likewise.
	(GRUB_PE32_SCN_ALIGN_4BYTES): Likewise.
	(GRUB_PE32_SCN_ALIGN_8BYTES): Likewise.
	(GRUB_PE32_SCN_ALIGN_16BYTES): Likewise.
	(GRUB_PE32_SCN_ALIGN_32BYTES): Likewise.
	(GRUB_PE32_SCN_ALIGN_64BYTES): Likewise.
	(GRUB_PE32_SCN_ALIGN_SHIFT): Likewise.
	(GRUB_PE32_SCN_ALIGN_MASK): Likewise.
	(GRUB_PE32_SYM_CLASS_EXTERNAL): Likewise.
	(GRUB_PE32_SYM_CLASS_STATIC): Likewise.
	(GRUB_PE32_SYM_CLASS_FILE): Likewise.
	(GRUB_PE32_DT_FUNCTION): Likewise.
	(GRUB_PE32_REL_I386_DIR32): Likewise.
	(GRUB_PE32_REL_I386_REL32): Likewise.
	(grub_pe32_symbol): New structure.
	(grub_pe32_reloc): Likewise.

	* util/grub-pe2elf.c: New file.

	* configure.ac: Set TARGET_OBJ2ELF if host os is cygwin. Don't test for
	start symbol in non pc platform.

	* genmk.rb: Use TARGET_OBJ2ELF to convert native object format to elf.

	The following patches are from Christian Franke.

	* include/grub/dl.h: Remove .previous, gas supports this only
	for ELF format.

	* include/grub/symbol.h [__CYGWIN__] (#define FUNCTION/VARIABLE):
	Remove .type, gas supports this only for ELF format.

	* kern/dl.c (grub_dl_resolve_dependencies): Add check for trailing
	nullbytes in symbol table. This fixes an infinite loop if table is
	zero filled.

	* Makefile.in: Add autoconf replacements TARGET_IMG_LDSCRIPT,
	TARGET_IMG_LDFLAGS and EXEEXT.

	* aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Replace -Wl,-N by
	TARGET_IMG_LDFLAGS_AC.
	(grub_CHECK_STACK_ARG_PROBE): New function.

	* conf/i386-pc.rmk: Replace -Wl,-N by TARGET_IMG_LDFLAGS.

	* conf/i386-pc-cygwin-ld-img.sc: New linker script.

	* configure.ac: Add check for linker script "conf/${target}-img-ld.c"
	to set TARGET_IMG_LD* accordingly.
	Add check for Cygwin to set TARGET_MOD_OBJCOPY accordingly.
	Add call to grub_CHECK_STACK_ARG_PROBE.
	Use TARGET_IMG_LDFLAGS to check start, bss_start, end symbols.

	* genkernsyms.sh.in: Handle HAVE_ASM_USCORE case.

	* genmk.rb: Add EXEEXT to CLEANFILES.
2008-07-24 14:56:30 +00:00
..
elf 2008-07-04 Pavel Roskin <proski@gnu.org> 2008-07-04 01:53:52 +00:00
grub.d 2008-07-11 Robert Millan <rmh@aybabtu.com> 2008-07-11 20:09:14 +00:00
i386 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
ieee1275 2008-05-29 Robert Millan <rmh@aybabtu.com> 2008-05-29 16:27:24 +00:00
powerpc/ieee1275 2008-05-29 Robert Millan <rmh@aybabtu.com> 2008-05-29 16:27:24 +00:00
biosdisk.c 2008-07-04 Robert Millan <rmh@aybabtu.com> 2008-07-03 22:56:43 +00:00
console.c 2007-11-18 Christian Franke <franke@computer.org> 2007-11-18 07:20:45 +00:00
envblk.c 2008-07-02 Bean <bean123ch@gmail.com> 2008-07-02 07:20:11 +00:00
genmoddep.c Typo fixes in comments and variable names. 2007-12-30 08:52:06 +00:00
getroot.c 2008-05-16 Christian Franke <franke@computer.org> 2008-05-16 21:39:52 +00:00
grub-editenv.c 2008-07-02 Pavel Roskin <proski@gnu.org> 2008-07-02 22:00:42 +00:00
grub-emu.c 2008-06-06 Robert Millan <rmh@aybabtu.com> 2008-06-06 15:49:23 +00:00
grub-fstest.c 2008-05-06 Robert Millan <rmh@aybabtu.com> 2008-05-06 13:00:57 +00:00
grub-mkdevicemap.c 2008-06-04 Robert Millan <rmh@aybabtu.com> 2008-06-04 11:20:36 +00:00
grub-pe2elf.c 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
grub-probe.c 2008-05-30 Robert Millan <rmh@aybabtu.com> 2008-05-30 11:04:08 +00:00
hostfs.c 2008-03-30 Pavel Roskin <proski@gnu.org> 2008-03-30 18:32:15 +00:00
lvm.c 2008-04-06 Pavel Roskin <proski@gnu.org> 2008-04-06 17:51:56 +00:00
misc.c 2008-04-06 Pavel Roskin <proski@gnu.org> 2008-04-06 17:51:56 +00:00
raid.c 2008-04-06 Pavel Roskin <proski@gnu.org> 2008-04-06 17:51:56 +00:00
resolve.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
unifont2pff.rb 2006-04-01 Vesa Jaaskelainen <chaac@nic.fi> 2006-04-01 19:23:01 +00:00
update-grub.in 2008-06-16 Robert Millan <rmh@aybabtu.com> 2008-06-16 20:29:55 +00:00
update-grub_lib.in 2008-07-23 Robert Millan <rmh@aybabtu.com> 2008-07-22 22:23:45 +00:00