From http://sourceware.org/bugzilla/show_bug.cgi?id=4007
Something completely different, when using the linux patch I posted on LKM, where a new program header is created for this section, and is removed if i want to get rid of the section .realmode completely because I want to generate the old target, you can ask me the question: [EMAIL PROTECTED] linux-2.6.20-gujin]$ objcopy -R .note -R .comment -R .realmode -S vmlinux vmlinux.tmp BFD: vmlinux: warning: Empty loadable segment detected, is this intentional ? [EMAIL PROTECTED] linux-2.6.20-gujin]$ My answer is that it is not needed to keep this empty loadable segment, you can strip it. I do not care of the warning because that command is used "-O binary" by Linux Makefile and does not produce the warning. -- Summary: Objcopy doesn't remove empty program header Product: binutils Version: 2.18 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: hjl at lucon dot org CC: bug-binutils at gnu dot org,etienne_lorrain at yahoo dot fr http://sourceware.org/bugzilla/show_bug.cgi?id=4041 ------- 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