aboutsummaryrefslogtreecommitdiff
path: root/binutils/windres.c
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 /binutils/windres.c
parent662ef24b70042a486b270d17707eb2fe1790f4a2 (diff)
downloadgdb-48b2f7b2dee096fd2a25c39a1477dfe1bc35de73.zip
gdb-48b2f7b2dee096fd2a25c39a1477dfe1bc35de73.tar.gz
gdb-48b2f7b2dee096fd2a25c39a1477dfe1bc35de73.tar.bz2
2009-02-09 Kai Tietz <kai.tietz@onevision.com>
* windres.c (set_endianess): Copy name without leading '-'.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c2
1 files changed, 1 insertions, 1 deletions
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". */