aboutsummaryrefslogtreecommitdiff
path: root/binutils/dlltool.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-04-22 07:58:44 +0000
committerTom Tromey <tromey@redhat.com>1998-04-22 07:58:44 +0000
commit19ac4b08f0d03f6141cdebb65887e31b32ec3412 (patch)
tree46e505012ebd7592e2f4acb226acf5e3fe2b1be5 /binutils/dlltool.c
parent16a02269fc8d2cf0f25b40d16a70087bb315a653 (diff)
downloadgdb-19ac4b08f0d03f6141cdebb65887e31b32ec3412.zip
gdb-19ac4b08f0d03f6141cdebb65887e31b32ec3412.tar.gz
gdb-19ac4b08f0d03f6141cdebb65887e31b32ec3412.tar.bz2
* Makefile.am (INCLUDES): Search intl dirs for headers; define
LOCALEDIR. * addr2line.c (main): Call setlocale, bindtextdomain, textdomain. * ar.c (main): Likewise. * coffdump.c (main): Likewise. * dlltool.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * size.c (main): Likewise. * srconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * windres.c (main): Likewise.
Diffstat (limited to 'binutils/dlltool.c')
-rw-r--r--binutils/dlltool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 78ff1ab..07d5ec6 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -2304,6 +2304,10 @@ main (ac, av)
program_name = av[0];
oav = av;
+ setlocale (LC_MESSAGES, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
while ((c = getopt_long (ac, av, "xcz:S:R:A:puaD:l:e:nkvbUh?m:yd:", long_options, 0))
!= EOF)
{