summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authortsutsui <tsutsui>2001-01-24 11:18:18 +0000
committertsutsui <tsutsui>2001-01-24 11:18:18 +0000
commitaaa850e397ff2dcb7fc3fe9cab3b04e429ebf6fb (patch)
tree75447fc4520e10f2f02c225ccdc6035851accf21 /cross
parent0a516cce98751d58a806e2b9a8de7765e6e6acdb (diff)
downloadpkgsrc-aaa850e397ff2dcb7fc3fe9cab3b04e429ebf6fb.tar.gz
Bring ELF BSS alignment fix from main trunk:
gnusrc/gnu/dist/bfd/elf.c 1.2->1.3
Diffstat (limited to 'cross')
-rw-r--r--cross/binutils/files/patch-sum3
-rw-r--r--cross/binutils/patches/patch-an13
2 files changed, 15 insertions, 1 deletions
diff --git a/cross/binutils/files/patch-sum b/cross/binutils/files/patch-sum
index 6bcdbe417cf..7aae465e1a1 100644
--- a/cross/binutils/files/patch-sum
+++ b/cross/binutils/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.4 2001/01/06 06:44:30 tsutsui Exp $
+$NetBSD: patch-sum,v 1.5 2001/01/24 11:18:18 tsutsui Exp $
MD5 (patch-aa) = ada1c082c4558f36129d80481e6d259a
MD5 (patch-ab) = a5d51269ccf1c469d9df710427aadf04
@@ -9,6 +9,7 @@ MD5 (patch-aj) = 8b44272fa18007c17f70f551cdee8ad6
MD5 (patch-ak) = ad1a6595440ca966acd8aef98788a07b
MD5 (patch-al) = d9cd2d526fbf2361e49144c4c6cc0a10
MD5 (patch-am) = f50e32848bde85e1eb18d9b6169e75cc
+MD5 (patch-an) = 56ecff9a9865807044a82a7ccc8262ea
MD5 (patch-archive) = 82c7bbe7dd204fc269e11941f83b9035
MD5 (patch-arm32) = 6853eeb965aae339be0842cf75079673
MD5 (patch-arrays) = 963e8978c12ad5f94eaf77764ff022bb
diff --git a/cross/binutils/patches/patch-an b/cross/binutils/patches/patch-an
new file mode 100644
index 00000000000..0378de27b09
--- /dev/null
+++ b/cross/binutils/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1 2001/01/24 11:18:18 tsutsui Exp $
+
+--- ./bfd/elf.c.orig Sat May 2 00:48:08 1998
++++ ./bfd/elf.c Sun Jan 24 05:56:12 2001
+@@ -2611,7 +2611,7 @@
+ if ((abfd->flags & D_PAGED) != 0)
+ adjust = (sec->vma - voff) % bed->maxpagesize;
+ else
+- adjust = (sec->vma - voff) % align;
++ adjust = (sec->vma - (p->p_paddr + p->p_memsz)) % align;
+ }
+ else
+ adjust = 0;