This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: ARM EABI GNU/Linux libgcc
Paul Brook wrote:
This can be made static. I probably made it extern before I invented
I'll change that, then.
This is probably the right thing to do, however it breaks arm-none-eabi. This
target doesn't have a dynamic loader, so currently uses the markers
It sounds like it could use the symbols inserted by the static linker
instead; see below. If that sounds workable to you, I'll adapt the fix
to that it does that on arm-none-eabi.
Does teh dynamic loader DTRT with statically linked arm-linux-gnueabi
Yes. In fact, that was my original test case, before moving on to
dynamic linking. GLIBC has startup code that runs stuff in .init_array.
The static linker inserts symbols marking the beginning/end of the
I'm not sure what would happen if you used a non-GNU linker to do the
static link -- but I think that nothing would get run. That's not our