This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld: Simple Linker Script Example


Barry Rountree <rountree@uga.edu> writes:

> Program Headers:
>   Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
>   PHDR           0x000034 0x00001034 0x00000000 0x00120 0x00120 R E 0x4

The program headers are not in a loadable segment, although I don't
think that should be a problem.  To get them into a loadable segment,
put *(.interp) before your .sandbox_* sections.

I can't see any other reason for this to fail.  As you say, it's
probably something obvious.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]