* Fix bug in symbol generation code for default.conf where we weren't prefixing
function names with the GSYM (like we should be) * Add support for PPC64/Linux in atomics This should go to the beta branch. This commit was SVN r6163.
Этот коммит содержится в:
родитель
87f1c85f2c
Коммит
35375f0653
@ -658,7 +658,7 @@ case "${host}" in
|
||||
OMPI_GCC_INLINE_ASSIGN='"or %0,[$]0,[$]0" : "=&r"(ret)'
|
||||
;;
|
||||
|
||||
powerpc-*)
|
||||
powerpc-*|powerpc64-*)
|
||||
OMPI_CHECK_POWERPC_REG
|
||||
if test "$ac_cv_sizeof_long" = "4" ; then
|
||||
ompi_cv_asm_arch="POWERPC32"
|
||||
|
@ -72,8 +72,9 @@ POWERPC32 aix-.csect .text[PR]-.globl-:-.-L--0-1-0-0 powerpc32-aix
|
||||
# compiler chain with the -mcpu=970 option.
|
||||
POWERPC32 default-.text-.globl-:-_-L--0-1-1-1 powerpc32-64-osx
|
||||
|
||||
# PowerPC / POWER 64bit machines. sizeof(void*) == 9.
|
||||
# PowerPC / POWER 64bit machines. sizeof(void*) == 8.
|
||||
POWERPC64 default-.text-.globl-:-_-L--0-1-1-1 powerpc64-osx
|
||||
POWERPC64 default-.text-.globl-:-.-.L-@-1-1-0-1 powerpc64-linux
|
||||
POWERPC64 aix-.csect .text[PR]-.globl-:-.-L--0-1-0-1 powerpc64-aix
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@ sub start_func($)
|
||||
|
||||
$ret = "\t$GLOBAL $GSYM$func_name\n";
|
||||
if (! $TYPE eq "") {
|
||||
$ret .= "\t.type $func_name, $TYPE" . "function\n";
|
||||
$ret .= "\t.type $GSYM$func_name, $TYPE" . "function\n";
|
||||
}
|
||||
$ret .= "$GSYM$func_name$SUFFIX\n";
|
||||
|
||||
@ -25,7 +25,7 @@ sub end_func($)
|
||||
my $ret = "";
|
||||
|
||||
if ($SIZE != 0) {
|
||||
$ret = "\t.size $func_name, .-$func_name\n";
|
||||
$ret = "\t.size $GSYM$func_name, .-$GSYM$func_name\n";
|
||||
}
|
||||
|
||||
return $ret;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user