This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How to change config.make_executable to FALSE from bfd?
- From: Ian Lance Taylor <ian at airs dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: 11 Apr 2003 16:34:08 -0700
- Subject: Re: How to change config.make_executable to FALSE from bfd?
- References: <20030410103732.A27784@lucon.org>
"H. J. Lu" <hjl at lucon dot org> writes:
> In some cases, when bfd encounters an error, I'd like to issue a
> message and continue without generating any output file at the end.
> Right now, I can only issue one error message and stop. It will be
> nice for bfd to change config.make_executable to FALSE so that no
> output file will be created. How do I do that?
Do you have a bfd_link_info structure? If so, use a callback in
bfd_link_callbacks. Add a new callback if necessary.
Ian