OSDN Git Service

libc/x86_64: use ELF-compatible definitions for assembler
authorRoman I Khimov <khimov@altell.ru>
Tue, 27 Apr 2010 11:19:15 +0000 (15:19 +0400)
committerAustin Foxley <austinf@cetoncorp.com>
Tue, 27 Apr 2010 15:41:50 +0000 (08:41 -0700)
commit6b5c1209608589b4ac210c6ab46d034bd221a752
tree633463490b0bc2ef13981314e56bbcd0c3336dfd
parenta60ebd0f0790b2ce6bff161e0b3bdbca5e491a4b
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 <khimov@altell.ru>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
libc/sysdeps/linux/x86_64/sysdep.h