This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[RFA] Coff SEC_LOAD vs SEC_NEVER_LOAD
- From: "Svein E. Seldal" <Svein dot Seldal at solidas dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 29 May 2003 21:53:58 +0200
- Subject: [RFA] Coff SEC_LOAD vs SEC_NEVER_LOAD
Hi,
What is the relation between SEC_LOAD and the SEC_NEVER_LOAD section flags?
When I tag a coff section with the STYP_NOLOAD flag, objdump reports
that the section's flags are ALLOC, LOAD, NEVER_LOAD. This seems to
create trouble as GDB seems to load every section that are tagged with
LOAD, regardless of NEVER_LOAD's value. Now, this could well be a bug in
GDB, but I dont understand why we need SEC_LOAD and SEC_NEVER_LOAD. They
are complementary, aren't they?
Svein