]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/NEWS
Gate the displaying of non-debug sections in separate debuginfo files.
[thirdparty/binutils-gdb.git] / binutils / NEWS
index 461ddab69028b81dbd1110f233ba981f1d0e231b..a4d7a61ef2df4d9ccb652411a605b6e7b3b70558 100644 (file)
@@ -1,5 +1,10 @@
 -*- text -*-
 
+* A new command line --keep-section-symbols has been added to objcopy and
+  strip.  This stops the removal of unused section symbols when the file is
+  copied.  Removing these symbols saves space, but sometimes they are needed by
+  other tools.
+
 * objcopy --weaken, --weaken-symbol and --weaken-symbols now make undefined
   symbols weak on targets that support weak symbols.
 
   restored by the use of the --enable-follow-debug-links=no configure time
   option.
 
+  The semantics of the =follow-links option have also been slightly changed.
+  When enabled, the option allows for the loading of symbol tables and string
+  tables from the separate files which can be used to enhance the information
+  displayed when dumping other sections, but it does not automatically imply
+  that information from the separate files should be displayed.
+
+  If other debug section display options are also enabled (eg
+  --debug-dump=info) then the contents of matching sections in both the main
+  file and the separate debuginfo file *will* be displayed.  This is because in
+  most cases the debug section will only be present in one of the files.
+
+  If however non-debug section display options are enabled (eg --sections) then
+  the contents of matching parts of the separate debuginfo file will *not* be
+  displayed.  This is because in most cases the user probably only wanted to
+  load the symbol information from the separate debuginfo file.  In order to
+  change this behaviour a new command line option --process-links can be used.
+  This will allow di0pslay options to applied to both the main file and any
+  separate debuginfo files.
+
 * Nm has a new command line option: --quiet.  This suppresses "no symbols"
   diagnostic.