]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (sco_asm_named_section): Delete.
authorRobert Lipe <robertlipe@usa.net>
Sun, 21 Oct 2001 21:55:40 +0000 (21:55 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Sun, 21 Oct 2001 21:55:40 +0000 (21:55 +0000)
* 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

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/sco5.h

index d98daf8de7f702356d119a41e2407057b2c63e0f..e1fe57c939137415cde4ea64ef64e903c5fb417d 100644 (file)
@@ -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
index c08d1302a450fe5dfc7b8fdc4c583b7eb627e139..17319890eb76e4ac3c4a57c6811306edac81e339 100644 (file)
@@ -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
index b40651282df88634ab0433a12c866d23b74bc581..ca7d6c8b88de844e92be31262a971da85c89697c 100644 (file)
@@ -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