diff options
Diffstat (limited to 'gas/config/tc-tic54x.c')
-rw-r--r-- | gas/config/tc-tic54x.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gas/config/tc-tic54x.c b/gas/config/tc-tic54x.c index f84afcd838e7..412473b98e1f 100644 --- a/gas/config/tc-tic54x.c +++ b/gas/config/tc-tic54x.c @@ -45,9 +45,7 @@ COFF1 limits section names to 8 characters. Some of the default behavior changed from COFF1 to COFF2. */ -#include <stdlib.h> #include <limits.h> -#include <errno.h> #include "as.h" #include "safe-ctype.h" #include "sb.h" @@ -2514,8 +2512,8 @@ tic54x_mlib (ignore) abfd = bfd_openr (path, NULL); if (!abfd) { - as_bad (_("Can't open macro library file '%s' for reading."), path); - as_perror ("%s", path); + as_bad (_("can't open macro library file '%s' for reading: %s"), + path, bfd_errmsg (bfd_get_error ())); ignore_rest_of_line (); return; } |