aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-02-09 15:40:24 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-02-09 15:40:24 +0000
commit48b2f7b2dee096fd2a25c39a1477dfe1bc35de73 (patch)
treebafcd03c354e4790daa44ef2dcafb3da1a905edc
parent662ef24b70042a486b270d17707eb2fe1790f4a2 (diff)
downloadbinutils-48b2f7b2dee096fd2a25c39a1477dfe1bc35de73.zip
binutils-48b2f7b2dee096fd2a25c39a1477dfe1bc35de73.tar.gz
binutils-48b2f7b2dee096fd2a25c39a1477dfe1bc35de73.tar.bz2
2009-02-09 Kai Tietz <kai.tietz@onevision.com>
* windres.c (set_endianess): Copy name without leading '-'.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/windres.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index c9318c2..18a0e99 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-09 Kai Tietz <kai.tietz@onevision.com>
+
+ * windres.c (set_endianess): Copy name without leading '-'.
+
2009-02-09 Tristan Gingold <gingold@adacore.com>
* NEWS: Mention feature match between objdump and readelf for dumping
diff --git a/binutils/windres.c b/binutils/windres.c
index ece32ba..16100ed 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -1102,7 +1102,7 @@ set_endianess (bfd *abfd, const char *target)
if (hyp != NULL)
{
- tname = hyp + 1;
+ tname = ++hyp;
/* Make sure we dectect architecture names
for triplets like "pe-arm-wince-little". */