mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
ARM: Macroize use of .cfi_sections directive.
This commit is contained in:
parent
43301bd3c2
commit
f4564ff0b6
@ -1,3 +1,11 @@
|
|||||||
|
2013-02-27 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/arm/sysdep.h (CFI_SECTIONS): New macro.
|
||||||
|
(ENTRY): Use it.
|
||||||
|
* sysdeps/arm/dl-tlsdesc.S: Likewise.
|
||||||
|
* sysdeps/arm/dl-trampoline.S: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (PSEUDO): Likewise.
|
||||||
|
|
||||||
2013-02-18 Joseph Myers <joseph@codesourcery.com>
|
2013-02-18 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #14920]
|
[BZ #14920]
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
.text
|
.text
|
||||||
@ emit debug information with cfi
|
@ emit debug information with cfi
|
||||||
@ use arm-specific pseudos for unwinding itself
|
@ use arm-specific pseudos for unwinding itself
|
||||||
.cfi_sections .debug_frame
|
CFI_SECTIONS
|
||||||
.hidden _dl_tlsdesc_return
|
.hidden _dl_tlsdesc_return
|
||||||
.global _dl_tlsdesc_return
|
.global _dl_tlsdesc_return
|
||||||
.type _dl_tlsdesc_return,#function
|
.type _dl_tlsdesc_return,#function
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
.text
|
.text
|
||||||
.globl _dl_runtime_resolve
|
.globl _dl_runtime_resolve
|
||||||
.type _dl_runtime_resolve, #function
|
.type _dl_runtime_resolve, #function
|
||||||
.cfi_sections .debug_frame
|
CFI_SECTIONS
|
||||||
cfi_startproc
|
cfi_startproc
|
||||||
.align 2
|
.align 2
|
||||||
_dl_runtime_resolve:
|
_dl_runtime_resolve:
|
||||||
@ -77,7 +77,7 @@ _dl_runtime_resolve:
|
|||||||
#ifndef PROF
|
#ifndef PROF
|
||||||
.globl _dl_runtime_profile
|
.globl _dl_runtime_profile
|
||||||
.type _dl_runtime_profile, #function
|
.type _dl_runtime_profile, #function
|
||||||
.cfi_sections .debug_frame
|
CFI_SECTIONS
|
||||||
cfi_startproc
|
cfi_startproc
|
||||||
.align 2
|
.align 2
|
||||||
_dl_runtime_profile:
|
_dl_runtime_profile:
|
||||||
|
@ -63,10 +63,13 @@
|
|||||||
.type C_SYMBOL_NAME(name),%function; \
|
.type C_SYMBOL_NAME(name),%function; \
|
||||||
.align ALIGNARG(4); \
|
.align ALIGNARG(4); \
|
||||||
C_LABEL(name) \
|
C_LABEL(name) \
|
||||||
.cfi_sections .debug_frame; \
|
CFI_SECTIONS; \
|
||||||
cfi_startproc; \
|
cfi_startproc; \
|
||||||
CALL_MCOUNT
|
CALL_MCOUNT
|
||||||
|
|
||||||
|
#define CFI_SECTIONS \
|
||||||
|
.cfi_sections .debug_frame
|
||||||
|
|
||||||
#undef END
|
#undef END
|
||||||
#define END(name) \
|
#define END(name) \
|
||||||
cfi_endproc; \
|
cfi_endproc; \
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
.type __##syscall_name##_nocancel,%function; \
|
.type __##syscall_name##_nocancel,%function; \
|
||||||
.globl __##syscall_name##_nocancel; \
|
.globl __##syscall_name##_nocancel; \
|
||||||
__##syscall_name##_nocancel: \
|
__##syscall_name##_nocancel: \
|
||||||
.cfi_sections .debug_frame; \
|
CFI_SECTIONS; \
|
||||||
cfi_startproc; \
|
cfi_startproc; \
|
||||||
DO_CALL (syscall_name, args); \
|
DO_CALL (syscall_name, args); \
|
||||||
cmn r0, $4096; \
|
cmn r0, $4096; \
|
||||||
|
Loading…
Reference in New Issue
Block a user