diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-01-08 11:15:39 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-01-08 11:15:39 +0000 |
commit | 3ee87829b9a775738a6a8f47415b33a9c2a0dea2 (patch) | |
tree | 1f3e86adeacfa48971896280fb8ee045b58be0b8 /bfd | |
parent | 2ad0e9f1402e143ecb1d48a632d57b1187a07a1e (diff) | |
download | gdb-3ee87829b9a775738a6a8f47415b33a9c2a0dea2.zip gdb-3ee87829b9a775738a6a8f47415b33a9c2a0dea2.tar.gz gdb-3ee87829b9a775738a6a8f47415b33a9c2a0dea2.tar.bz2 |
2010-01-08 Tristan Gingold <gingold@adacore.com>
* archive.c: Remove bfd_special_undocumented_glue.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/archive.c | 18 |
2 files changed, 5 insertions, 17 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f502d4f..fed7aab 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-01-08 Tristan Gingold <gingold@adacore.com> + + * archive.c: Remove bfd_special_undocumented_glue. + 2010-01-08 Alan Modra <amodra@gmail.com> PR ld/11133 diff --git a/bfd/archive.c b/bfd/archive.c index 4d67463..6ba743c 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -1,6 +1,6 @@ /* BFD back-end for archive files (libraries). Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Written by Cygnus Support. Mostly Gumby Henkel-Wallace's fault. @@ -1703,22 +1703,6 @@ bfd_ar_hdr_from_filesystem (bfd *abfd, const char *filename, bfd *member) return ared; } -/* This is magic required by the "ar" program. Since it's - undocumented, it's undocumented. You may think that it would take - a strong stomach to write this, and it does, but it takes even a - stronger stomach to try to code around such a thing! */ - -struct ar_hdr *bfd_special_undocumented_glue (bfd *, const char *); - -struct ar_hdr * -bfd_special_undocumented_glue (bfd *abfd, const char *filename) -{ - struct areltdata *ar_elt = bfd_ar_hdr_from_filesystem (abfd, filename, 0); - if (ar_elt == NULL) - return NULL; - return (struct ar_hdr *) ar_elt->arch_header; -} - /* Analogous to stat call. */ int |