aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-a29k.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-04-22 05:13:54 +0000
committerTom Tromey <tromey@redhat.com>1998-04-22 05:13:54 +0000
commit53d3ce37d4d65d2df72ec3c96e292adb1759d03e (patch)
tree92f307eadb5c78c77a8ee3f84aa582370628fe51 /bfd/coff-a29k.c
parent6bf191bf4d7018ecb2e4d68fd4f5b768162c0a7e (diff)
downloadgdb-53d3ce37d4d65d2df72ec3c96e292adb1759d03e.zip
gdb-53d3ce37d4d65d2df72ec3c96e292adb1759d03e.tar.gz
gdb-53d3ce37d4d65d2df72ec3c96e292adb1759d03e.tar.bz2
* Many files: Added gettext invocations around user-visible
strings. * libbfd-in.h: Added gettext includes and defines. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. * Makefile.am (SUBDIRS): Added po. (POTFILES): New macro. (po/POTFILES.in): New target. (SOURCE_HFILES): New macro. (HFILES): Use it. * po/Make-in, po/POTFILES.in, po/bfd.pot: New files.
Diffstat (limited to 'bfd/coff-a29k.c')
-rw-r--r--bfd/coff-a29k.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/coff-a29k.c b/bfd/coff-a29k.c
index 7b783f0..bbf23ee 100644
--- a/bfd/coff-a29k.c
+++ b/bfd/coff-a29k.c
@@ -118,7 +118,7 @@ a29k_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
if ((part1_consth_active) && (r_type != R_IHCONST))
{
part1_consth_active = false;
- *error_message = (char *) "Missing IHCONST";
+ *error_message = (char *) _("Missing IHCONST");
return(bfd_reloc_dangerous);
}
@@ -178,7 +178,7 @@ a29k_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
/* consth, part 2
Now relocate the reference */
if (part1_consth_active == false) {
- *error_message = (char *) "Missing IHIHALF";
+ *error_message = (char *) _("Missing IHIHALF");
return(bfd_reloc_dangerous);
}
/* sym_ptr_ptr = r_symndx, in coff_slurp_reloc_table() */
@@ -210,7 +210,7 @@ a29k_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
bfd_put_32(abfd, insn, hit_data);
break;
default:
- *error_message = "Unrecognized reloc";
+ *error_message = _("Unrecognized reloc");
return (bfd_reloc_dangerous);
}
@@ -403,7 +403,7 @@ coff_a29k_relocate_section (output_bfd, info, input_bfd, input_section,
if (hihalf)
{
if (! ((*info->callbacks->reloc_dangerous)
- (info, "missing IHCONST reloc", input_bfd,
+ (info, _("missing IHCONST reloc"), input_bfd,
input_section, rel->r_vaddr - input_section->vma)))
return false;
hihalf = false;
@@ -494,7 +494,7 @@ coff_a29k_relocate_section (output_bfd, info, input_bfd, input_section,
if (! hihalf)
{
if (! ((*info->callbacks->reloc_dangerous)
- (info, "missing IHIHALF reloc", input_bfd,
+ (info, _("missing IHIHALF reloc"), input_bfd,
input_section, rel->r_vaddr - input_section->vma)))
return false;
hihalf_val = 0;