Hi, there is now a pending patch for Linux kernels producing core files with the first page of the ELF file for the build-id note identification. So far BFD handled either p_filesz == 0 or p_filesz == p_memsz. Patch handles the case 0 < p_filesz < p_memsz (p_filesz == PAGE_SIZE for the build-id case). `0 < p_filesz < p_memsz' meaning was so far undefined for the ET_CORE files. Regards, Jan New build-id enhanced Linux kernels produce core files: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align NOTE 0x000660 0x0000000000000000 0x0000000000000000 0x000324 0x000000 0x0 LOAD 0x001000 0x0000000000400000 0x0000000000000000 0x001000 0x0b1000 R E 0x1000 ^^^^^^^^ ^^^^^^^^ LOAD 0x002000 0x00000000006b1000 0x0000000000000000 0x00a000 0x00a000 RW 0x1000 BFD-patched gdb `info files' 0x0000000000400000 - 0x0000000000401000 is load1 0x00000000006b1000 - 0x00000000006bb000 is load2 0x0000000000419f00 : push %r15 0x0000000000419f02 : push %r14 BROKEN: original gdb `info files' (it sees the code sections zeroed) 0x0000000000400000 - 0x0000000000401000 is load1a 0x0000000000401000 - 0x00000000004b1000 is load1b ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0x00000000006b1000 - 0x00000000006bb000 is load2 0x0000000000419f00 : add %al,(%rax) 0x0000000000419f02 : add %al,(%rax) (as 0x419f00 >= 0x401000) Legacy kernel core files: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align NOTE 0x000660 0x0000000000000000 0x0000000000000000 0x000324 0x000000 0x0 LOAD 0x001000 0x0000000000400000 0x0000000000000000 0x000000 0x0b1000 R E 0x1000 ^^^^^^^^ ^^^^^^^^ LOAD 0x001000 0x00000000006b1000 0x0000000000000000 0x00a000 0x00a000 RW 0x1000 original gdb `info files' 0x00000000006b1000 - 0x00000000006bb000 is load2 0x0000000000419f00 : push %r15 0x0000000000419f02 : push %r14