summaryrefslogtreecommitdiff
path: root/libexec/ld.so/alpha
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2011-11-19 14:59:49 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2011-11-19 14:59:49 +0000
commit6320d2d8f2c06f6d6a676b12676605c069cebd26 (patch)
treea9675cedb622098fd0327c81b155d1a117017597 /libexec/ld.so/alpha
parent4669230618fa404774f3987081dc67daee437ef9 (diff)
Build ld.so on alpha with -mbuild-constants, so large integer
constants are constructed with several instructions rather than loaded from the data segment, avoiding relocations. This fixes ld.so with gcc4. From miod@, ok jsg@
Diffstat (limited to 'libexec/ld.so/alpha')
-rw-r--r--libexec/ld.so/alpha/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/alpha/Makefile.inc b/libexec/ld.so/alpha/Makefile.inc
index 375ba49a56e..15d563843ee 100644
--- a/libexec/ld.so/alpha/Makefile.inc
+++ b/libexec/ld.so/alpha/Makefile.inc
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile.inc,v 1.2 2006/09/26 23:14:52 martin Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2011/11/19 14:59:48 naddy Exp $
-CFLAGS += -fPIC -mno-fp-regs
+CFLAGS += -fPIC -mno-fp-regs -mbuild-constants
LIBCSRCDIR=${.CURDIR}/../../lib/libc
.include "${LIBCSRCDIR}/arch/alpha/Makefile.inc"