diff options
author | Alan Modra <amodra@gmail.com> | 2013-01-28 09:31:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-01-28 09:31:01 +0000 |
commit | 5dddde8e64ce7587714eb04580ee29c2cc93c8f0 (patch) | |
tree | aaa28a82cdcaa7fe2dd8f26689f187bd39277df5 /binutils/objcopy.c | |
parent | 89d7b8aa6b05d68d2303f6ca7582947b8ad8fb0e (diff) | |
download | gdb-5dddde8e64ce7587714eb04580ee29c2cc93c8f0.zip gdb-5dddde8e64ce7587714eb04580ee29c2cc93c8f0.tar.gz gdb-5dddde8e64ce7587714eb04580ee29c2cc93c8f0.tar.bz2 |
* objcopy.c (parse_flags): Add merge and strings section flags.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index ff80431..1200eb6 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -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; |