This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Add plugin support for bfd
- From: Tristan Gingold <gingold at adacore dot com>
- To: Rafael Espíndola <rafael dot espindola at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 29 Apr 2009 15:15:00 +0200
- Subject: Re: [patch] Add plugin support for bfd
- References: <564d96fb0904280939p47219a79y2bd35b1eeb34a875@mail.gmail.com>
On Apr 28, 2009, at 6:39 PM, Rafael Espíndola wrote:
This is an updated patch that adds plugin support to bfd. I posted a
previous version a long time ago, sorry for the delay.
Hi,
[ You'd better not to send diff against configure as it made reviewing
slightly more difficult. ]
diff -ruN a/bfd/config.bfd b/bfd/config.bfd
--- a/bfd/config.bfd 2009-04-16 16:39:41.000000000 +0100
+++ b/bfd/config.bfd 2009-04-28 16:45:07.000000000 +0100
@@ -137,6 +137,12 @@
exit 1
;;
+ plugin)
+ targ_defvec=plugin_vec
+ targ_selvecs="plugin_vec"
+ targ_archs="bfd_i386_arch"
+ ;;
+
Why bfd_i386_arch ?
Maybe you should send a separate patch for LFS stuff.
Maybe you should also send a patch for a plugin example.
Tristan.