[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334112: libc6: SIGSEGV in linear_search_fdes



Don't know if this will work. My mail server at NRC is down for the day due to building maintenance requiring a shutdown of electrical power. Thus, I
can't receive mail.

> Could you check for me why this failed:
>
>  if (hdr->fde_count_enc != DW_EH_PE_omit
>      && hdr->table_enc == (DW_EH_PE_datarel | DW_EH_PE_sdata4))

Both the fde_count_enc and table_enc fields are DW_EH_PE_omit.

> Do you have no search table, or is the encoding wrong?

There's no search table.  See the code at bfd/elf-eh-frame.c:730.

It looks as if hppa can't support tables because we need to use
DW_EH_PE_aligned for function pointers.  This requires runtime
relocation.  If it was just an issue of generating a pointer to the
function, I could probably use a pc-relative encoding.  However,
the value is used to actually call the function and we need a real
function pointer for that.

Dave




Reply to: