forked from Imagelibrary/rtems
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_specs, start/start.S: Move -e start from *link to *startfile to avoid warning for undefined entry symbol when linking relocatables with binutils 2.19. Also rename entry from _init to _start to avoid conflict with C++ constructor method name on other architectures.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* bsp_specs, start/start.S: Move -e start from *link to *startfile to
|
||||
avoid warning for undefined entry symbol when linking relocatables
|
||||
with binutils 2.19. Also rename entry from _init to _start to avoid
|
||||
conflict with C++ constructor method name on other architectures.
|
||||
|
||||
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s -e __start}}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} \
|
||||
%{!nostdlib: %{qrtems:}}
|
||||
|
||||
*link:
|
||||
%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
|
||||
%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
.func __vectors
|
||||
__vectors:
|
||||
__reset:
|
||||
jmp __init
|
||||
jmp __start
|
||||
.endfunc
|
||||
|
||||
.section .init0,"ax",@progbits
|
||||
.weak __init
|
||||
; .func __init
|
||||
__init:
|
||||
.weak __start
|
||||
; .func __start
|
||||
__start:
|
||||
|
||||
.section .init2,"ax",@progbits
|
||||
clr r1
|
||||
|
||||
Reference in New Issue
Block a user