From 9ac7a860d1db4e607c9cb86e70524c17fe0bc087 Mon Sep 17 00:00:00 2001 From: "homeip.net!davidm" Date: Fri, 20 Aug 2004 11:23:15 +0000 Subject: [PATCH] (parse_cie): Clarify the comment about the default FDE-encoding a bit. (Logical change 1.253) --- src/dwarf/Gfde.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/dwarf/Gfde.c b/src/dwarf/Gfde.c index 9adcdd53..4cc5720d 100644 --- a/src/dwarf/Gfde.c +++ b/src/dwarf/Gfde.c @@ -47,9 +47,11 @@ parse_cie (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, # define STR2(x) #x # define STR(x) STR2(x) - /* Pick appropriate default for FDE-encoding. DWARF spec says it - has to be the size of the addressing unit of the architecture, - unless specfied otherwise in the augmentation string. */ + /* Pick appropriate default for FDE-encoding. DWARF spec says + start-IP (initial_location) and the code-size (address_range) are + "address-unit sized constants". The `R' augmentation can be used + to override this, but by default, we pick an address-sized unit + for fde_encoding. */ switch (sizeof (unw_word_t)) { case 4: fde_encoding = DW_EH_PE_udata4; break;