https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88745

--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Ian Lance Taylor from comment #7)
> We are using yet another object file reader because libbacktrace is designed
> to run correctly when invoked by a signal handler, so it cannot use ordinary
> memory allocation.

thanks, that clarifies (although the necessary logic and some of the code are
going to be similar, so looking at the simple-object one can also help in
addition to examining the loader.h).

> libbacktrace is only used when host == target.  It's built as a target
> library so that it can be linked into programs that are built for and run on
> the target.  For those programs, host == target == (target of overall build).

So at configure time (for a cross-compiler, which I build often for Darwin)
does the awk script need to pick up the correct cross-endian value? (i.e even
tho there is no need to swap things in the running code, the configuration
might need to).

Reply via email to