X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fppcboot.c;h=e27e915853c37308f03205e01b6f9aebe18a0456;hb=5cf30ebf64d3c6da961094c615a94d2f1682a478;hp=ea54d62ee23c85ea520db2f51c67311b40cb9286;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index ea54d62ee2..e27e915853 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -1,5 +1,5 @@ /* BFD back-end for PPCbug boot records. - Copyright (C) 1996-2016 Free Software Foundation, Inc. + Copyright (C) 1996-2017 Free Software Foundation, Inc. Written by Michael Meissner, Cygnus Support, This file is part of BFD, the Binary File Descriptor library. @@ -422,20 +422,25 @@ ppcboot_bfd_print_private_bfd_data (bfd *abfd, void * farg) && !sector_begin && !sector_length) continue; + /* xgettext:c-format */ fprintf (f, _("\nPartition[%d] start = { 0x%.2x, 0x%.2x, 0x%.2x, 0x%.2x }\n"), i, tdata->header.partition[i].partition_begin.ind, tdata->header.partition[i].partition_begin.head, tdata->header.partition[i].partition_begin.sector, tdata->header.partition[i].partition_begin.cylinder); + /* xgettext:c-format */ fprintf (f, _("Partition[%d] end = { 0x%.2x, 0x%.2x, 0x%.2x, 0x%.2x }\n"), i, tdata->header.partition[i].partition_end.ind, tdata->header.partition[i].partition_end.head, tdata->header.partition[i].partition_end.sector, tdata->header.partition[i].partition_end.cylinder); + /* xgettext:c-format */ fprintf (f, _("Partition[%d] sector = 0x%.8lx (%ld)\n"), i, (unsigned long) sector_begin, sector_begin); + + /* xgettext:c-format */ fprintf (f, _("Partition[%d] length = 0x%.8lx (%ld)\n"), i, (unsigned long) sector_length, sector_length); } @@ -465,6 +470,7 @@ ppcboot_bfd_print_private_bfd_data (bfd *abfd, void * farg) #define ppcboot_bfd_link_split_section _bfd_generic_link_split_section #define ppcboot_get_section_contents_in_window \ _bfd_generic_get_section_contents_in_window +#define ppcboot_bfd_link_check_relocs _bfd_generic_link_check_relocs #define ppcboot_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data #define ppcboot_bfd_merge_private_bfd_data _bfd_generic_bfd_merge_private_bfd_data