X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bfd%2Fcpu-rs6000.c;h=b8022c3d424fd451bcd48793c7b3585d3e8ed235;hb=89e0345fdfad506e4692126cabd618ef859dc63f;hp=834f20d289cca01aa4955f314cfa8608c1d7f613;hpb=cd123cb70c845b890eed231a84e6e84c92c2ef92;p=platform%2Fupstream%2Fbinutils.git diff --git a/bfd/cpu-rs6000.c b/bfd/cpu-rs6000.c index 834f20d..b8022c3 100644 --- a/bfd/cpu-rs6000.c +++ b/bfd/cpu-rs6000.c @@ -1,6 +1,5 @@ /* BFD back-end for rs6000 support - Copyright 1990, 1991, 1993, 1995, 2000, 2002, 2003, 2007 - Free Software Foundation, Inc. + Copyright (C) 1990-2014 Free Software Foundation, Inc. Written by Mimi Phuong-Thao Vo of IBM and John Gilmore of Cygnus Support. @@ -28,13 +27,9 @@ /* The RS/6000 architecture is compatible with the PowerPC common architecture. */ -static const bfd_arch_info_type *rs6000_compatible - PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *)); - static const bfd_arch_info_type * -rs6000_compatible (a,b) - const bfd_arch_info_type *a; - const bfd_arch_info_type *b; +rs6000_compatible (const bfd_arch_info_type *a, + const bfd_arch_info_type *b) { BFD_ASSERT (a->arch == bfd_arch_rs6000); switch (b->arch) @@ -65,6 +60,7 @@ static const bfd_arch_info_type arch_info_struct[] = FALSE, /* not the default */ rs6000_compatible, bfd_default_scan, + bfd_arch_default_fill, &arch_info_struct[1] }, { @@ -79,6 +75,7 @@ static const bfd_arch_info_type arch_info_struct[] = FALSE, /* not the default */ rs6000_compatible, bfd_default_scan, + bfd_arch_default_fill, &arch_info_struct[2] }, { @@ -93,6 +90,7 @@ static const bfd_arch_info_type arch_info_struct[] = FALSE, /* not the default */ rs6000_compatible, bfd_default_scan, + bfd_arch_default_fill, 0 } }; @@ -110,5 +108,6 @@ const bfd_arch_info_type bfd_rs6000_arch = TRUE, /* the default */ rs6000_compatible, bfd_default_scan, + bfd_arch_default_fill, &arch_info_struct[0] };