diff --git a/asm-cm7-r0p1.s b/asm-cm7-r0p1.s index a9ebf4a0..9a1c0e3e 100644 --- a/asm-cm7-r0p1.s +++ b/asm-cm7-r0p1.s @@ -11,6 +11,7 @@ __basepri_max_cm7_r0p1: bxne lr cpsie i bx lr + .size __basepri_max_cm7_r0p1, . - __basepri_max_cm7_r0p1 .section .text.__basepri_w_cm7_r0p1 .global __basepri_w_cm7_r0p1 @@ -25,3 +26,4 @@ __basepri_w_cm7_r0p1: bxne lr cpsie i bx lr + .size __basepri_w_cm7_r0p1, . - __basepri_w_cm7_r0p1 diff --git a/asm-v7.s b/asm-v7.s index c4c6dfb5..a98027cb 100644 --- a/asm-v7.s +++ b/asm-v7.s @@ -4,6 +4,7 @@ __basepri_max: msr BASEPRI_MAX, r0 bx lr + .size __basepri_max, . - __basepri_max .section .text.__basepri_r .global __basepri_r @@ -11,6 +12,7 @@ __basepri_max: __basepri_r: mrs r0, BASEPRI bx lr + .size __basepri_r, . - __basepri_r .section .text.__basepri_w .global __basepri_w @@ -18,6 +20,7 @@ __basepri_r: __basepri_w: msr BASEPRI, r0 bx lr + .size __basepri_w, . - __basepri_w .section .text.__faultmask .global __faultmask @@ -25,3 +28,4 @@ __basepri_w: __faultmask: mrs r0, FAULTMASK bx lr + .size __faultmask, . - __faultmask diff --git a/asm-v8-main.s b/asm-v8-main.s index a59845ce..2928b2a2 100644 --- a/asm-v8-main.s +++ b/asm-v8-main.s @@ -4,6 +4,7 @@ __msplim_r: mrs r0, MSPLIM bx lr + .size __msplim_r, . - __msplim_r .section .text.__msplim_w .global __msplim_w @@ -11,6 +12,7 @@ __msplim_r: __msplim_w: msr MSPLIM, r0 bx lr + .size __msplim_w, . - __msplim_w .section .text.__psplim_r .global __psplim_r @@ -18,6 +20,7 @@ __msplim_w: __psplim_r: mrs r0, PSPLIM bx lr + .size __psplim_r, . - __psplim_r .section .text.__psplim_w .global __psplim_w @@ -25,4 +28,5 @@ __psplim_r: __psplim_w: msr PSPLIM, r0 bx lr + .size __psplim_w, . - __psplim_w diff --git a/asm-v8.s b/asm-v8.s index b667bf0f..e1d62ffa 100644 --- a/asm-v8.s +++ b/asm-v8.s @@ -4,6 +4,7 @@ __tt: tt r0, r0 bx lr + .size __tt, . - __tt .section .text.__ttt .global __ttt @@ -11,6 +12,7 @@ __tt: __ttt: ttt r0, r0 bx lr + .size __ttt, . - __ttt .section .text.__tta .global __tta @@ -18,6 +20,8 @@ __ttt: __tta: tta r0, r0 bx lr + .size __tta, . - __tta + .section .text.__ttat .global __ttat @@ -25,3 +29,4 @@ __tta: __ttat: ttat r0, r0 bx lr + .size __ttat, . - __ttat diff --git a/asm.s b/asm.s index ed1ec3fe..1c3fb58d 100644 --- a/asm.s +++ b/asm.s @@ -4,6 +4,7 @@ __bkpt: bkpt bx lr + .size __bkpt, . - __bkpt .section .text.__control_r .global __control_r @@ -11,6 +12,7 @@ __bkpt: __control_r: mrs r0, CONTROL bx lr + .size __control_r, . - __control_r .section .text.__control_w .global __control_w @@ -18,6 +20,7 @@ __control_r: __control_w: msr CONTROL, r0 bx lr + .size __control_w, . - __control_w .section .text.__cpsid @@ -26,6 +29,7 @@ __control_w: __cpsid: cpsid i bx lr + .size __cpsid, . - __cpsid .section .text.__cpsie .global __cpsie @@ -33,6 +37,7 @@ __cpsid: __cpsie: cpsie i bx lr + .size __cpsie, . - __cpsie .section .text.__delay .global __delay @@ -44,6 +49,7 @@ __delay: subs r0, #1 bne 1b // Branch to 1 instead of __delay does not generate R_ARM_THM_JUMP8 relocation, which breaks linking on the thumbv6m-none-eabi target bx lr + .size __delay, . - __delay .section .text.__dmb .global __dmb @@ -51,6 +57,7 @@ __delay: __dmb: dmb 0xF bx lr + .size __dmb, . - __dmb .section .text.__dsb .global __dsb @@ -58,6 +65,7 @@ __dmb: __dsb: dsb 0xF bx lr + .size __dsb, . - __dsb .section .text.__isb .global __isb @@ -65,6 +73,7 @@ __dsb: __isb: isb 0xF bx lr + .size __isb, . - __isb .section .text.__msp_r .global __msp_r @@ -72,6 +81,7 @@ __isb: __msp_r: mrs r0, MSP bx lr + .size __msp_r, . - __msp_r .section .text.__msp_w .global __msp_w @@ -79,12 +89,14 @@ __msp_r: __msp_w: msr MSP, r0 bx lr + .size __msp_w, . - __msp_w .section .text.__nop .global __nop .thumb_func __nop: bx lr + .size __nop, . - __nop .section .text.__primask .global __primask @@ -92,6 +104,7 @@ __nop: __primask: mrs r0, PRIMASK bx lr + .size __primask, . - __primask .section .text.__psp_r .global __psp_r @@ -99,6 +112,7 @@ __primask: __psp_r: mrs r0, PSP bx lr + .size __psp_r, . - __psp_r .section .text.__psp_w .global __psp_w @@ -106,6 +120,7 @@ __psp_r: __psp_w: msr PSP, r0 bx lr + .size __psp_w, . - __psp_w .section .text.__sev .global __sev @@ -113,6 +128,7 @@ __psp_w: __sev: sev bx lr + .size __sev, . - __sev .section .text.__udf @@ -120,6 +136,7 @@ __sev: .thumb_func __udf: udf + .size __udf, . - __udf .section .text.__wfe .global __wfe @@ -127,10 +144,13 @@ __udf: __wfe: wfe bx lr + .size __wfe, . - __wfe + .section .text.__wfi .global __wfi .thumb_func __wfi: wfi + .size __wfi, . - __wfi bx lr diff --git a/bin/thumbv6m-none-eabi.a b/bin/thumbv6m-none-eabi.a index 29a5cd08..9dcc483c 100644 Binary files a/bin/thumbv6m-none-eabi.a and b/bin/thumbv6m-none-eabi.a differ diff --git a/bin/thumbv7em-none-eabi.a b/bin/thumbv7em-none-eabi.a index 035391af..fb3858b0 100644 Binary files a/bin/thumbv7em-none-eabi.a and b/bin/thumbv7em-none-eabi.a differ diff --git a/bin/thumbv7em-none-eabihf.a b/bin/thumbv7em-none-eabihf.a index 035391af..fb3858b0 100644 Binary files a/bin/thumbv7em-none-eabihf.a and b/bin/thumbv7em-none-eabihf.a differ diff --git a/bin/thumbv7m-none-eabi.a b/bin/thumbv7m-none-eabi.a index fbff647b..07855a9a 100644 Binary files a/bin/thumbv7m-none-eabi.a and b/bin/thumbv7m-none-eabi.a differ diff --git a/bin/thumbv8m.base-none-eabi.a b/bin/thumbv8m.base-none-eabi.a index 1deebaba..363a109d 100644 Binary files a/bin/thumbv8m.base-none-eabi.a and b/bin/thumbv8m.base-none-eabi.a differ diff --git a/bin/thumbv8m.main-none-eabi.a b/bin/thumbv8m.main-none-eabi.a index 3da2d830..001ebb25 100644 Binary files a/bin/thumbv8m.main-none-eabi.a and b/bin/thumbv8m.main-none-eabi.a differ diff --git a/bin/thumbv8m.main-none-eabihf.a b/bin/thumbv8m.main-none-eabihf.a index 3da2d830..001ebb25 100644 Binary files a/bin/thumbv8m.main-none-eabihf.a and b/bin/thumbv8m.main-none-eabihf.a differ