Non-SHF_ALLOC sections on Alpha very broken

Richard Henderson rth@redhat.com
Wed Oct 23 10:14:00 GMT 2002


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~



More information about the Binutils mailing list