This is the mail archive of the
mailing list for the binutils project.
Re: [BUG] inconsistent behavior of ld -R
- From: Nick Clifton <nickc at redhat dot com>
- To: kristis dot makris at asu dot edu
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 27 Jan 2004 11:33:09 +0000
- Subject: Re: [BUG] inconsistent behavior of ld -R
- References: <email@example.com><firstname.lastname@example.org> <email@example.com>
> Thanks for your previous feedback. Unfortunately I've been able to
> reproduce this with ld 2.14.
> H. J. Lu: I'm sorry for not being able to provide a self-contained
Without a testcase it is going to be very hard for us to help you.
> I discovered this while trying to compile an alternate
> implementation of the schedule() function for Linux 2.4.21. You will
> need to have a /usr/src/linux-2.4.21 around with an already compiled
> vmlinux image, since that's the one I tried to use. Other 2.4.x kernels
> may work too.
Why can't you reduce this process to a small, self-contained test case
? What happens if you try to isolate and reduce the complexity of the
linker's command line ?
Your makefile is passing the contents of a file called "vmlinux" as
the argument to the -R switch. What is in this file ? In particular
what are the entries for "runqueue_head" and "aligned_data" ?