This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: 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 15:28:07 +0100
- Subject: RE: Not enough room for program headers
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
-