aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coff-alpha.c')
-rw-r--r--bfd/coff-alpha.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/bfd/coff-alpha.c b/bfd/coff-alpha.c
index 75060bb..2d89035 100644
--- a/bfd/coff-alpha.c
+++ b/bfd/coff-alpha.c
@@ -598,9 +598,8 @@ alpha_adjust_reloc_in (bfd *abfd,
if (intern->r_type > ALPHA_R_GPVALUE)
{
/* xgettext:c-format */
- _bfd_error_handler
- (_("%pB: unknown/unsupported relocation type %d"),
- abfd, intern->r_type);
+ _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+ abfd, intern->r_type);
bfd_set_error (bfd_error_bad_value);
rptr->addend = 0;
rptr->howto = NULL;
@@ -1499,24 +1498,21 @@ alpha_relocate_section (bfd *output_bfd,
switch (r_type)
{
case ALPHA_R_GPRELHIGH:
- _bfd_error_handler
- (_("%pB: unsupported relocation: ALPHA_R_GPRELHIGH"),
- input_bfd);
+ _bfd_error_handler (_("%pB: %s unsupported"),
+ input_bfd, "ALPHA_R_GPRELHIGH");
bfd_set_error (bfd_error_bad_value);
continue;
case ALPHA_R_GPRELLOW:
- _bfd_error_handler
- (_("%pB: unsupported relocation: ALPHA_R_GPRELLOW"),
- input_bfd);
+ _bfd_error_handler (_("%pB: %s unsupported"),
+ input_bfd, "ALPHA_R_GPRELLOW");
bfd_set_error (bfd_error_bad_value);
continue;
default:
- _bfd_error_handler
- /* xgettext:c-format */
- (_("%pB: unknown relocation type %d"),
- input_bfd, (int) r_type);
+ /* xgettext:c-format */
+ _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+ input_bfd, (int) r_type);
bfd_set_error (bfd_error_bad_value);
continue;