From: Ulrich Drepper Date: Tue, 2 Sep 2003 19:58:48 +0000 (+0000) Subject: (DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text. X-Git-Tag: upstream/2.20~11832 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6d43292b8aa35cfeb54a75c1d707289dea7cce7;p=platform%2Fupstream%2Flinaro-glibc.git (DL_SYSINFO_IMPLEMENTATION): Add CFI and make sure the code ends up in .text. --- diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h b/linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h index ac19ac7..5355310 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h +++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h @@ -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 @@ -49,12 +49,16 @@ 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 */