This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Fix the CFI assembler test for ARM


configure.in has a hardcoded @function, but @ is a comment character on
ARM.  %function works on all platforms (with gas, anyway), so use that
instead.  This lets glibc detect that these ops do work on ARM.

Tested on arm-linux.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>

	* configure.in: Use %function instead of @function.
	* configure: Regenerated.

Index: glibc/configure
===================================================================
--- glibc.orig/configure	2005-03-18 17:10:08.133730936 -0500
+++ glibc/configure	2005-03-18 17:10:34.764675959 -0500
@@ -6052,7 +6052,7 @@ if test "${libc_cv_asm_cfi_directives+se
 else
   cat > conftest.s <<EOF
         .text
-        .type   func,@function
+        .type   func,%function
 func:
         .cfi_startproc
 	.cfi_remember_state
Index: glibc/configure.in
===================================================================
--- glibc.orig/configure.in	2005-03-18 17:10:08.167723208 -0500
+++ glibc/configure.in	2005-03-18 17:10:34.765675731 -0500
@@ -1632,7 +1632,7 @@ fi
 AC_CACHE_CHECK(whether CFI directives are supported, libc_cv_asm_cfi_directives, [dnl
 cat > conftest.s <<EOF
         .text
-        .type   func,@function
+        .type   func,%function
 func:
         .cfi_startproc
 	.cfi_remember_state


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