> Date: Thu, 1 Oct 2009 20:45:41 +0000 (UTC)
> From: "Joseph S. Myers" <[email protected]>
> On Thu, 1 Oct 2009, Hans-Peter Nilsson wrote:
> It may be that the non-stub versions are only needed for code where
> exceptions may be caught, or which has cleanups to be run during
> unwinding, rather than code that is just thrown through.
Could be that. I think I don't have an incentive to go
investigate that, though.
> > included only *after* -lgcc -lgcc_eh/-lgcc_s so those functions
> > wouldn't be picked even in the static library - unless you hack
> > your gcc invocation to leave out -lgcc_eh or the equivalent, in
> > which case TRT happens.
>
> Normally (i.e. when you don't use -nostdlib), either the -lgcc options are
> present on both sides of -lc or --start-group --end-group are used around
> the -lgcc options and -lc. See LINK_GCC_C_SEQUENCE_SPEC.
Point was, what's after doesn't matter, as libgcc{,_eh} would be
before uclibc in the search path (unless botched by manual
-nostdlib intervention :)
...but since the __aeabi_unwind_cpp_pr1 symbol in libgcc_eh and
libgcc_s is weak and the one in uclibc is (hidden but) strong,
it doesn't matter. Oh well.
Thanks for your time.
brgds, H-P
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc