diff options
author | thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-27 13:38:51 +0000 |
---|---|---|
committer | thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-27 13:38:51 +0000 |
commit | ae22ef600294a0ac1ee90f10ca7354804b53a3ad (patch) | |
tree | 2cbd570dc845cbf96ebe1ce7fae27a78dae759cc /libgcc | |
parent | 3e520b97259f11293b7e3eba94794a2ddd42739b (diff) | |
download | gcc-ae22ef600294a0ac1ee90f10ca7354804b53a3ad.tar.gz |
2014-11-27 Tony Wang <tony.wang@arm.com>
libgcc/
* config/arm/lib1funcs.S (FUNC_START): Add conditional section
redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
(SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/arm/lib1funcs.S | 26 |
2 files changed, 28 insertions, 4 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a61e5fc6feb..ea3fdc87845 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2014-11-27 Tony Wang <tony.wang@arm.com> + + * config/arm/lib1funcs.S (FUNC_START): Add conditional section + redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3. + (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols. + 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org> * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon. diff --git a/libgcc/config/arm/lib1funcs.S b/libgcc/config/arm/lib1funcs.S index b617137e263..0f871117d0f 100644 --- a/libgcc/config/arm/lib1funcs.S +++ b/libgcc/config/arm/lib1funcs.S @@ -418,8 +418,12 @@ SYM (\name): #define THUMB_SYNTAX #endif -.macro FUNC_START name +.macro FUNC_START name sp_section= + .ifc \sp_section, function_section + .section .text.__\name,"ax",%progbits + .else .text + .endif .globl SYM (__\name) TYPE (__\name) .align 0 @@ -429,14 +433,24 @@ SYM (\name): SYM (__\name): .endm +.macro ARM_SYM_START name + TYPE (\name) + .align 0 +SYM (\name): +.endm + +.macro SYM_END name + SIZE (\name) +.endm + /* Special function that will always be coded in ARM assembly, even if in Thumb-only compilation. */ #if defined(__thumb2__) /* For Thumb-2 we build everything in thumb mode. */ -.macro ARM_FUNC_START name - FUNC_START \name +.macro ARM_FUNC_START name sp_section= + FUNC_START \name \sp_section .syntax unified .endm #define EQUIV .thumb_set @@ -467,8 +481,12 @@ _L__\name: #ifdef __ARM_ARCH_6M__ #define EQUIV .thumb_set #else -.macro ARM_FUNC_START name +.macro ARM_FUNC_START name sp_section= + .ifc \sp_section, function_section + .section .text.__\name,"ax",%progbits + .else .text + .endif .globl SYM (__\name) TYPE (__\name) .align 0 |