From 54387c7fe27848e41a51c1eccc6a24b3d6d3441f Mon Sep 17 00:00:00 2001 From: Marty Plummer Date: Mon, 31 Jul 2017 10:31:18 +0100 Subject: [PATCH] Fix compiling zlib using x86_64-musl. PR 21861 * winduni.c (codepages): Use cp1252 for codepage 0. --- binutils/ChangeLog | 5 +++++ binutils/winduni.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f450a33..c4510a3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2017-07-31 Marty Plummer + + PR 21861 + * winduni.c (codepages): Use cp1252 for codepage 0. + 2017-07-25 Nick Clifton PR 21820 diff --git a/binutils/winduni.c b/binutils/winduni.c index 9868d4b..ec4f71c 100644 --- a/binutils/winduni.c +++ b/binutils/winduni.c @@ -57,7 +57,7 @@ static int unichar_isascii (const unichar *, rc_uint_type); /* Codepages mapped. */ static local_iconv_map codepages[] = { - { 0, "MS-ANSI" }, + { 0, "cp1252" }, { 1, "WINDOWS-1252" }, { 437, "MS-ANSI" }, { 737, "MS-GREEK" }, -- 2.7.4