------- Additional Comments From cryptooctoploid at gmail dot com 2008-04-15 14:41 ------- I narrowed it down to one linker script, namely arch/x86/boot/setup.ld .
On my machine (amd64) running: ld -m elf_x86_64 -T arch/x86/boot/setup.ld arch/x86/boot/a20.o arch/x86/boot/cmdline.o arch/x86/boot/copy.o arch/x86/boot/cpu.o arch/x86/boot/cpucheck.o arch/x86/boot/edd.o arch/x86/boot/header.o arch/x86/boot/main.o arch/x86/boot/mca.o arch/x86/boot/memory.o arch/x86/boot/pm.o arch/x86/boot/pmjump.o arch/x86/boot/printf.o arch/x86/boot/string.o arch/x86/boot/tty.o arch/x86/boot/video.o arch/x86/boot/version.o arch/x86/boot/video-vga.o arch/x86/boot/video-vesa.o arch/x86/boot/video-bios.o -o arch/x86/boot/setup.elf and then objcopy -O binary arch/x86/boot/setup.elf arch/x86/boot/setup.bin using the default linker, I get: % file setup.bin setup.bin: Linux kernel x86 boot executable RO-rootFS, Normal VGA with gold I get: % file setup.bin setup.bin: x86 boot sector; partition 4: ID=0x1, starthead 0, startsector 0, 65535 sectors So something wents wrong here. I'm no linker expert, but maybe you immediately see whats wrong with arch/x86/boot/setup.ld. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6407 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils