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

View file

@ -118,6 +118,7 @@
*/
.text
.section .text.exception_common
.thumb_func
.type exception_common, function
exception_common:

View file

@ -136,6 +136,7 @@
*/
.text
.section .text.memchr
.thumb_func
.align 4
.p2align 4,,15

View file

@ -94,6 +94,7 @@
.syntax unified
.text
.section .text.memcpy
.align 2
.global memcpy
.thumb

View file

@ -35,6 +35,8 @@
.thumb
.syntax unified
.text
.section .text.memmove
.global memmove
.type memmove, %function
memmove:

View file

@ -35,6 +35,8 @@
.thumb
.syntax unified
.text
.section .text.memset
.global memset
.type memset, %function
memset:

View file

@ -72,6 +72,7 @@
.macro def_fn f p2align=0
.text
.section .text.strcmp
.p2align \p2align
.global \f
.type \f, %function

View file

@ -58,6 +58,7 @@
.syntax unified
.text
.section .text.strcpy
.align 2
.global strcpy
.thumb

View file

@ -70,6 +70,7 @@
.macro def_fn f p2align=0
.text
.section .text.strlen
.p2align \p2align
.global \f
.type \f, %function