* objcopy.c (parse_flags): Add merge and strings section flags.
This commit is contained in:
parent
89d7b8aa6b
commit
5dddde8e64
2 changed files with 7 additions and 1 deletions
|
@ -690,6 +690,8 @@ parse_flags (const char *s)
|
|||
PARSE_FLAG ("rom", SEC_ROM);
|
||||
PARSE_FLAG ("share", SEC_COFF_SHARED);
|
||||
PARSE_FLAG ("contents", SEC_HAS_CONTENTS);
|
||||
PARSE_FLAG ("merge", SEC_MERGE);
|
||||
PARSE_FLAG ("strings", SEC_STRINGS);
|
||||
#undef PARSE_FLAG
|
||||
else
|
||||
{
|
||||
|
@ -700,7 +702,7 @@ parse_flags (const char *s)
|
|||
copy[len] = '\0';
|
||||
non_fatal (_("unrecognized section flag `%s'"), copy);
|
||||
fatal (_("supported flags: %s"),
|
||||
"alloc, load, noload, readonly, debug, code, data, rom, share, contents");
|
||||
"alloc, load, noload, readonly, debug, code, data, rom, share, contents, merge, strings");
|
||||
}
|
||||
|
||||
s = snext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue