grub/include/grub
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
..
efi 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
i386 2008-07-17 Robert Millan <rmh@aybabtu.com> 2008-07-17 15:05:12 +00:00
ieee1275 2008-07-02 Bean <bean123ch@gmail.com> 2008-07-02 07:38:46 +00:00
lib 2008-07-13 Bean <bean123ch@gmail.com> 2008-07-13 01:55:15 +00:00
powerpc 2008-06-16 Pavel Roskin <proski@gnu.org> 2008-06-16 05:00:50 +00:00
sparc64 * include/grub/i386/time.h: use "void" in the argument list 2007-11-25 01:46:59 +00:00
util 2008-03-30 Pavel Roskin <proski@gnu.org> 2008-03-30 18:04:40 +00:00
x86_64 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
acorn_filecore.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
aout.h Fix typos in ChangeLog and comments 2008-07-13 18:13:36 +00:00
arg.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
bitmap.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
boot.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
cache.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
device.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
disk.h 2008-06-26 Robert Millan <rmh@aybabtu.com> 2008-06-26 14:26:07 +00:00
dl.h 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
elf.h 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
elfload.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
env.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
envblk.h 2008-07-02 Bean <bean123ch@gmail.com> 2008-07-02 07:20:11 +00:00
err.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
file.h 2007-08-02 Bean <bean123ch@gmail.com> 2007-08-02 18:40:37 +00:00
font.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
fs.h 2008-05-30 Robert Millan <rmh@aybabtu.com> 2008-05-30 11:04:08 +00:00
fshelp.h 2008-06-16 Bean <bean123ch@gmail.com> 2008-06-16 19:02:08 +00:00
gpt_partition.h forgot "cvs add" ... 2008-02-19 14:16:29 +00:00
gzio.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
hexdump.h Oops. Add include/grub/hexdump.h. 2007-11-18 06:43:28 +00:00
hfs.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
kernel.h 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
loader.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
lvm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
misc.h 2008-07-04 Pavel Roskin <proski@gnu.org> 2008-07-04 02:12:54 +00:00
mm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
multiboot.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
multiboot2.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
multiboot_loader.h This patch is to introduce multiboot 2 loading capabilities to grub2 2007-07-25 00:44:03 +00:00
net.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
normal.h 2008-03-26 Pavel Roskin <proski@gnu.org> 2008-03-26 13:01:02 +00:00
ntfs.h 2008-06-08 Robert Millan <rmh@aybabtu.com> 2008-06-08 19:18:58 +00:00
parser.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
partition.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
pc_partition.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
pci.h 2008-07-17 Bean <bean123ch@gmail.com> 2008-07-17 09:50:26 +00:00
raid.h 2008-02-08 Robert Millan <rmh@aybabtu.com> 2008-02-08 21:27:55 +00:00
rescue.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
script.h 2008-05-29 Pavel Roskin <proski@gnu.org> 2008-05-30 03:26:56 +00:00
setjmp.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
symbol.h 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
term.h 2008-02-05 Robert Millan <rmh@aybabtu.com> 2008-02-05 10:23:24 +00:00
terminfo.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
time.h Actually add the files, and propagate changes.. 2007-10-22 20:02:16 +00:00
tparm.h 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
types.h 2007-10-27 Robert Millan <rmh@aybabtu.com> 2007-10-27 11:56:58 +00:00
video.h 2008-01-01 Vesa Jaaskelainen <chaac@nic.fi> 2008-01-01 12:02:07 +00:00