if TARGET_CPU_DEFAULT is TARGET_CPU_v9 or TARGET_CPU_ultrasparc, define

ASM_LONG to be ".xword".  this makes C++ global ctors and dtors work
on the sparc64.  noted by mycroft.
This commit is contained in:
mrg 2000-08-11 03:13:32 +00:00
parent e4eb846113
commit 239844c32c
1 changed files with 4 additions and 0 deletions

View File

@ -103,7 +103,11 @@ Boston, MA 02111-1307, USA. */
/* This is defined in sparc.h but is not used by svr4.h. */
#undef ASM_LONG
#if TARGET_CPU_DEFAULT == TARGET_CPU_v9 || TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc
#define ASM_LONG ".xword"
#else
#define ASM_LONG ".long"
#endif
/* This is the format used to print the second operand of a .type pseudo-op
for the Sparc/svr4 assembler. */