summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/avr/avrtest/start/start.S
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-04 20:33:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-04 20:33:50 +0000
commit212f7b0734f8b7f2cfdbe6ac7c4d7f2a4f7a3ff2 (patch)
treeea2a65d61042fbbd989bd69f64a6a64c06f5f777 /c/src/lib/libbsp/avr/avrtest/start/start.S
parent2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-212f7b0734f8b7f2cfdbe6ac7c4d7f2a4f7a3ff2.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/avr/avrtest/start/start.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/avr/avrtest/start/start.S b/c/src/lib/libbsp/avr/avrtest/start/start.S
index f2e1ee5e17..a455867692 100644
--- a/c/src/lib/libbsp/avr/avrtest/start/start.S
+++ b/c/src/lib/libbsp/avr/avrtest/start/start.S
@@ -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