ICU-5799 Change HP-UX IA64 to use genccode assembly generation.

X-SVN-Rev: 22357
This commit is contained in:
George Rhoten 2007-08-12 03:41:19 +00:00
parent 116a585ab3
commit 07a0475c66
4 changed files with 20 additions and 3 deletions

View File

@ -60,7 +60,7 @@ LD_SONAME = -Wl,+h,$(notdir $(MIDDLE_SO_TARGET))
## The type of assembly needed when pkgdata is used for generating shared libraries.
# Commented out for now because the hp1 test machine runs out of memory.
#GENCCODE_ASSEMBLY=-a aCC
#GENCCODE_ASSEMBLY=-a aCC-parisc
## Shared object suffix
SO= sl

View File

@ -4540,6 +4540,9 @@ i*86-*-solaris*)
sparc-*-solaris*)
GENCCODE_ASSEMBLY="-a sun"
;;
ia64-*-hpux*)
GENCCODE_ASSEMBLY="-a aCC-ia64"
;;
esac
@ -8329,7 +8332,7 @@ then
CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)"
fi
ac_config_files="$ac_config_files icudefs.mk Makefile data/icupkg.inc config/Makefile.inc data/Makefile stubdata/Makefile common/Makefile i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/scrptrun/Makefile tools/Makefile tools/ctestfw/Makefile tools/toolutil/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genuca/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/genctd/Makefile tools/gennames/Makefile tools/gentest/Makefile tools/gennorm/Makefile tools/genprops/Makefile tools/gencase/Makefile tools/genbidi/Makefile tools/genpname/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icupkg/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/tzcode/Makefile test/Makefile test/compat/Makefile test/testdata/Makefile test/testdata/pkgdata.inc test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/letest/Makefile test/perf/charperf/Makefile test/perf/collperf/Makefile test/perf/convperf/Makefile test/perf/normperf/Makefile test/perf/ubrkperf/Makefile test/perf/unisetperf/Makefile test/perf/usetperf/Makefile test/perf/utfperf/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/csdet/Makefile samples/layout/Makefile common/unicode/platform.h"
ac_config_files="$ac_config_files icudefs.mk Makefile data/icupkg.inc config/Makefile.inc data/Makefile stubdata/Makefile common/Makefile i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/scrptrun/Makefile tools/Makefile tools/ctestfw/Makefile tools/toolutil/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genuca/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/genctd/Makefile tools/gennames/Makefile tools/gentest/Makefile tools/gennorm/Makefile tools/genprops/Makefile tools/gencase/Makefile tools/genbidi/Makefile tools/genpname/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icupkg/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/tzcode/Makefile test/Makefile test/compat/Makefile test/testdata/Makefile test/testdata/pkgdata.inc test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/letest/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/csdet/Makefile samples/layout/Makefile common/unicode/platform.h"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure

View File

@ -413,6 +413,9 @@ i*86-*-solaris*)
sparc-*-solaris*)
GENCCODE_ASSEMBLY="-a sun"
;;
ia64-*-hpux*)
GENCCODE_ASSEMBLY="-a aCC-ia64"
;;
esac
AC_SUBST(GENCCODE_ASSEMBLY)

View File

@ -204,7 +204,18 @@ static const struct AssemblyType {
".long "
},
{"aCC",
{"aCC-ia64",
"\t.file \"%s.s\"\n"
"\t.type %s,@object\n"
"\t.global %s\n"
"\t.secalias .abe$0.rodata, \".rodata\"\n"
"\t.section .abe$0.rodata = \"a\", \"progbits\"\n"
"\t.align 16\n"
"%s::\t",
"data4 "
},
{"aCC-parisc",
"\t.SPACE $TEXT$\n"
"\t.SUBSPA $LIT$\n"
"%s\n"