ld: Simple Linker Script Example

Ian Lance Taylor ian@wasabisystems.com
Fri Nov 7 04:20:00 GMT 2003


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



More information about the Binutils mailing list