diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-11-19 14:59:49 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-11-19 14:59:49 +0000 |
commit | 6320d2d8f2c06f6d6a676b12676605c069cebd26 (patch) | |
tree | a9675cedb622098fd0327c81b155d1a117017597 /libexec/ld.so/alpha | |
parent | 4669230618fa404774f3987081dc67daee437ef9 (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.inc | 4 |
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" |