forked from Imagelibrary/rtems
sparc64/*/bsp_specs, shared/.../start.S: Use GCC init/fini, improve consistency
Updates #3520.
This commit is contained in:
@@ -4,12 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} \
|
||||
%{!nostdlib: %{qrtems: crtend.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s crtn.o%s}}
|
||||
|
||||
@@ -149,17 +149,3 @@ halted: nop
|
||||
.align CPU_ALIGNMENT
|
||||
param_space:
|
||||
.space 8
|
||||
|
||||
.section .fini
|
||||
.global _fini
|
||||
_fini:
|
||||
nop
|
||||
retl
|
||||
nop
|
||||
|
||||
.section .init
|
||||
.global _init
|
||||
_init:
|
||||
nop
|
||||
retl
|
||||
nop
|
||||
|
||||
@@ -4,12 +4,10 @@
|
||||
|
||||
*startfile:
|
||||
%{!qrtems: %(old_startfile)} \
|
||||
%{!nostdlib: %{qrtems: start.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} \
|
||||
%{!nostdlib: %{qrtems: crtend.o%s}}
|
||||
%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
|
||||
|
||||
*link:
|
||||
%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
||||
|
||||
*endfile:
|
||||
%{!qrtems: %(old_endfile)} %{!nostdlib: %{qrtems: crtend.o%s crtn.o%s}}
|
||||
|
||||
Reference in New Issue
Block a user