--- zzzz-none-000/linux-2.6.19.2/kernel/unwind.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5504/linux-2.6.19.2/kernel/unwind.c 2007-01-19 14:42:56.000000000 +0000 @@ -351,8 +351,8 @@ return NULL; init_unwind_table(table, module->name, - module->module_core, module->core_size, - module->module_init, module->init_size, + module->module_core_rx, module->core_size_rx, + module->module_init_rx, module->init_size_rx, table_start, table_size, NULL, 0); @@ -938,11 +938,8 @@ else { retAddrReg = state.version <= 1 ? *ptr++ : get_uleb128(&ptr, end); /* skip augmentation */ - if (((const char *)(cie + 2))[1] == 'z') { - uleb128_t augSize = get_uleb128(&ptr, end); - - ptr += augSize; - } + if (((const char *)(cie + 2))[1] == 'z') + ptr += get_uleb128(&ptr, end); if (ptr > end || retAddrReg >= ARRAY_SIZE(reg_info) || REG_INVALID(retAddrReg) @@ -966,7 +963,9 @@ if (cie == NULL || fde == NULL) { #ifdef CONFIG_FRAME_POINTER unsigned long top, bottom; +#endif +#ifdef CONFIG_FRAME_POINTER top = STACK_TOP(frame->task); bottom = STACK_BOTTOM(frame->task); # if FRAME_RETADDR_OFFSET < 0