From 48b2f7b2dee096fd2a25c39a1477dfe1bc35de73 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Mon, 9 Feb 2009 15:40:24 +0000 Subject: [PATCH] 2009-02-09 Kai Tietz * windres.c (set_endianess): Copy name without leading '-'. --- binutils/ChangeLog | 4 ++++ binutils/windres.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * windres.c (set_endianess): Copy name without leading '-'. + 2009-02-09 Tristan Gingold * 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". */ -- 2.7.4