From 6b5c1209608589b4ac210c6ab46d034bd221a752 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Tue, 27 Apr 2010 15:19:15 +0400 Subject: libc/x86_64: use ELF-compatible definitions for assembler Fixes open/read/write/close breakage with NPTL on x86_64 (due to missing '.type' declaration). Done this way because there are already ELF-style definitions in assemebler code for x86_64 and looks like HAVE_ELF is not defined and used this days. Or the other way around, it'd be a bit strange for x86_64 not to have ELF. Signed-off-by: Roman I Khimov Signed-off-by: Austin Foxley --- libc/sysdeps/linux/x86_64/sysdep.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/x86_64/sysdep.h b/libc/sysdeps/linux/x86_64/sysdep.h index 09bb9268b..4440d2be9 100644 --- a/libc/sysdeps/linux/x86_64/sysdep.h +++ b/libc/sysdeps/linux/x86_64/sysdep.h @@ -27,8 +27,6 @@ /* Syntactic details of assembler. */ -#ifdef HAVE_ELF - /* ELF uses byte-counts for .align, most others use log2 of count of bytes. */ #define ALIGNARG(log2) 1<