This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problems with startup code symbols (Copious warnings)
On Tue, 2006-06-20 at 08:37 -0400, Daniel Jacobowitz wrote:
> > And I don't see much embedded bootcode needing linkonce
> > sections.
>
> ... but not probably.
>
> Typical for a lot of embedded devices I've worked with is to have a
> single massive ELF image, including boot code and the entire remainder
> of the image, and to use C++ for most of it. I've definitely worked
> with images where this wouldn't help.
I said I must have missed something in my initial mail :-)
> > > Is that an improvement? I guess so.
> >
> > It's certainly better than the current HAS_RELOCS check.
>
> Yes, I think so. Want to do it, anybody?
I'll give it a try, if nobody beats me at it. I won't have any time in
the upcoming days though, so don't expect it too soon.