[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/4041] New: Objcopy doesn't remove empty program header
From: |
hjl at lucon dot org |
Subject: |
[Bug binutils/4041] New: Objcopy doesn't remove empty program header |
Date: |
14 Feb 2007 14:52:01 -0000 |
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:
address@hidden 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 ?
address@hidden 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/4041] New: Objcopy doesn't remove empty program header,
hjl at lucon dot org <=