This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]