armv7-m: Expose section name to allow relocation

This commit is contained in:
Peter van der Perk
2024-01-04 10:35:30 +01:00
committed by Petro Karashchenko
parent 3e4bc9bcef
commit 40f4cde8f5
8 changed files with 10 additions and 0 deletions
@@ -136,6 +136,7 @@
*/
.text
.section .text.memchr
.thumb_func
.align 4
.p2align 4,,15
@@ -94,6 +94,7 @@
.syntax unified
.text
.section .text.memcpy
.align 2
.global memcpy
.thumb
@@ -35,6 +35,8 @@
.thumb
.syntax unified
.text
.section .text.memmove
.global memmove
.type memmove, %function
memmove:
@@ -35,6 +35,8 @@
.thumb
.syntax unified
.text
.section .text.memset
.global memset
.type memset, %function
memset:
@@ -72,6 +72,7 @@
.macro def_fn f p2align=0
.text
.section .text.strcmp
.p2align \p2align
.global \f
.type \f, %function
@@ -58,6 +58,7 @@
.syntax unified
.text
.section .text.strcpy
.align 2
.global strcpy
.thumb
@@ -70,6 +70,7 @@
.macro def_fn f p2align=0
.text
.section .text.strlen
.p2align \p2align
.global \f
.type \f, %function