Add c-format tags to translatable strings with more than one argument-using formattin...
[deliverable/binutils-gdb.git] / bfd / ihex.c
index 636632f54708c19a5beb2432606862ca95af7aeb..a9a5fca8c182fd89d54962bb2390b6a453501f9a 100644 (file)
@@ -226,6 +226,7 @@ ihex_bad_byte (bfd *abfd, unsigned int lineno, int c, bfd_boolean error)
          buf[1] = '\0';
        }
       _bfd_error_handler
+       /* xgettext:c-format */
        (_("%B:%d: unexpected character `%s' in Intel Hex file"),
         abfd, lineno, buf);
       bfd_set_error (bfd_error_bad_value);
@@ -333,6 +334,7 @@ ihex_scan (bfd *abfd)
          if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i))
            {
              _bfd_error_handler
+               /* xgettext:c-format */
                (_("%B:%u: bad checksum in Intel Hex file (expected %u, found %u)"),
                 abfd, lineno,
                 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i));
@@ -388,6 +390,7 @@ ihex_scan (bfd *abfd)
              if (len != 2)
                {
                  _bfd_error_handler
+                   /* xgettext:c-format */
                    (_("%B:%u: bad extended address record length in Intel Hex file"),
                     abfd, lineno);
                  bfd_set_error (bfd_error_bad_value);
@@ -405,6 +408,7 @@ ihex_scan (bfd *abfd)
              if (len != 4)
                {
                  _bfd_error_handler
+                   /* xgettext:c-format */
                    (_("%B:%u: bad extended start address length in Intel Hex file"),
                     abfd, lineno);
                  bfd_set_error (bfd_error_bad_value);
@@ -422,6 +426,7 @@ ihex_scan (bfd *abfd)
              if (len != 2)
                {
                  _bfd_error_handler
+                   /* xgettext:c-format */
                    (_("%B:%u: bad extended linear address record length in Intel Hex file"),
                     abfd, lineno);
                  bfd_set_error (bfd_error_bad_value);
@@ -439,6 +444,7 @@ ihex_scan (bfd *abfd)
              if (len != 2 && len != 4)
                {
                  _bfd_error_handler
+                   /* xgettext:c-format */
                    (_("%B:%u: bad extended linear start address length in Intel Hex file"),
                     abfd, lineno);
                  bfd_set_error (bfd_error_bad_value);
@@ -456,6 +462,7 @@ ihex_scan (bfd *abfd)
 
            default:
              _bfd_error_handler
+               /* xgettext:c-format */
                (_("%B:%u: unrecognized ihex type %u in Intel Hex file"),
                 abfd, lineno, type);
              bfd_set_error (bfd_error_bad_value);
@@ -822,6 +829,7 @@ ihex_write_object_contents (bfd *abfd)
 
                      sprintf_vma (buf, where);
                      _bfd_error_handler
+                       /* xgettext:c-format */
                        (_("%s: address 0x%s out of range for Intel Hex file"),
                         bfd_get_filename (abfd), buf);
                      bfd_set_error (bfd_error_bad_value);
This page took 0.024608 seconds and 4 git commands to generate.