This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Adding CFI statements to ARM's assembly code: _dl_runtime_resolve, _dl_runtime_profile


Hello!

On 2009-12-31 16:57, Joseph S. Myers wrote:
> Please let me know if your list of files still needing updating is 
> different.

Here is an additional one: this patch restricts existing CFI statements
to .debug_frame.  There is no use for .eh_frame on ARM.


2010-01-11  Thomas Schwinge  <thomas@codesourcery.com>

	* sysdeps/arm/dl-trampoline.S (_dl_runtime_resolve)
	(_dl_runtime_profile) <CFI>: Only emit .debug_frame.

diff --git a/glibc-ports-mainline/sysdeps/arm/dl-trampoline.S b/glibc-ports-mainline/sysdeps/arm/dl-trampoline.S
index 0224fa1..de8d891 100644
--- a/glibc-ports-mainline/sysdeps/arm/dl-trampoline.S
+++ b/glibc-ports-mainline/sysdeps/arm/dl-trampoline.S
@@ -1,5 +1,5 @@
 /* PLT trampolines.  ARM version.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,6 +29,7 @@
 	.text
 	.globl _dl_runtime_resolve
 	.type _dl_runtime_resolve, #function
+	.cfi_sections .debug_frame
 	cfi_startproc
 	.align 2
 _dl_runtime_resolve:
@@ -77,6 +78,7 @@ _dl_runtime_resolve:
 #ifndef PROF
 	.globl _dl_runtime_profile
 	.type _dl_runtime_profile, #function
+	.cfi_sections .debug_frame
 	cfi_startproc
 	.align 2
 _dl_runtime_profile:


Regards,
 Thomas

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]