diff options
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/windres.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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 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". */ |