summaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-06-12 11:57:40 +0000
committerNick Clifton <nickc@redhat.com>2008-06-12 11:57:40 +0000
commit7b269d94a3539d628ea6172662d7f3bd9079b0ec (patch)
tree27946e8086d82b795b4b16ddc0f45fb363a36855 /binutils/objcopy.c
parent1e3ba48c50f32d34c90f1d1ba8f4159560f1ab42 (diff)
downloadbinutils-redhat-7b269d94a3539d628ea6172662d7f3bd9079b0ec.tar.gz
PR binutils/6483
* objdump.c (dump_bfd): If the -g option found no STABS or IEEE debug information to display, try dumping DWARF information instead. * rddbg.c (read_debugging_info): Add a parameter to suppress the display of a warning message when no debug information is found. * budbg.h (read_debugging_info): Update prototype. * objcopy.c (copy_object): Continue to allow read_debugging_info to produce warning messages. * doc/binutils.texi (--debugging): Document new behaviour of the -g/--debugging option.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index d44114ad71..49b022a648 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -1674,7 +1674,7 @@ copy_object (bfd *ibfd, bfd *obfd)
have been created, but before their contents are set. */
dhandle = NULL;
if (convert_debugging)
- dhandle = read_debugging_info (ibfd, isympp, symcount);
+ dhandle = read_debugging_info (ibfd, isympp, symcount, FALSE);
if (strip_symbols == STRIP_DEBUG
|| strip_symbols == STRIP_ALL