ICU-2242 Assembly generation updates

X-SVN-Rev: 14669
This commit is contained in:
George Rhoten 2004-03-10 18:31:04 +00:00
parent e8d29efc2a
commit 6feaf2b228
3 changed files with 15 additions and 4 deletions

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-aix-va,v 1.31 2004/01/08 22:54:22 grhoten-oss Exp $
## $Id: mh-aix-va,v 1.32 2004/03/10 18:28:14 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -M $(DEFS) $(CPPFLAGS)
@ -57,6 +57,9 @@ SO_TARGET_VERSION_SUFFIX = $(SO_TARGET_VERSION_MAJOR)
LD_SONAME =
## The type of assembly needed when pkgdata is used for generating shared libraries.
GENCCODE_ASSEMBLY=-a xlc
## Shared object suffix
#SO= so
# without the -brtl option, the library names use .a. AIX is funny that way.

View file

@ -3,7 +3,7 @@
## Copyright (c) 2001-2003, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-cygwin,v 1.14 2004/02/27 22:54:23 grhoten-oss Exp $
## $Id: mh-cygwin,v 1.15 2004/03/10 18:31:04 grhoten-oss Exp $
## Commands to generate dependency files
GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
@ -94,7 +94,7 @@ BIR_DEPS=
LDLIBRARYPATH_ENVVAR = PATH
# The type of assembly to write for generating an object file
GENCCODE_ASSEMBLY=-a gcc
GENCCODE_ASSEMBLY=-a gcc-cygwin
## End Cygwin-specific setup

View file

@ -158,9 +158,17 @@ static const struct AssemblyType {
".long "
},
{"gcc-cygwin",
".globl _%s\n"
"\t.section .rodata\n"
"\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
"_%s:\n\n",
".long "
},
{"sun",
"\t.section \".rodata\"\n"
"\t.align 16\n"
"\t.align 8\n"
".globl %s\n"
"%s:\n",