aboutsummaryrefslogtreecommitdiff
path: root/bfd/xsym.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-11-22 03:33:51 +0000
committerAlan Modra <amodra@gmail.com>2006-11-22 03:33:51 +0000
commit833fb04eb808edad319c938ef3b9a6918d3f9f15 (patch)
treea3eab56a74d7183ceb956b638a7735fe3dd94a37 /bfd/xsym.c
parent4fe5ca5b131cea35f0b3265d18a86f12bfc149e7 (diff)
downloadgdb-833fb04eb808edad319c938ef3b9a6918d3f9f15.zip
gdb-833fb04eb808edad319c938ef3b9a6918d3f9f15.tar.gz
gdb-833fb04eb808edad319c938ef3b9a6918d3f9f15.tar.bz2
* pef.c (bfd_pef_make_empty_symbol): Delete function. Define instead.
* xsym.c (bfd_sym_make_empty_symbol): Likewise. * xsym.h (bfd_sym_make_empty_symbol): Delete.
Diffstat (limited to 'bfd/xsym.c')
-rw-r--r--bfd/xsym.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/bfd/xsym.c b/bfd/xsym.c
index b102bef..19a64a9 100644
--- a/bfd/xsym.c
+++ b/bfd/xsym.c
@@ -2275,11 +2275,7 @@ bfd_sym_object_p (bfd *abfd)
return NULL;
}
-asymbol *
-bfd_sym_make_empty_symbol (bfd *abfd)
-{
- return bfd_alloc (abfd, sizeof (asymbol));
-}
+#define bfd_sym_make_empty_symbol _bfd_generic_make_empty_symbol
void
bfd_sym_get_symbol_info (bfd *abfd ATTRIBUTE_UNUSED, asymbol *symbol, symbol_info *ret)