]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text.
authorUlrich Drepper <drepper@redhat.com>
Tue, 2 Sep 2003 19:58:48 +0000 (19:58 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 2 Sep 2003 19:58:48 +0000 (19:58 +0000)
linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h

index ac19ac78a4b685e196d0b9823cdeaa0e8ff27a8a..5355310ccda3631e7022a2c4631e8ae54ef4db43 100644 (file)
@@ -1,5 +1,5 @@
 /* System-specific settings for dynamic linker code.  IA-32 version.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 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
 extern void _dl_sysinfo_int80 (void) attribute_hidden;
 # define DL_SYSINFO_DEFAULT (uintptr_t) _dl_sysinfo_int80
 # define DL_SYSINFO_IMPLEMENTATION \
-  asm (".type _dl_sysinfo_int80,@function\n\t"                               \
+  asm (".text\n\t"                                                           \
+       ".type _dl_sysinfo_int80,@function\n\t"                               \
        ".hidden _dl_sysinfo_int80\n"                                         \
+       CFI_STARTPROC "\n"                                                    \
        "_dl_sysinfo_int80:\n\t"                                                      \
        "int $0x80;\n\t"                                                              \
        "ret;\n\t"                                                            \
-       ".size _dl_sysinfo_int80,.-_dl_sysinfo_int80");
+       CFI_ENDPROC "\n"                                                              \
+       ".size _dl_sysinfo_int80,.-_dl_sysinfo_int80\n\t"                     \
+       ".previous");
 #endif
 
 #endif /* dl-sysdep.h */