This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to change config.make_executable to FALSE from bfd?


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]