ld issues with phdr test

Andreas Jaeger aj@suse.de
Sun Apr 29 11:01:00 GMT 2001


"H . J . Lu" <hjl@lucon.org> writes:

> On Sun, Apr 29, 2001 at 12:14:19PM +0200, Andreas Jaeger wrote:
> > 
> > But I prefer to use 0x100000 in both files which this doesn't work
> > for me:-(.  Is this really the problem?  Is the constant used
> 
> Why doesn't 0x100000 work for you?

I still get this broken output - no change at all:

a.out:     file format elf64-x86-64

Program Header:
    PHDR off    0x0000000000000040 vaddr 0x0000000000000040 paddr 0x0000000000000040 align 2**3
         filesz 0x00000000000000a8 memsz 0x00000000000000a8 flags r--
    LOAD off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**20
         filesz 0x00000000000800ec memsz 0x00000000000800ec flags r-x
    LOAD off    0x00000000000800ec vaddr 0x00000000000800ec paddr 0x00000000000800ec align 2**20
         filesz 0x0000000000000004 memsz 0x0000000000000004 flags rw-


Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Binutils mailing list