diff options
author | kristerw <kristerw> | 2006-08-24 20:18:04 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2006-08-24 20:18:04 +0000 |
commit | 51be5a4abcb691101049d0dcb0a4541312d12cf9 (patch) | |
tree | 8cac7b513eee30efc221aca280a07a7fcabe060c /cross/bfd-mdsetimage | |
parent | 046b8acd27e7b2a5e140b48442a283f44d92a1db (diff) | |
download | pkgsrc-51be5a4abcb691101049d0dcb0a4541312d12cf9.tar.gz |
Make this build with cross/binutils 2.17.0.0, and bump PKGREVISION for
ABI change in the new binutils.
Diffstat (limited to 'cross/bfd-mdsetimage')
-rw-r--r-- | cross/bfd-mdsetimage/Makefile | 3 | ||||
-rw-r--r-- | cross/bfd-mdsetimage/files/mdsetimage.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/cross/bfd-mdsetimage/Makefile b/cross/bfd-mdsetimage/Makefile index 017690b7379..afe2a68428d 100644 --- a/cross/bfd-mdsetimage/Makefile +++ b/cross/bfd-mdsetimage/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2005/12/05 20:49:56 rillig Exp $ +# $NetBSD: Makefile,v 1.18 2006/08/24 20:18:04 kristerw Exp $ DISTNAME= bfd-mdsetimage-1.15.1 +PKGREVISION= 1 CATEGORIES= cross MASTER_SITES= # empty DISTFILES= # empty diff --git a/cross/bfd-mdsetimage/files/mdsetimage.c b/cross/bfd-mdsetimage/files/mdsetimage.c index 6e4ac72fc3f..80363e2a1c0 100644 --- a/cross/bfd-mdsetimage/files/mdsetimage.c +++ b/cross/bfd-mdsetimage/files/mdsetimage.c @@ -1,4 +1,4 @@ -/* $NetBSD: mdsetimage.c,v 1.4 2004/09/09 01:33:10 wiz Exp $ */ +/* $NetBSD: mdsetimage.c,v 1.5 2006/08/24 20:18:04 kristerw Exp $ */ /* from: NetBSD: mdsetimage.c,v 1.15 2001/03/21 23:46:48 cgd Exp $ */ /* @@ -38,7 +38,7 @@ __COPYRIGHT( #endif /* not lint */ #ifndef lint -__RCSID("$NetBSD: mdsetimage.c,v 1.4 2004/09/09 01:33:10 wiz Exp $"); +__RCSID("$NetBSD: mdsetimage.c,v 1.5 2006/08/24 20:18:04 kristerw Exp $"); #endif /* not lint */ #include <sys/types.h> @@ -243,7 +243,7 @@ find_md_root(abfd, symbols) return (1); for (p = abfd->sections; p != NULL; p = p->next) { - if (p->vma > s->vma || p->vma + p->_raw_size < s->vma) + if (p->vma > s->vma || p->vma + p->rawsize < s->vma) continue; s->offset = (size_t)(p->filepos + (s->vma - p->vma)); |