Changeset 212f7b0 in rtems


Ignore:
Timestamp:
Dec 4, 2008, 8:33:50 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
df393962
Parents:
087dd25
Message:

2008-12-04 Joel Sherrill <joel.sherrill@…>

  • 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.
Location:
c/src/lib/libbsp/avr/avrtest
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/avr/avrtest/ChangeLog

    r087dd25 r212f7b0  
     12008-12-04      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * bsp_specs, start/start.S: Move -e start from *link to *startfile to
     4        avoid warning for undefined entry symbol when linking relocatables
     5        with binutils 2.19. Also rename entry from _init to _start to avoid
     6        conflict with C++ constructor method name on other architectures.
     7
    182008-11-20      Joel Sherrill <joel.sherrill@oarcorp.com>
    29
  • c/src/lib/libbsp/avr/avrtest/bsp_specs

    r087dd25 r212f7b0  
    55*startfile:
    66%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems: start.o%s}}
     7%{!nostdlib: %{qrtems: start.o%s -e __start}}
    88
    99*endfile:
     
    1212
    1313*link:
    14 %(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
     14%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
    1515
  • c/src/lib/libbsp/avr/avrtest/start/start.S

    r087dd25 r212f7b0  
    2121__vectors:
    2222__reset:
    23         jmp     __init
     23        jmp     __start
    2424        .endfunc       
    2525
    2626        .section .init0,"ax",@progbits
    27         .weak   __init
    28 ;       .func   __init
    29 __init:
     27        .weak   __start
     28;       .func   __start
     29__start:
    3030       
    3131        .section .init2,"ax",@progbits
Note: See TracChangeset for help on using the changeset viewer.