about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-07-01 01:52:08 +0000
committerUlrich Drepper <drepper@redhat.com>2003-07-01 01:52:08 +0000
commita29f050908352360f63cf6c7546beaf1571316a9 (patch)
treedac4ce9f1f3ba937649182bfd7e78e051169c3c3 /sysdeps/generic
parent874f3a78b9c1bf900df95f40e367b065ff105429 (diff)
downloadglibc-a29f050908352360f63cf6c7546beaf1571316a9.tar.gz
glibc-a29f050908352360f63cf6c7546beaf1571316a9.tar.xz
glibc-a29f050908352360f63cf6c7546beaf1571316a9.zip
Define cfi_rel_offset and CFI_REL_OFFSET.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sysdep.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/sysdep.h b/sysdeps/generic/sysdep.h
index 687f5f46cd..9535c18eee 100644
--- a/sysdeps/generic/sysdep.h
+++ b/sysdeps/generic/sysdep.h
@@ -56,6 +56,7 @@
 #  define cfi_def_cfa_offset(off)	.cfi_def_cfa_offset off
 #  define cfi_adjust_cfa_offset(off)	.cfi_adjust_cfa_offset off
 #  define cfi_offset(reg, off)		.cfi_offset reg, off
+#  define cfi_rel_offset(reg, off)	.cfi_rel_offset reg, off
 #  define cfi_register(r1, r2)		.cfi_register r1, r2
 #  define cfi_return_column(reg)	.cfi_return_column reg
 #  define cfi_restore(reg)		.cfi_restore reg
@@ -70,6 +71,7 @@
 #  define cfi_def_cfa_offset(off)
 #  define cfi_adjust_cfa_offset(off)
 #  define cfi_offset(reg, off)
+#  define cfi_rel_offset(reg, off)
 #  define cfi_register(r1, r2)
 #  define cfi_return_column(reg)
 #  define cfi_restore(reg)
@@ -94,6 +96,8 @@
    ".cfi_adjust_cfa_offset " CFI_STRINGIFY(off)
 #  define CFI_OFFSET(reg, off) \
    ".cfi_offset " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
+#  define CFI_REL_OFFSET(reg, off) \
+   ".cfi_rel_offset " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
 #  define CFI_REGISTER(r1, r2) \
    ".cfi_register " CFI_STRINGIFY(r1) "," CFI_STRINGIFY(r2)
 #  define CFI_RETURN_COLUMN(reg) \
@@ -114,6 +118,7 @@
 #  define CFI_DEF_CFA_OFFSET(off)
 #  define CFI_ADJUST_CFA_OFFSET(off)
 #  define CFI_OFFSET(reg, off)
+#  define CFI_REL_OFFSET(reg, off)
 #  define CFI_REGISTER(r1, r2)
 #  define CFI_RETURN_COLUMN(reg)
 #  define CFI_RESTORE(reg)
@@ -123,4 +128,3 @@
 # endif
 
 #endif /* __ASSEMBLER__ */
-