This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linker errors building a kernel
On Sun, Nov 11, 2001 at 11:09:20PM -0500, Daniel Jacobowitz wrote:
>
> Further investigation shows me that the references causing problems are
> from the .pdr section. The .pdr contains an entry for every function,
> including those in dodgy, later-deleted sections. I don't know what to
> do about them; the format of the .pdr is such that I could easily
> remove references, in the exact same code as my previous patch, I
> suppose. Is it sane to give BFD knowledge of the format?
I suppose. Since these pdr entries are mips specific, you'd want to put
the code dealing with them in elf32-mips.c