mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-5539 changes for genccode to use assembly to build data files on SolarisX86.
X-SVN-Rev: 20758
This commit is contained in:
parent
fcb6fa3e01
commit
04e071bd39
3 changed files with 25 additions and 2 deletions
8
icu4c/source/configure
vendored
8
icu4c/source/configure
vendored
|
@ -4400,10 +4400,16 @@ fi
|
|||
|
||||
GENCCODE_ASSEMBLY=
|
||||
case "${host}" in
|
||||
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*|i*86-*-solaris*)
|
||||
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*)
|
||||
if test "$GCC" = yes; then
|
||||
GENCCODE_ASSEMBLY="-a gcc"
|
||||
fi ;;
|
||||
i*86-*-solaris*)
|
||||
if test "$GCC" = yes; then
|
||||
GENCCODE_ASSEMBLY="-a gcc"
|
||||
else
|
||||
GENCCODE_ASSEMBLY="-a sun86"
|
||||
fi ;;
|
||||
sparc-*-solaris*)
|
||||
GENCCODE_ASSEMBLY="-a sun"
|
||||
;;
|
||||
|
|
|
@ -354,11 +354,18 @@ AC_SUBST(HAVE_MMAP)
|
|||
dnl Check to see if genccode can generate simple assembly.
|
||||
GENCCODE_ASSEMBLY=
|
||||
case "${host}" in
|
||||
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*|i*86-*-solaris*)
|
||||
i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*)
|
||||
if test "$GCC" = yes; then
|
||||
dnl We're using gcc, and the simple -a gcc command line works for genccode
|
||||
GENCCODE_ASSEMBLY="-a gcc"
|
||||
fi ;;
|
||||
i*86-*-solaris*)
|
||||
if test "$GCC" = yes; then
|
||||
dnl We're using gcc, and the simple -a gcc command line works for genccode
|
||||
GENCCODE_ASSEMBLY="-a gcc"
|
||||
else
|
||||
GENCCODE_ASSEMBLY="-a sun86"
|
||||
fi ;;
|
||||
sparc-*-solaris*)
|
||||
GENCCODE_ASSEMBLY="-a sun"
|
||||
;;
|
||||
|
|
|
@ -188,6 +188,16 @@ static const struct AssemblyType {
|
|||
|
||||
".word "
|
||||
},
|
||||
{"sun86",
|
||||
"Drodata.rodata:\n"
|
||||
"\t.type Drodata.rodata,@object\n"
|
||||
"\t.size Drodata.rodata,0\n"
|
||||
"\t.globl %s\n"
|
||||
"\t.align 8\n"
|
||||
"%s:\n",
|
||||
|
||||
".4byte "
|
||||
},
|
||||
{"xlc",
|
||||
".globl %s{RO}\n"
|
||||
"\t.toc\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue