diff options
author | obrien <obrien@FreeBSD.org> | 2000-05-12 23:15:20 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-05-12 23:15:20 +0000 |
commit | 2a9ea95d682586d2b0c31da28d82a73d786c7c0a (patch) | |
tree | 9d4ce42d357c391a11d77254b770908c02ecf672 /contrib/binutils/gas/output-file.c | |
parent | bffe850874e72664f78cf171ab1c4339b9b63cab (diff) | |
download | FreeBSD-src-2a9ea95d682586d2b0c31da28d82a73d786c7c0a.zip FreeBSD-src-2a9ea95d682586d2b0c31da28d82a73d786c7c0a.tar.gz |
Import of Binutils 2.10 snapshot.
Diffstat (limited to 'contrib/binutils/gas/output-file.c')
-rw-r--r-- | contrib/binutils/gas/output-file.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/binutils/gas/output-file.c b/contrib/binutils/gas/output-file.c index 552aac1..a7df72f 100644 --- a/contrib/binutils/gas/output-file.c +++ b/contrib/binutils/gas/output-file.c @@ -45,11 +45,11 @@ output_file_create (name) { if (name[0] == '-' && name[1] == '\0') { - as_fatal ("Can't open a bfd on stdout %s ", name); + as_fatal (_("Can't open a bfd on stdout %s "), name); } else if (!(stdoutput = bfd_openw (name, TARGET_FORMAT))) { - as_perror ("FATAL: Can't create %s", name); + as_perror (_("FATAL: Can't create %s"), name); exit (EXIT_FAILURE); } bfd_set_format (stdoutput, bfd_object); @@ -69,14 +69,14 @@ output_file_close (filename) if (bfd_close (stdoutput) == 0) { bfd_perror (filename); - as_perror ("FATAL: Can't close %s\n", filename); + as_perror (_("FATAL: Can't close %s\n"), filename); exit (EXIT_FAILURE); } #else /* Close the bfd without getting bfd to write out anything by itself */ if (bfd_close_all_done (stdoutput) == 0) { - as_perror ("FATAL: Can't close %s\n", filename); + as_perror (_("FATAL: Can't close %s\n"), filename); exit (EXIT_FAILURE); } #endif @@ -86,9 +86,9 @@ output_file_close (filename) #ifndef BFD_ASSEMBLER void output_file_append (where, length, filename) - char *where; - long length; - char *filename; + char *where ATTRIBUTE_UNUSED; + long length ATTRIBUTE_UNUSED; + char *filename ATTRIBUTE_UNUSED; { abort (); } @@ -116,7 +116,7 @@ output_file_create (name) if (stdoutput == NULL) { - as_perror ("FATAL: Can't create %s", name); + as_perror (_("FATAL: Can't create %s"), name); exit (EXIT_FAILURE); } } @@ -127,7 +127,7 @@ output_file_close (filename) { if (EOF == fclose (stdoutput)) { - as_perror ("FATAL: Can't close %s", filename); + as_perror (_("FATAL: Can't close %s"), filename); exit (EXIT_FAILURE); } stdoutput = NULL; /* Trust nobody! */ @@ -145,8 +145,8 @@ output_file_append (where, length, filename) if (ferror (stdoutput)) /* if ( EOF == (putc( *where, stdoutput )) ) */ { - as_perror ("Failed to emit an object byte", filename); - as_fatal ("Can't continue"); + as_perror (_("Failed to emit an object byte"), filename); + as_fatal (_("Can't continue")); } } } |