X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=bfd%2Fppcboot.c;h=0d9a3bcdfaca7b722a17390612ce890df696af3e;hp=b4b6e7a2a8ed414bb2118c3442f1fe321ff701a3;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index b4b6e7a..0d9a3bc 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -1,6 +1,6 @@ /* BFD back-end for PPCbug boot records. - Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006, - 2007 Free Software Foundation, Inc. + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008, 2009 Free Software Foundation, Inc. Written by Michael Meissner, Cygnus Support, This file is part of BFD, the Binary File Descriptor library. @@ -412,8 +412,10 @@ ppcboot_bfd_print_private_bfd_data (abfd, farg) int i; fprintf (f, _("\nppcboot header:\n")); - fprintf (f, _("Entry offset = 0x%.8lx (%ld)\n"), entry_offset, entry_offset); - fprintf (f, _("Length = 0x%.8lx (%ld)\n"), length, length); + fprintf (f, _("Entry offset = 0x%.8lx (%ld)\n"), + (unsigned long) entry_offset, entry_offset); + fprintf (f, _("Length = 0x%.8lx (%ld)\n"), + (unsigned long) length, length); if (tdata->header.flags) fprintf (f, _("Flag field = 0x%.2x\n"), tdata->header.flags); @@ -453,8 +455,10 @@ ppcboot_bfd_print_private_bfd_data (abfd, farg) tdata->header.partition[i].partition_end.sector, tdata->header.partition[i].partition_end.cylinder); - fprintf (f, _("Partition[%d] sector = 0x%.8lx (%ld)\n"), i, sector_begin, sector_begin); - fprintf (f, _("Partition[%d] length = 0x%.8lx (%ld)\n"), i, sector_length, sector_length); + fprintf (f, _("Partition[%d] sector = 0x%.8lx (%ld)\n"), + i, (unsigned long) sector_begin, sector_begin); + fprintf (f, _("Partition[%d] length = 0x%.8lx (%ld)\n"), + i, (unsigned long) sector_length, sector_length); } fprintf (f, "\n"); @@ -471,6 +475,7 @@ ppcboot_bfd_print_private_bfd_data (abfd, farg) #define ppcboot_bfd_discard_group bfd_generic_discard_group #define ppcboot_section_already_linked \ _bfd_generic_section_already_linked +#define ppcboot_bfd_define_common_symbol bfd_generic_define_common_symbol #define ppcboot_bfd_link_hash_table_create _bfd_generic_link_hash_table_create #define ppcboot_bfd_link_hash_table_free _bfd_generic_link_hash_table_free #define ppcboot_bfd_link_add_symbols _bfd_generic_link_add_symbols