This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ld/ldlang.c: fatal error on architecture mismatch


On Fri, May 04, 2007 at 07:51:23AM -0400, Daniel Jacobowitz wrote:
> I'm worried about the warning that you get "if you use the default
> linker script, don't provide _start, and don't specify a different
> entry point _on the command line_".  Does that make more sense now?

Yep. Now I'm not worried any more. :-)

> We have a bunch of powerpc-eabi linker scripts.  If you specify one of
> them, you get a specific crt0.o (via STARTUP) and its corresponding
> ENTRY(_start).  But if you specify none of them, you get no _start and
> the default linker script.  That's not so good.  The result generally
> won't run and it generally means you forgot an option and didn't read
> the manual.

Ah. Our typical mix of Flash, RAM (on-chip & off-chip), memory-mapped
registers on special chips, etc, mean that a missing custom linker
script results in at least one fatal error, so it's as if we already
have the proposed improvement.

Many thanks for the great tools. (The v850 port is as nifty as the rest
of them. Thanks.)

Cheers,
Erik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]