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
This commit is contained in:
Robert Lipe 2001-10-21 21:55:40 +00:00 committed by Robert Lipe
parent 0df6c2c74e
commit e56feed63f
3 changed files with 14 additions and 36 deletions

View 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

View 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

View 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