projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ebc97
)
Don't refer to optarg in dwarf.c function
author
Alan Modra
<amodra@gmail.com>
Thu, 5 Feb 2015 06:50:38 +0000
(17:20 +1030)
committer
Alan Modra
<amodra@gmail.com>
Thu, 5 Feb 2015 07:20:37 +0000
(17:50 +1030)
This one is passed in optarg as its argument.
PR binutils/17926
* dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
binutils/ChangeLog
patch
|
blob
|
history
binutils/dwarf.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index d5cec775a0e75d49fb6fa5d737aca615d215c4a5..5182809c1a42ff09e759665ef039d0626b82227b 100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-1,3
+1,8
@@
+2015-02-05 Alan Modra <amodra@gmail.com>
+
+ PR binutils/17926
+ * dwarf.c (dwarf_select_sections_by_letters): Don't refer to optarg.
+
2015-02-04 Nick Clifton <nickc@redhat.com>
PR binutils/17531
diff --git
a/binutils/dwarf.c
b/binutils/dwarf.c
index b65bb7b8ea00881b6f974be1393a075257112ea5..aa19725632505b9ca093c4255b5e55677cf05599 100644
(file)
--- a/
binutils/dwarf.c
+++ b/
binutils/dwarf.c
@@
-7414,7
+7414,7
@@
dwarf_select_sections_by_letters (const char *letters)
break;
default:
- warn (_("Unrecognized debug option '%s'\n"),
optarg
);
+ warn (_("Unrecognized debug option '%s'\n"),
letters
);
break;
}
}