new warning with 2.19
Joel Sherrill
joel.sherrill@oarcorp.com
Wed Dec 3 14:20:00 GMT 2008
More information about the Binutils mailing list
Wed Dec 3 14:20:00 GMT 2008
- Previous message (by thread): Can't set architecture to m32c on m32c-elf-gdb.
- Next message (by thread): new warning with 2.19
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Can't set architecture to m32c on m32c-elf-gdb.
- Next message (by thread): new warning with 2.19
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list