Subject: Re: puc device in 1.4.1 -release
To: Charles M. Hannum <root@ihack.net>
From: Dan Winship <danw@MIT.EDU>
List: port-macppc
Date: 11/06/1999 11:13:26
Hm. Yeah, fixed on July 30 by matt, but never pulled up to the release
branch. oops.
Try applying this patch to src/gnu/dist/bfd/elf.c:
Index: elf.c
===================================================================
RCS file: /cvsroot/gnusrc/gnu/dist/bfd/elf.c,v
retrieving revision 1.1.1.2
retrieving revision 1.3
diff -c -r1.1.1.2 -r1.3
*** elf.c 1999/02/02 19:51:53 1.1.1.2
--- elf.c 1999/07/31 20:56:12 1.3
***************
*** 2611,2617 ****
if ((abfd->flags & D_PAGED) != 0)
adjust = (sec->vma - voff) % bed->maxpagesize;
else
! adjust = (sec->vma - voff) % align;
}
else
adjust = 0;
--- 2611,2617 ----
if ((abfd->flags & D_PAGED) != 0)
adjust = (sec->vma - voff) % bed->maxpagesize;
else
! adjust = (sec->vma - (p->p_paddr + p->p_memsz)) % align;
}
else
adjust = 0;
and then rebuild your toolchain.
-- Dan