[Top][All Lists]

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

[Bug gold/21585] New: Gold generates PHDR segment outside of LOAD segmen

From: hjl.tools at gmail dot com
Subject: [Bug gold/21585] New: Gold generates PHDR segment outside of LOAD segment
Date: Tue, 13 Jun 2017 20:36:04 +0000


            Bug ID: 21585
           Summary: Gold generates PHDR segment outside of LOAD segment
           Product: binutils
           Version: 2.29 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com
  Target Milestone: ---
            Target: x86-64

address@hidden testsuite]$ ../../binutils/readelf -l script_test_13

Elf file type is DYN (Shared object file)
Entry point 0x0
There are 7 program headers, starting at offset 64

Program Headers:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR           0x0000000000000040 0x0000000000000000 0x0000000000000000
                 0x0000000000000188 0x0000000000000188  R      0x8
readelf: Error: the PHDR segment is not covered by a LOAD segment
  LOAD           0x0000000000001000 0x0000000000000000 0x0000000000000000
                 0x0000000000000068 0x0000000000000068  R E    0x1000
  LOAD           0x0000000000001068 0x0000000000000068 0x0000000000000068
                 0x00000000000000e8 0x00000000000000e8  RW     0x1000
  LOAD           0x0000000000002000 0x0000000000010000 0x0000000000010000
                 0x0000000000000018 0x0000000000000018  R      0x1000
  LOAD           0x0000000000002018 0x0000000000010018 0x0000000000010018
                 0x0000000000000000 0x0000000000000000  RW     0x1000
  DYNAMIC        0x0000000000001070 0x0000000000000070 0x0000000000000070
                 0x00000000000000e0 0x00000000000000e0  RW     0x8
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     0x10

 Section to Segment mapping:
  Segment Sections...
   01     .text .dynsym .dynstr .hash 
   02     .data .data.rel .dynamic 
   03     .rela.dyn 
   04     .bss 
   05     .dynamic 
address@hidden testsuite]$

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]