summaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-05-27 15:46:10 +0000
committerNick Clifton <nickc@redhat.com>2002-05-27 15:46:10 +0000
commitc5e9ecb88969e929fc3bdb749a0371bac5580153 (patch)
tree853756afb8b7636417282fe0eccbe69a8952b601 /binutils/readelf.c
parentdf5cb0f35319b7e64db5c83ddc8ee2f0903170dd (diff)
downloadbinutils-redhat-c5e9ecb88969e929fc3bdb749a0371bac5580153.tar.gz
Fix transaltion problems.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index f515a20d8d..d91f3d2b5e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2764,8 +2764,10 @@ process_program_headers (file)
if (do_segments)
{
- printf
- (_("\nProgram Header%s:\n"), elf_header.e_phnum > 1 ? "s" : "");
+ if (elf_header.e_phnum > 1)
+ printf (_("\nProgram Headers:\n"));
+ else
+ printf (_("\nProgram Headers:\n"));
if (is_32bit_elf)
printf
@@ -3342,7 +3344,10 @@ process_section_headers (file)
if (! do_sections)
return 1;
- printf (_("\nSection Header%s:\n"), elf_header.e_shnum > 1 ? "s" : "");
+ if (elf_header.e_shnum > 1)
+ printf (_("\nSection Headers:\n"));
+ else
+ printf (_("\nSection Header:\n"));
if (is_32bit_elf)
printf
@@ -3548,7 +3553,7 @@ process_relocs (file)
if (string_table == NULL)
printf ("%d", section->sh_name);
else
- printf ("'%s'", SECTION_NAME (section));
+ printf (_("'%s'"), SECTION_NAME (section));
printf (_(" at offset 0x%lx contains %lu entries:\n"),
rel_offset, (unsigned long) (rel_size / section->sh_entsize));
@@ -3981,7 +3986,7 @@ process_unwind (file)
if (string_table == NULL)
printf ("%d", unwsec->sh_name);
else
- printf ("'%s'", SECTION_NAME (unwsec));
+ printf (_("'%s'"), SECTION_NAME (unwsec));
}
else
{
@@ -3995,7 +4000,7 @@ process_unwind (file)
if (string_table == NULL)
printf ("%d", unwsec->sh_name);
else
- printf ("'%s'", SECTION_NAME (unwsec));
+ printf (_("'%s'"), SECTION_NAME (unwsec));
printf (_(" at offset 0x%lx contains %lu entries:\n"),
(unsigned long) unwsec->sh_offset,
@@ -9227,7 +9232,7 @@ process_mips_specific (file)
if (dynamic_symbols == NULL)
{
- error (_("conflict list with without table"));
+ error (_("conflict list found without a dynamic symbol table"));
return 0;
}
@@ -9310,7 +9315,7 @@ get_note_type (e_type)
case NT_PSINFO: return _("NT_PSINFO (psinfo structure)");
case NT_LWPSTATUS: return _("NT_LWPSTATUS (lwpstatus_t structure)");
case NT_LWPSINFO: return _("NT_LWPSINFO (lwpsinfo_t structure)");
- case NT_WIN32PSTATUS: return _("NT_WIN32PSTATUS (win32_pstatus strcuture)");
+ case NT_WIN32PSTATUS: return _("NT_WIN32PSTATUS (win32_pstatus structure)");
default:
sprintf (buff, _("Unknown note type: (0x%08x)"), e_type);
return buff;