* coffcode.h (sec_to_styp_flags): Set appropriate section flags when either
SEC_ALLOC OR SEC_LOAD.
This commit is contained in:
parent
502bdb00ee
commit
2ae0844c54
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-06-09 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* coffcode.h (sec_to_styp_flags): Set appropriate section flags when
|
||||
either SEC_ALLOC OR SEC_LOAD.
|
||||
|
||||
2005-06-09 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload
|
||||
|
|
|
@ -560,7 +560,7 @@ sec_to_styp_flags (const char *sec_name, flagword sec_flags)
|
|||
/* skip LINK_DUPLICATES */
|
||||
/* skip LINKER_CREATED */
|
||||
|
||||
if (sec_flags & SEC_ALLOC)
|
||||
if (sec_flags & (SEC_ALLOC | SEC_LOAD))
|
||||
{
|
||||
/* For now, the read/write bits are mapped onto SEC_READONLY, even
|
||||
though the semantics don't quite match. The bits from the input
|
||||
|
|
Loading…
Reference in a new issue