mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
armv7-m: Expose section name to allow relocation
This commit is contained in:
committed by
Petro Karashchenko
parent
3e4bc9bcef
commit
40f4cde8f5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user