This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RFC: Add --plugin-gcc option to ar/nm
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>, Binutils <binutils at sourceware dot org>
- Date: Sat, 15 Oct 2011 15:44:46 -0700
- Subject: RFC: Add --plugin-gcc option to ar/nm
Hi,
---plugin option for ar/nm is very long. I am proposing to add
a --plugin-gcc option. It can be implemented with
1. Move LTOPLUGINSONAME from gcc to config/plugins.m4.
2. Define LTOPLUGINSONAME for ar/nm.
3. For --plugin-gcc, ar/nm call popen using environment variable GCC if set,
or gcc with -print-prog-name=$LTOPLUGINSONAM to get
plugin name.
Any comments?
--
H.J.