From: Kai Tietz Date: Mon, 9 Feb 2009 15:40:24 +0000 (+0000) Subject: 2009-02-09 Kai Tietz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48b2f7b2dee096fd2a25c39a1477dfe1bc35de73;p=binutils-gdb.git 2009-02-09 Kai Tietz * windres.c (set_endianess): Copy name without leading '-'. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c9318c22f7d..18a0e99181c 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 ece32bad6bf..16100ed9dda 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". */