This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Undefined reference to __divsi3
- From: "Hiroyasu Shimizu" <h_shimizu at digiark dot co dot jp>
- To: "'Ravi Kumar B S'" <ravikbs at mindtree dot com>, "'Kishorekumar D'" <kishoreukus at yahoo dot com>, <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 26 Jul 2002 18:54:46 +0900
- Subject: RE: [ECOS] Undefined reference to __divsi3
Hi,
It is strange that ld complain about "__divsi3" instead of "_divsi3".
Because arm-elf-gcc uses no extra user label prefix while in
arm-coff-gcc
add extra "_" to user specified label.
H.Shimizu
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Ravi Kumar B
S
Sent: Friday, July 26, 2002 12:30 PM
To: Kishorekumar D; ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] Undefined reference to __divsi3
looks like it is division by 0 case.
/Ravi
-----Original Message-----
From: Kishorekumar D [mailto:kishoreukus@yahoo.com]
Sent: Friday, July 26, 2002 2:07 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Undefined reference to __divsi3
Hi all,
I am trying to link my program using arm-elf-ld and
I am getting the following error:
Undefined reference to '__divsi3'
I am linking my program with libgcc.a library which
does have the object file named '_divsi.o'. I am not
able to figure out what the problem might be.
If anyone has a clue of what might be the problem
please let me know. That would be of great help to me.
Thanks in advance.
Kishore.
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better http://health.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss