OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74a6a71
)
* dlltool.c (identify_search_section): Cast argument, not return
author
dannysmith
<dannysmith>
Sun, 16 Nov 2008 06:00:41 +0000
(06:00 +0000)
committer
dannysmith
<dannysmith>
Sun, 16 Nov 2008 06:00:41 +0000
(06:00 +0000)
value, of xstrdup to 'char*'.
binutils/ChangeLog
patch
|
blob
|
history
binutils/dlltool.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index
43d4d5f
..
128b697
100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-1,3
+1,8
@@
+2008-11-16 Danny Smith <dannysmith@usesr.sourceforge.net>
+
+ * dlltool.c (identify_search_section): Cast argument, not return
+ value, of xstrdup to 'char*'.
+
2008-11-15 Charles Wilson <cygwin@cwilson.fastmail.fm>
Added --identify option to dlltool.
diff --git
a/binutils/dlltool.c
b/binutils/dlltool.c
index
fff8b77
..
a19400d
100644
(file)
--- a/
binutils/dlltool.c
+++ b/
binutils/dlltool.c
@@
-3106,7
+3106,7
@@
identify_search_section (bfd *abfd, asection *section, void *dummy ATTRIBUTE_UNU
free (identify_dll_name);
}
}
- identify_dll_name =
(char*) xstrdup (
data);
+ identify_dll_name =
xstrdup ((char*)
data);
}
free (data);