summaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-08-29 01:02:41 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-08-29 01:02:41 +0000
commit8b63b2833c26919b1f13840c08857750183b49a3 (patch)
treeb39682b04fd902427e502df4970abff7dadcba81 /libiberty/ChangeLog
parent8bb94bcd8e71a06f92c9961df019f3fcd50a53cd (diff)
downloadgdb-8b63b2833c26919b1f13840c08857750183b49a3.tar.gz
Replace malloc with xmalloc
* argv.c (dupargv): Replace malloc with xmalloc. Don't check xmalloc return. (buildargv): Likewise. Also replace strdup with xstrdup. (expandargv): Don't check dupargv return.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r--libiberty/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index f06dcb52a66..9afed435855 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,5 +1,12 @@
2011-08-28 H.J. Lu <hongjiu.lu@intel.com>
+ * argv.c (dupargv): Replace malloc with xmalloc. Don't check
+ xmalloc return.
+ (buildargv): Likewise. Also replace strdup with xstrdup.
+ (expandargv): Don't check dupargv return.
+
+2011-08-28 H.J. Lu <hongjiu.lu@intel.com>
+
PR binutils/14526
* argv.c (buildargv): Replace alloca with xmalloc/free.