aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/peXXigen.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bb27342..6cdf3ac 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2021-03-22 Jan Beulich <jbeulich@suse.com>
+
+ * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Add missing
+ language translation wrapping to _bfd_error_handler()
+ invocations.
+
2021-03-21 Alan Modra <amodra@gmail.com>
* bfd-in.h (startswith): New inline.
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index b370672..14daf4f 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -935,10 +935,10 @@ _bfd_XXi_swap_scnhdr_out (bfd * abfd, void * in, void * out)
ss = scnhdr_int->s_vaddr - pe_data (abfd)->pe_opthdr.ImageBase;
if (scnhdr_int->s_vaddr < pe_data (abfd)->pe_opthdr.ImageBase)
- _bfd_error_handler ("%pB:%.8s: section below image base",
+ _bfd_error_handler (_("%pB:%.8s: section below image base"),
abfd, scnhdr_int->s_name);
else if(ss != (ss & 0xffffffff))
- _bfd_error_handler ("%pB:%.8s: RVA truncated", abfd, scnhdr_int->s_name);
+ _bfd_error_handler (_("%pB:%.8s: RVA truncated"), abfd, scnhdr_int->s_name);
PUT_SCNHDR_VADDR (abfd, ss & 0xffffffff, scnhdr_ext->s_vaddr);
/* NT wants the size data to be rounded up to the next