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

See the CrossGCC FAQ for lots more information.


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: Undetected duplicate symbols


Hello Khem,

On Fri, 3 Feb 2006, Khem Raj wrote:

Marius Groeger wrote:

Now, does anybody know why I don't get an error, or what linker option I might have to throw to get one?
Is your program linking with crt1.o ? I see that for other arches it defined _start in this file but for mips the name has two underscores. So essentially it is finding just one definition of _start which is your function but may be the entry point is __start

No, it's an embedded application without any startup code. We're really talking my _start vs. a linker script defined _start; the linker script symbol seems to win, and there is no error (or even a warning).


Marius

--
Marius Groeger <mgroeger@sysgo.com>
SYSGO AG                      Embedded and Real-Time Software
Voice: +49 6136 9948 0                  FAX: +49 6136 9948 10
www.sysgo.com | www.elinos.com | www.osek.de | www.pikeos.com


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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