This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
new warning with 2.19
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>, Ralf Corsepius <ralf dot corsepius at rtems dot org>
- Date: Wed, 3 Dec 2008 08:20:17 -0600
- Subject: new warning with 2.19
Hi,
When linking executables for a number of RTEMS
targets, we get a message like this which
did not appear with 2.18:
/opt/rtems-4.10/lib/gcc/powerpc-rtems4.10/4.3.2/../../../../powerpc-rtems4.10/bin/ld:
warning: cannot find entry symbol _start; defaulting to 00000000
We include -e _start on the ld command line.
The symbol _start is in an assembly file and
is indeed in the executable:
-bash-3.2$ grep _start `find . -name hello.num`
0000016c T _start
It is defined in an assembly file as this:
.globl _start
.type _start,@function
_start:
The file "start.o" is the first file linked.
The resulting executables do run.
Is there something wrong with the check that generates
this warning?
I have tried to produce a cutdown but so far have not
had any luck.
Suggestions appreciated. We are investigating updating
the binutils for the release branch of RTEMS and this
is a sticker.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985