diff options
Diffstat (limited to 'bfd/coff64-rs6000.c')
-rw-r--r-- | bfd/coff64-rs6000.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 7185232..6b7cd34 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -177,11 +177,10 @@ static bfd_boolean xcoff64_bad_format_hook (bfd *, void *); /* Relocation functions */ -static bfd_boolean xcoff64_reloc_type_br - (XCOFF_RELOC_FUNCTION_ARGS); +static xcoff_reloc_function xcoff64_reloc_type_br; -bfd_boolean (*xcoff64_calculate_relocation[XCOFF_MAX_CALCULATE_RELOCATION]) - (XCOFF_RELOC_FUNCTION_ARGS) = +xcoff_reloc_function *const +xcoff64_calculate_relocation[XCOFF_MAX_CALCULATE_RELOCATION] = { xcoff_reloc_type_pos, /* R_POS (0x00) */ xcoff_reloc_type_neg, /* R_NEG (0x01) */ @@ -2539,7 +2538,7 @@ HOWTO (0, /* type */ MINUS_ONE, /* dst_mask */ FALSE); /* pcrel_offset */ -static unsigned long xcoff64_glink_code[10] = +static const unsigned long xcoff64_glink_code[10] = { 0xe9820000, /* ld r12,0(r2) */ 0xf8410028, /* std r2,40(r1) */ |