https://bugs.kde.org/show_bug.cgi?id=396476

--- Comment #2 from Paul Floyd <pjfl...@wanadoo.fr> ---
(In reply to Paul Floyd from comment #1)

> What I think that I need to do is add some dummy handler for zero-sized RW
> segments that just trigger the debuginfo loading.

I can reproduce the problem on FreeBSD. Using ld.lld I get

paulf> readelf -lW test

Elf file type is EXEC (Executable file)
Entry point 0x20128a
There are 4 program headers, starting at offset 64

Program Headers:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz
  Flg Align
  PHDR           0x000040 0x0000000000200040 0x0000000000200040 0x000118
0x000118 R   0x8
  LOAD           0x000000 0x0000000000200000 0x0000000000200000 0x0001d4
0x0001d4 R   0x1000
  LOAD           0x0001e0 0x00000000002011e0 0x00000000002011e0 0x0000da
0x0000da R E 0x1000
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000
0x000000 RW  0

 Section to Segment mapping:
  Segment Sections...
   00     
   01     .rodata .eh_frame 
   02     .text 
   03    

So this doesn't even have a zero sized RW segment.

That's even worse.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to