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

Updates #3520.
This commit is contained in:
Joel Sherrill committed 2017-11-29 13:18:09 -06:00
1 parent e9eb1a6dc8
commit 169d86f3b1
3 files changed
+8 -26

No files matched your search

+4 -6
View File
@@ -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 -6
View File
@@ -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}}