non-contiguous elf test
Christophe Lyon
christophe.lyon@linaro.org
Tue Mar 17 10:56:17 GMT 2020
On Mon, 16 Mar 2020 at 12:09, Alan Modra <amodra@gmail.com> wrote:
>
> On Mon, Mar 16, 2020 at 11:21:01AM +0100, Christophe Lyon wrote:
> > OK, sure, but what's the recommended way of issuing a fatal error message?
> > I'd like to stop processing at that point (and similarly in the other
> > parts of my patch where I use abort)
>
> In the linker, use %F in an error message output by einfo. Lots of
> examples in ldelf.c.
>
Thanks, I'd missed that indeed.
But what about the code in elfNN-XXX ?
It uses _bfd_error_handler instead of einfo, which does not support %F AFAICT
> --
> Alan Modra
> Australia Development Lab, IBM
More information about the Binutils
mailing list