2005-02-23 Andrew Cagney <cagney@gnu.org>
* cli/cli-dump.c (dump_bfd_file): Replace magic constant with SEC_XXX flags.
This commit is contained in:
parent
476391821e
commit
e9c55a7bd7
2 changed files with 8 additions and 1 deletions
|
@ -218,7 +218,9 @@ dump_bfd_file (const char *filename, const char *mode,
|
|||
bfd_set_section_size (obfd, osection, len);
|
||||
bfd_set_section_vma (obfd, osection, vaddr);
|
||||
bfd_set_section_alignment (obfd, osection, 0);
|
||||
bfd_set_section_flags (obfd, osection, 0x203);
|
||||
bfd_set_section_flags (obfd, osection, (SEC_HAS_CONTENTS
|
||||
| SEC_ALLOC
|
||||
| SEC_LOAD));
|
||||
osection->entsize = 0;
|
||||
bfd_set_section_contents (obfd, osection, buf, 0, len);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue