about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-19 20:15:36 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-19 20:15:36 +0000
commit58a7a3257fa0d46e1963c2143daeab6593f9102e (patch)
treef6da0a13ff96aff7b22414021e200539038ce239 /nptl
parent0b3df49e8d309149a9fbcd5837e650d3ef054017 (diff)
downloadglibc-58a7a3257fa0d46e1963c2143daeab6593f9102e.tar.gz
glibc-58a7a3257fa0d46e1963c2143daeab6593f9102e.tar.xz
glibc-58a7a3257fa0d46e1963c2143daeab6593f9102e.zip
Update.
	* configure.in: Add AC_PROG_CXX.
	* config.make.in (CXX): Define.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog3
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h29
2 files changed, 32 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index d7cd8faddb..e5302642b8 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,8 @@
 2003-04-19  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
+	(DL_SYSINFO_IMPLEMENTATION): Add .eh_frame information.
+
 	* sysdeps/unix/sysv/linux/unregister-atfork.c
 	(__unregister_atfork): Don't free memory not allocated dynamically.
 
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h b/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h
index 4c29c150f7..5d6d7fb9ff 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h
@@ -55,7 +55,36 @@ extern void _dl_sysinfo_int80 (void) attribute_hidden;
        "_dl_sysinfo_int80:\n\t"						      \
        "int $0x80;\n\t"							      \
        "ret;\n\t"							      \
+       ".LEND_dl_sysinfo_int80\n\t"					      \
        ".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");
 #endif