X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bfd%2Fecoff.c;h=f9844b3b4b0904c1159848822bd050835ed14989;hb=refs%2Fheads%2Fsandbox%2Fvbarinov%2Ftizen_6_base;hp=c947e607881603480bc83e81234b1c88981fc92a;hpb=59d08d6ce8cb6c41691266e133304c961c270e85;p=external%2Fbinutils.git diff --git a/bfd/ecoff.c b/bfd/ecoff.c index c947e60..f9844b3 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1,5 +1,5 @@ /* Generic ECOFF (Extended-COFF) routines. - Copyright (C) 1990-2018 Free Software Foundation, Inc. + Copyright (C) 1990-2019 Free Software Foundation, Inc. Original version by Per Bothner. Full support added by Ian Lance Taylor, ian@cygnus.com. @@ -2218,22 +2218,6 @@ _bfd_ecoff_set_section_contents (bfd *abfd, return TRUE; } -/* Get the GP value for an ECOFF file. This is a hook used by - nlmconv. */ - -bfd_vma -bfd_ecoff_get_gp_value (bfd *abfd) -{ - if (bfd_get_flavour (abfd) != bfd_target_ecoff_flavour - || bfd_get_format (abfd) != bfd_object) - { - bfd_set_error (bfd_error_invalid_operation); - return 0; - } - - return ecoff_data (abfd)->gp; -} - /* Set the GP value for an ECOFF file. This is a hook used by the assembler. */