summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2010-02-15 19:25:47 +0000
committerDave Korn <dave.korn@artimi.com>2010-02-15 19:25:47 +0000
commitb946d5d83a25bb7f587982da0f188b9c9b4539d4 (patch)
tree4caabdaa82507350a4aa8a42f2fbac71a88531cd
parent4e1fc9c9718fef23508d3a7c6349bbfe4e9b0f3c (diff)
downloadbinutils-b946d5d83a25bb7f587982da0f188b9c9b4539d4.tar.gz
binutils-b946d5d83a25bb7f587982da0f188b9c9b4539d4.tar.bz2
binutils-b946d5d83a25bb7f587982da0f188b9c9b4539d4.zip
bfd/ChangeLog:
PR binutils/11280 * configure.host (*-*-solaris2.11): Add host define to select valid default code page for windres/windmc on solaris.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/configure.host6
2 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d341d7ed4e3..3ec31fe6487 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2010-02-15 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ PR binutils/11280
+ * configure.host (*-*-solaris2.11): Add host define to select
+ valid default code page for windres/windmc on solaris.
+
2010-02-15 Nick Clifton <nickc@redhat.com>
* po/vi.po: Updated Vietnamese translation.
diff --git a/bfd/configure.host b/bfd/configure.host
index 11b42e0fc13..eb7bfe9e3dd 100644
--- a/bfd/configure.host
+++ b/bfd/configure.host
@@ -56,6 +56,12 @@ mips*-*-riscos*) HDEFINES="-G 4" ;;
m68*-hp-hpux*) HDEFINES=-DHOST_HP300HPUX ;;
+# Some Solaris systems (osol0906 at least) have a libc that doesn't recognise
+# the "MS-ANSI" code page name, so we define an override for CP_ACP (sets the
+# default code page used by windres/windmc when not specified by a commandline
+# option) to select the "WINDOWS-1252" name instead. See PR11280 for details.
+*-*-solaris2.11) HDEFINES=-DCP_ACP=1 ;;
+
*-*-windows*)
HOST_64BIT_TYPE=__int64
HOST_U_64BIT_TYPE="unsigned __int64"