[patch] Add plugin support for bfd

Tristan Gingold gingold@adacore.com
Wed Apr 29 13:15:00 GMT 2009


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.






More information about the Binutils mailing list