]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* objcopy.c (parse_flags): Add merge and strings section flags.
authorAlan Modra <amodra@gmail.com>
Mon, 28 Jan 2013 09:31:01 +0000 (09:31 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 28 Jan 2013 09:31:01 +0000 (09:31 +0000)
binutils/ChangeLog
binutils/objcopy.c

index 11862c0233716a2f698d06c35e50c5207287a8f5..8aae28307c4fa23d6ed43228fb20a67543c23ed9 100644 (file)
@@ -1,3 +1,7 @@
+2013-01-28  Robert Schiele  <rschiele@gmail.com>
+
+       * objcopy.c (parse_flags): Add merge and strings section flags.
+
 2013-01-25  Cary Coutant  <ccoutant@google.com>
 
        * dwarf.c (display_loc_list): Update offset for each line
index ff80431572e4f3199624e2930b56e27f395f47b6..1200eb6270de75b9d34bc2b50c532f61a9d9b3fb 100644 (file)
@@ -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;