correct asm-syntax for powerpc. pointed by drahn, ok markus

This commit is contained in:
pvalchev 2001-08-09 16:48:35 +00:00
parent 9732a4c310
commit db891178f7

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-mpi_config_links,v 1.1 2001/08/09 16:48:35 pvalchev Exp $
--- mpi/config.links.orig Wed Aug 8 20:09:50 2001
+++ mpi/config.links Wed Aug 8 20:09:52 2001
@@ -206,6 +206,14 @@ case "${target}" in
path="powerpc32"
;;
+ powerpc*-*-openbsd*)
+ echo '/* configured OpenBSD on powerpc */' >>./mpi/asm-syntax.h
+ echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
+ cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h
+ mpi_sflags="-Wa,-mppc"
+ path="powerpc32"
+ ;;
+
rs6000-*-aix[456789]* | \
rs6000-*-aix3.2.[456789])
mpi_sflags="-Wa,-mpwr"