From fc579192b43d249de3661894c154342a6c7ebad2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 28 May 2009 11:30:49 +0000 Subject: 2009-05-28 Nick Clifton * targets.c (_bfd_target_vector): Only include plugin target in all-targets build if BFD_SUPPORTS_PLUGINS is non-zero. 2009-05-27 Rafael Avila de Espindola * plugin.c (program_name): Remove. (plugin_program_name): New. (bfd_plugin_set_program_name): New. (try_load_plugin): Use plugin_program_name. * plugin.h (bfd_plugin_set_program_name): New. 2009-05-27 Rafael Avila de Espindola * ar.c (main): Call bfd_plugin_set_program_name. * nm.c (main): Call bfd_plugin_set_program_name. --- binutils/ChangeLog | 13 +++++++++++++ binutils/ar.c | 3 +++ binutils/nm.c | 3 +++ 3 files changed, 19 insertions(+) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index cf3eaec..4acdbf9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -3,6 +3,19 @@ * readelf.c (display_debug_section): Do not display debug sections with the NOBITS section type. +2009-05-27 Rafael Avila de Espindola + + * aclocal.m4: Include ../config/plugins.m4. + * configure.in: Use AC_PLUGINS. + * configure: Regenerate. + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2009-05-27 Rafael Avila de Espindola + + * ar.c (main): Call bfd_plugin_set_program_name. + * nm.c (main): Call bfd_plugin_set_program_name. + 2009-05-27 Nathan Sidwell * sysdump.c (tab): Use puts rather than two printfs. diff --git a/binutils/ar.c b/binutils/ar.c index d28419f..318cfe0 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -392,6 +392,9 @@ main (int argc, char **argv) program_name = argv[0]; xmalloc_set_program_name (program_name); +#if BFD_SUPPORTS_PLUGINS + bfd_plugin_set_program_name (program_name); +#endif expandargv (&argc, &argv); diff --git a/binutils/nm.c b/binutils/nm.c index b03d1b6..51f67d1 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -1515,6 +1515,9 @@ main (int argc, char **argv) program_name = *argv; xmalloc_set_program_name (program_name); +#if BFD_SUPPORTS_PLUGINS + bfd_plugin_set_program_name (program_name); +#endif START_PROGRESS (program_name, 0); -- cgit v1.1