summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-11-11 22:35:42 +0000
committerdim <dim@FreeBSD.org>2010-11-11 22:35:42 +0000
commit52f3eed068eb349cd429547f6c1a868b947d82df (patch)
tree8595e529997dc5597a92f2e3ac7851878919d378 /lib
parent3552cb3e1f59acfc486923d25eaa472564e77158 (diff)
downloadFreeBSD-src-52f3eed068eb349cd429547f6c1a868b947d82df.zip
FreeBSD-src-52f3eed068eb349cd429547f6c1a868b947d82df.tar.gz
Make sure to specify the alignment of minbrk and curbrk. They were correctly
aligned by accident with earlier binutils, but no longer are, causing link failures. Submitted by: nwhitehorn Obtained from: projects/binutils-2.17
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/powerpc64/sys/brk.S1
-rw-r--r--lib/libc/powerpc64/sys/sbrk.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/powerpc64/sys/brk.S b/lib/libc/powerpc64/sys/brk.S
index 5450a87..59b891c 100644
--- a/lib/libc/powerpc64/sys/brk.S
+++ b/lib/libc/powerpc64/sys/brk.S
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
.globl CNAME(_end)
.data
+ .align 3
HIDENAME(minbrk):
.llong CNAME(_end)
diff --git a/lib/libc/powerpc64/sys/sbrk.S b/lib/libc/powerpc64/sys/sbrk.S
index d11b177..a7a9c77 100644
--- a/lib/libc/powerpc64/sys/sbrk.S
+++ b/lib/libc/powerpc64/sys/sbrk.S
@@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
.globl CNAME(_end)
.data
+ .align 3
HIDENAME(curbrk):
.llong CNAME(_end)
OpenPOWER on IntegriCloud