From 40cf28aa1c07cb779f8f21991ee57f0b48296ad9 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 8 Mar 2010 14:07:45 +0000 Subject: [PATCH] * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define. (ELF_TARGET_FORMAT64): Define. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 85d23c48568..cd9149d39b2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-03-08 Rainer Orth + + * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define. + (ELF_TARGET_FORMAT64): Define. + 2010-03-05 Paul Brook * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index f2f02cc09c1..80824f21de4 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -1,6 +1,6 @@ /* tc-i386.h -- Header file for tc-i386.c Copyright 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -63,6 +63,11 @@ extern unsigned long i386_mach (void); #define ELF_TARGET_FORMAT "elf32-i386-vxworks" #endif +#ifdef TE_SOLARIS +#define ELF_TARGET_FORMAT "elf32-i386-sol2" +#define ELF_TARGET_FORMAT64 "elf64-x86-64-sol2" +#endif + #ifndef ELF_TARGET_FORMAT #define ELF_TARGET_FORMAT "elf32-i386" #endif -- 2.30.2