[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] mini-os: use -m elf_i386 for final linking
Juergen Gross, le jeu. 16 avril 2020 14:27:31 +0200, a ecrit: > Using the standard -m elf_x86_64 for 64-bit mini-os results in the > first section (.text) to start only at offset 2MB in the binary file. ? I'm not seeing this on my system: 0 .text 0001933a 0000000000000000 0000000000000000 00001000 2**12 CONTENTS, ALLOC, LOAD, READONLY, CODE so only 4K offset in the file, the file ends up being 135K big after stripping. > Using -m elf_i386 avoids that problem without any visible disadvantage. Using a 32bit emulation for a 64bit binary? This looks very odd to me? (and probably fragile) I'd like to know more where this 2MB binary file offset is coming from, since AIUI it'd basically impact all binaries built by the toolchain of your system, not just mini-os, and I don't think the maintainers of your system want that :) Samuel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |