diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-08 23:18:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-08 23:18:29 +0000 |
commit | f5818d79ddec0f5cd55bf625e2e8602b09113947 (patch) | |
tree | 2e150465428578c44c2d5ecc65f1927ee1a399cf /binutils/binutils.texi | |
parent | 1a418120d70669361141f1de2bdb490a63df22e1 (diff) | |
download | gdb-f5818d79ddec0f5cd55bf625e2e8602b09113947.zip gdb-f5818d79ddec0f5cd55bf625e2e8602b09113947.tar.gz gdb-f5818d79ddec0f5cd55bf625e2e8602b09113947.tar.bz2 |
* objcopy.c: Include budbg.h.
(convert_debugging): New static variable.
(OPTION_DEBUGGING): Define.
(copy_options): Add "debugging".
(copy_usage): Mention --debugging.
(is_strip_section): Skip debugging sections if convert_debugging.
(setup_section, copy_section): Likewise.
(filter_symbols): Skip debugging symbols if convert_debugging.
(copy_object): If convert_debugging, read and write debugging
information.
(write_debugging_info): New static function.
(copy_main): Handle --debugging.
* Makefile.in (DEBUG_OBJS): New variable.
($(OBJCOPY_PROG)): Depend upon and link against $(DEBUG_OBJS).
($(STRIP_PROG)): Likewise.
(OBJDUMP_OBJS): Remove variable.
($(OBJDUMP_PROG)): Use objdump.o $(DEBUG_OBJS) rather than
$(OBJDUMP_OBJS).
* binutils.texi, objcopy.1: Document --debugging.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r-- | binutils/binutils.texi | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi index fbec8be..31df7f1 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -13,7 +13,7 @@ END-INFO-DIR-ENTRY @end ifinfo @ifinfo -Copyright @copyright{} 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +Copyright @copyright{} 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -41,7 +41,7 @@ into another language, under the above conditions for modified versions. @c This file documents the GNU binary utilities "ar", "ld", "objcopy", @c "objdump", "nm", "size", "strings", "strip", and "ranlib". @c -@c Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +@c Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. @c @c This text may be freely distributed under the terms of the GNU @c General Public License. @@ -66,7 +66,7 @@ into another language, under the above conditions for modified versions. @end tex @vskip 0pt plus 1filll -Copyright @copyright{} 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +Copyright @copyright{} 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -763,6 +763,7 @@ objcopy [ -F @var{bfdname} | --target=@var{bfdname} ] [ -b @var{byte} | --byte=@var{byte} ] [ -i @var{interleave} | --interleave=@var{interleave} ] [ -R @var{sectionname} | --remove-section=@var{sectionname} ] + [ --debugging ] [ --gap-fill=@var{val} ] [ --pad-to=@var{address} ] [ --set-start=@var{val} ] [ --adjust-start=@var{incr} ] [ --adjust-vma=@var{incr} ] @@ -879,6 +880,11 @@ copy with the @var{-b} or @samp{--byte} option. The default is 4. @code{objcopy} ignores this option if you do not specify either @samp{-b} or @samp{--byte}. +@item --debugging +Convert debugging information, if possible. This is not the default +because only certain debugging formats are supported, and the +conversion process can be time consuming. + @item --gap-fill @var{val} Fill gaps between sections with @var{val}. This is done by increasing the size of the section with the lower address, and filling in the extra |