aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-03-08 14:07:45 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-03-08 14:07:45 +0000
commit40cf28aa1c07cb779f8f21991ee57f0b48296ad9 (patch)
treeaf328de1ee8955b57aec23e4beef40f5bf8bdd8d /gas
parent7155de5a7e1a2e53821c57eed4ce9e9883f40df6 (diff)
downloadgdb-40cf28aa1c07cb779f8f21991ee57f0b48296ad9.zip
gdb-40cf28aa1c07cb779f8f21991ee57f0b48296ad9.tar.gz
gdb-40cf28aa1c07cb779f8f21991ee57f0b48296ad9.tar.bz2
* config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
(ELF_TARGET_FORMAT64): Define.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 85d23c4..cd9149d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
+ (ELF_TARGET_FORMAT64): Define.
+
2010-03-05 Paul Brook <paul@codesourcery.com>
* 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 f2f02cc..80824f2 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