This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Not enough room for program headers
- From: "Will Newton" <will dot newton at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Mon, 4 Jun 2007 13:20:31 +0100
- Subject: Not enough room for program headers
Hi all,
I'm getting the error "Not enough room for program headers" when I try
and link certain code with binutils 2.17 (targetted at a chip that isn't
yet in the mainline tree). I'm in the process of moving from 2.16.1 to
2.17.
For example:
Section to Segment mapping:
Segment Sections...
00: LOAD: .hash .dynsym .dynstr .rela.data .rela.got
.rela.plt .init
01: LOAD: .plt .text .fini .rodata
02: LOAD: .ctors .dtors .dynamic .data .got
03: DYNAMIC: .dynamic
Looking at the code for get_program_header_size() it looks like it will
return 3, one segment for text, one for data and one for .dynamic.
Segments 00 and 01 seem to contain read-only text/data, segment 02 seems
to contain data and segment 03 .dynamic. I'm not sure why there is the
disitinction between segments 00 and 01. Could anyone help me to
understand this?
Thanks,
-
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm
-