binutils/
[external/binutils.git] / binutils / ChangeLog
index a08836d..a71190e 100644 (file)
@@ -1,3 +1,21 @@
+2012-05-08  Cary Coutant  <ccoutant@google.com>
+
+       * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
+       (strip): Add --strip-dwo option.
+       * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
+       (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
+       (strip_options): Add --strip-dwo option.
+       (copy_options): Add --extract-dwo, --strip-dwo options.
+       (copy_usage): Likewise.
+       (strip_usage): Add --strip-dwo option.
+       (is_dwo_section): New function.
+       (is_strip_section_1): Check for DWO sections.
+       (copy_object): Check for --strip-dwo, --extract-dwo options.
+       (copy_relocations_in_section): Discard relocations for DWO sections.
+       Discard entire relocation section when no relocations.
+       (strip_main): Add --strip-dwo option.
+       (copy_main): Add --strip-dwo, --extract-dwo options.
+
 2012-05-08  Alan Modra  <amodra@gmail.com>
 
        * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other