Not enough room for program headers

Will Newton will.newton@imgtec.com
Mon Jun 4 14:28:00 GMT 2007


Replying to myself,

> I'm getting the error "Not enough room for program headers" when I try

> and link certain code with binutils 2.17 (targeted 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.

It looks like I have fixed this. The problem was that I hadn't set the
flag:

#define elf_backend_plt_readonly                1

In my bfd port. map_sections_to_segments was then putting the PLT in a
new segment unnecessarily under certain circumstances.

Thanks for reading!
-
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm
-



More information about the Binutils mailing list