User defined sections

Daniël Mantione daniel@deadlock.et.tudelft.nl
Wed Oct 10 13:35:00 GMT 2001


On Wed, 10 Oct 2001, Richard Henderson wrote:

> On Wed, Oct 10, 2001 at 08:19:27PM +0200, Daniël Mantione wrote:
> >   [ 1] .custom       PROGBITS    00000000 001000 000014 00 WAX   0   0 1
> 
> The WAX bits look fine here, it's just that the linker mapped the
> section to address zero.  It is probably an orphan section placement
> problem.
> 
> Try the ld from binutils 2.11.2 instead of from 2.9.5 and see if
> the problem has been fixed since.

Erm. I placed it intentionally at address 0, see the linker script I
used. It also goes wrong if I place it at another location than 0.

Daniël Mantione



More information about the Binutils mailing list