* [musl] [PATCH] aarch64: drop crt(i|n).s since NO_LEGACY_INITFINI
@ 2026-01-27 6:07 Bill Roberts
0 siblings, 0 replies; only message in thread
From: Bill Roberts @ 2026-01-27 6:07 UTC (permalink / raw)
To: musl; +Cc: dalias, dalias, Bill Roberts
These stubs define legacy .init/.fini sections that are not used when
NO_LEGACY_INITFINI is set. Initialization and finalization are handled
exclusively via .init_array/.fini_array on these targets.
Signed-off-by: Bill Roberts <bill.roberts@arm.com>
---
crt/aarch64/crti.s | 15 ---------------
crt/aarch64/crtn.s | 7 -------
2 files changed, 22 deletions(-)
delete mode 100644 crt/aarch64/crti.s
delete mode 100644 crt/aarch64/crtn.s
diff --git a/crt/aarch64/crti.s b/crt/aarch64/crti.s
deleted file mode 100644
index 3776fa64..00000000
--- a/crt/aarch64/crti.s
+++ /dev/null
@@ -1,15 +0,0 @@
-.section .init
-.global _init
-.type _init,%function
-.align 2
-_init:
- stp x29,x30,[sp,-16]!
- mov x29,sp
-
-.section .fini
-.global _fini
-.type _fini,%function
-.align 2
-_fini:
- stp x29,x30,[sp,-16]!
- mov x29,sp
diff --git a/crt/aarch64/crtn.s b/crt/aarch64/crtn.s
deleted file mode 100644
index 73cab692..00000000
--- a/crt/aarch64/crtn.s
+++ /dev/null
@@ -1,7 +0,0 @@
-.section .init
- ldp x29,x30,[sp],#16
- ret
-
-.section .fini
- ldp x29,x30,[sp],#16
- ret
--
2.51.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-28 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 6:07 [musl] [PATCH] aarch64: drop crt(i|n).s since NO_LEGACY_INITFINI Bill Roberts
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).