aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lipe <robertlipe@usa.net>2001-10-21 21:55:40 +0000
committerRobert Lipe <robertl@gcc.gnu.org>2001-10-21 21:55:40 +0000
commite56feed63f79d09e94d6ad97b6a9ed618d6e6234 (patch)
tree64d2fd1b732df5eb5127413d3e3e94f3d72a054b
parent0df6c2c74ea954f8e2a0ccdb85770f2f52d4942c (diff)
downloadgcc-e56feed63f79d09e94d6ad97b6a9ed618d6e6234.zip
gcc-e56feed63f79d09e94d6ad97b6a9ed618d6e6234.tar.gz
gcc-e56feed63f79d09e94d6ad97b6a9ed618d6e6234.tar.bz2
i386.c (sco_asm_named_section): Delete.
* config/i386/i386.c (sco_asm_named_section): Delete. (sco_asm_out_constructor): Delete. * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h. (ASM_OUTPUT_DOUBLE_INT): Likewise. (TARGET_ASM_CONSTRUCTOR): Delete. Use default. (TARGET_ASM_NAMED_SECTION): Use default for ELF. (EXCEPTION_SECTION): Delete EH scn renaming hack. From-SVN: r46398
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/i386/i386.c29
-rw-r--r--gcc/config/i386/sco5.h11
3 files changed, 14 insertions, 36 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d98daf8..e1fe57c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2001-10-21 Robert Lipe <robertlipe@usa.net>
+
+ * config/i386/i386.c (sco_asm_named_section): Delete.
+ (sco_asm_out_constructor): Delete.
+ * config/i386/sco5.h (ASM_QUAD): Undo damage from att.h.
+ (ASM_OUTPUT_DOUBLE_INT): Likewise.
+ (TARGET_ASM_CONSTRUCTOR): Delete. Use default.
+ (TARGET_ASM_NAMED_SECTION): Use default for ELF.
+ (EXCEPTION_SECTION): Delete EH scn renaming hack.
+
2001-10-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-format.c (maybe_read_dollar_number): Use safe-ctype macros
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index c08d1302..1731989 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -695,10 +695,7 @@ static tree ix86_handle_regparm_attribute PARAMS ((tree *, tree, tree, int, bool
#ifdef DO_GLOBAL_CTORS_BODY
static void ix86_svr3_asm_out_constructor PARAMS ((rtx, int));
#endif
-#if defined(TARGET_ELF) && defined(TARGET_COFF)
-static void sco_asm_named_section PARAMS ((const char *, unsigned int));
-static void sco_asm_out_constructor PARAMS ((rtx, int));
-#endif
+
/* Register class used for passing given 64bit part of the argument.
These represent classes as documented by the PS ABI, with the exception
of SSESF, SSEDF classes, that are basically SSE class, just gcc will
@@ -12456,27 +12453,3 @@ ix86_svr3_asm_out_constructor (symbol, priority)
fputc ('\n', asm_out_file);
}
#endif
-
-#if defined(TARGET_ELF) && defined(TARGET_COFF)
-static void
-sco_asm_named_section (name, flags)
- const char *name;
- unsigned int flags;
-{
- if (TARGET_ELF)
- default_elf_asm_named_section (name, flags);
- else
- default_coff_asm_named_section (name, flags);
-}
-
-static void
-sco_asm_out_constructor (symbol, priority)
- rtx symbol;
- int priority;
-{
- if (TARGET_ELF)
- default_named_section_asm_out_constrctor (symbol, priority);
- else
- ix86_svr3_asm_out_constructor (symbol, priority);
-}
-#endif
diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h
index b406512..ca7d6c8 100644
--- a/gcc/config/i386/sco5.h
+++ b/gcc/config/i386/sco5.h
@@ -60,7 +60,7 @@ Boston, MA 02111-1307, USA. */
#define ASM_LONG "\t.long\t"
#undef ASM_QUAD
-#define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */
+#undef ASM_OUTPUT_DOUBLE_INT
#undef TYPE_ASM_OP
#define TYPE_ASM_OP "\t.type\t"
@@ -384,9 +384,6 @@ do { \
ASM_OUTPUT_INTERNAL_LABEL((FILE),(PREFIX),(NUM)); \
} while (0)
-#undef TARGET_ASM_CONSTRUCTOR
-#define TARGET_ASM_CONSTRUCTOR sco_asm_out_constructor
-
#undef ASM_OUTPUT_IDENT
#define ASM_OUTPUT_IDENT(FILE, NAME) \
fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME);
@@ -412,11 +409,10 @@ do { \
* We rename 'gcc_except_table' to the shorter name in preparation
* for the day when we're ready to do DWARF2 eh unwinding under COFF.
*/
-#define EXCEPTION_SECTION() named_section (NULL, ".gccexc", 1)
+/* #define EXCEPTION_SECTION() named_section (NULL, ".gccexc", 1) */
/* Switch into a generic section. */
-#undef TARGET_ASM_NAMED_SECTION
-#define TARGET_ASM_NAMED_SECTION sco_asm_named_section
+#define TARGET_ASM_NAMED_SECTION default_elf_asm_named_section
#undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
@@ -775,7 +771,6 @@ init_section () \
"%{!shared:-lgcc}"
#define MASK_COFF 010000000000 /* Mask for elf generation */
-#define TARGET_COFF (target_flags & MASK_COFF)
#define TARGET_ELF (1) /* (!(target_flags & MASK_COFF)) */
#undef SUBTARGET_SWITCHES