This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Non-SHF_ALLOC sections on Alpha very broken
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 23 Oct 2002 10:14:25 -0700
- Subject: Re: Non-SHF_ALLOC sections on Alpha very broken
- References: <20021023190606.E3451@sunsite.ms.mff.cuni.cz>
On Wed, Oct 23, 2002 at 07:06:06PM +0200, Jakub Jelinek wrote:
> I hope it is the NEED_DYNREL which should be changed, not relocate_section,
You want something like
case R_ALPHA_REFQUAD:
- if (info->shared || maybe_dynamic)
+ if ((info->shared && (sec->flags & SEC_LOAD)) || maybe_dynamic)
need = NEED_DYNREL;
? Yeah, I can go along with that.
r~