From 21ad27f063a73c5ea8734e6ea9edd28187ff0733 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 11 Mar 2015 21:14:14 -0400 Subject: binutils-2.24.51: initial patch: fix legacy code-page identifier. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- binutils-2.24.51.midipix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/binutils-2.24.51.midipix.patch b/binutils-2.24.51.midipix.patch index 709c64d..0aeea4f 100644 --- a/binutils-2.24.51.midipix.patch +++ b/binutils-2.24.51.midipix.patch @@ -354,3 +354,15 @@ diff -ru --new-file a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc /* Windows TLS expects .tls\$AAA to be at the start and .tls\$ZZZ to be at the end of section. This is important because _tls_start MUST +diff -ru --new-file a/binutils/winduni.c b/binutils/winduni.c +--- a/binutils/winduni.c 2014-07-03 01:37:23.000000000 -0400 ++++ b/binutils/winduni.c 2015-02-14 11:18:32.987163288 -0500 +@@ -57,7 +57,7 @@ + /* Codepages mapped. */ + static local_iconv_map codepages[] = + { +- { 0, "MS-ANSI" }, ++ { 0, "cp1252" }, + { 1, "WINDOWS-1252" }, + { 437, "MS-ANSI" }, + { 737, "MS-GREEK" }, -- cgit v1.2.3