Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
	(DL_SYSINFO_IMPLEMENTATION): Use CFI opcodes.
	* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
	(DL_SYSINFO_IMPLEMENTATION): Likewise.
  • Loading branch information
Ulrich Drepper committed Jun 16, 2003
1 parent 7a11479 commit 452aea8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 31 deletions.
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2003-06-15 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Use CFI opcodes.
* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Likewise.

* pthreadP.h (LIBC_CANCEL_ASYNC): Also define for librt.
(LIBC_CANCEL_RESET): Likewise.
Declare __librt_enable_asynccancel and __librt_disable_asynccancel.
Expand Down
35 changes: 4 additions & 31 deletions nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,41 +51,14 @@ extern void _dl_sysinfo_int80 (void) attribute_hidden;
# define DL_SYSINFO_IMPLEMENTATION \
asm (".text\n\t" \
".type _dl_sysinfo_int80,@function\n\t" \
".hidden _dl_sysinfo_int80\n" \
".hidden _dl_sysinfo_int80\n\t" \
CFI_STARTPROC "\n" \
"_dl_sysinfo_int80:\n\t" \
"int $0x80;\n\t" \
"ret;\n\t" \
".LEND_dl_sysinfo_int80\n\t" \
CFI_ENDPROC "\n" \
".size _dl_sysinfo_int80,.-_dl_sysinfo_int80\n\t" \
".previous;\n\t" \
".section .eh_frame,\"a\",@progbits\n" \
".LSTARTFRAMEDLSI:\n\t" \
".long .LENDCIEDLSI-.LSTARTCIEDLSI\n" \
".LSTARTCIEDLSI:\n\t" \
".long 0\n\t" /* CIE ID */ \
".byte 1\n\t" /* Version number */ \
".string \"zR\"\n\t" /* NUL-terminated augmentation string */ \
".uleb128 1\n\t" /* Code alignment factor */ \
".sleb128 -4\n\t" /* Data alignment factor */ \
".byte 8\n\t" /* Return address register column */ \
".uleb128 1\n\t" /* Augmentation value length */ \
".byte 0x1b\n\t" /* DW_EH_PE_pcrel|DW_EH_PE_sdata4. */ \
".byte 0x0c\n\t" /* DW_CFA_def_cfa */ \
".uleb128 4\n\t" \
".uleb128 4\n\t" \
".byte 0x88\n\t" /* DW_CFA_offset, column 0x8 */ \
".uleb128 1\n\t" \
".align 4\n" \
".LENDCIEDLSI:\n\t" \
".long .LENDFDEDLSI-.LSTARTFDEDLSI\n" /* Length FDE */ \
".LSTARTFDEDLSI:\n\t" \
".long .LSTARTFDEDLSI-.LSTARTFRAMEDLSI\n\t" /* CIE pointer */ \
".long _dl_sysinfo_int80-.\n\t" /* PC-relative start address */ \
".long .LEND_dl_sysinfo_int80-_dl_sysinfo_int80\n\t" \
".uleb128 0\n\t" \
".align 4\n" \
".LENDFDEDLSI:\n\t" \
".previous");
".previous;");
#endif

#endif /* dl-sysdep.h */
2 changes: 2 additions & 0 deletions nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ extern void _dl_sysinfo_int80 (void) attribute_hidden;
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" \
CFI_ENDPROC "\n" \
".size _dl_sysinfo_int80,.-_dl_sysinfo_int80\n\t" \
".previous");
#endif
Expand Down

0 comments on commit 452aea8

Please sign in to comment.