Changeset 169d86f3 in rtems


Ignore:
Timestamp:
Nov 28, 2017, 5:57:48 PM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
46503a26
Parents:
e9eb1a6
git-author:
Joel Sherrill <joel@…> (11/28/17 17:57:48)
git-committer:
Joel Sherrill <joel@…> (11/29/17 19:18:09)
Message:

sparc64/*/bsp_specs, shared/.../start.S: Use GCC init/fini, improve consistency

Updates #3520.

Location:
c/src/lib/libbsp/sparc64
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc64/niagara/bsp_specs

    re9eb1a6 r169d86f3  
    55*startfile:
    66%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems: start.o%s crtbegin.o%s -e _start}}
     7%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
     8
     9*link:
     10%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
    811
    912*endfile:
    10 %{!qrtems: %(old_endfile)} \
    11 %{!nostdlib: %{qrtems: crtend.o%s}}
    12 
    13 *link:
    14 %(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
    15 
     13%{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s crtn.o%s}}
  • c/src/lib/libbsp/sparc64/shared/start/start.S

    re9eb1a6 r169d86f3  
    150150  param_space:
    151151        .space 8
    152 
    153 .section .fini
    154   .global _fini
    155   _fini:
    156     nop
    157     retl
    158     nop
    159 
    160 .section .init
    161   .global _init
    162   _init:
    163     nop
    164     retl
    165     nop
  • c/src/lib/libbsp/sparc64/usiii/bsp_specs

    re9eb1a6 r169d86f3  
    55*startfile:
    66%{!qrtems: %(old_startfile)} \
    7 %{!nostdlib: %{qrtems: start.o%s crtbegin.o%s -e _start}}
     7%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
     8
     9*link:
     10%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
    811
    912*endfile:
    10 %{!qrtems: %(old_endfile)} \
    11 %{!nostdlib: %{qrtems: crtend.o%s}}
    12 
    13 *link:
    14 %(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
    15 
     13%{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s crtn.o%s}}
Note: See TracChangeset for help on using the changeset viewer.