OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [m68k/] [coff.h] - Diff between revs 38 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 154
/* Definitions of target machine for GNU compiler.
/* Definitions of target machine for GNU compiler.
   m68k series COFF object files and debugging, version.
   m68k series COFF object files and debugging, version.
   Copyright (C) 1994, 1996, 1997, 2000, 2002, 2003, 2004, 2007
   Copyright (C) 1994, 1996, 1997, 2000, 2002, 2003, 2004, 2007
   Free Software Foundation, Inc.
   Free Software Foundation, Inc.
 
 
This file is part of GCC.
This file is part of GCC.
 
 
GCC is free software; you can redistribute it and/or modify
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
any later version.
 
 
GCC is distributed in the hope that it will be useful,
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
GNU General Public License for more details.
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */
<http://www.gnu.org/licenses/>.  */
 
 
/* This file is included after m68k.h by CPU COFF specific files.  It
/* This file is included after m68k.h by CPU COFF specific files.  It
   is not a complete target itself.  */
   is not a complete target itself.  */
 
 
/* Used in m68k.c to include required support code.  */
/* Used in m68k.c to include required support code.  */
 
 
#define M68K_TARGET_COFF 1
#define M68K_TARGET_COFF 1
 
 
/* Generate sdb debugging information.  */
/* Generate sdb debugging information.  */
 
 
#define SDB_DEBUGGING_INFO 1
#define SDB_DEBUGGING_INFO 1
 
 
/* COFF symbols don't start with an underscore.  */
/* COFF symbols don't start with an underscore.  */
 
 
#undef USER_LABEL_PREFIX
#undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX ""
#define USER_LABEL_PREFIX ""
 
 
/* Use a prefix for local labels, just to be on the save side.  */
/* Use a prefix for local labels, just to be on the save side.  */
 
 
#undef LOCAL_LABEL_PREFIX
#undef LOCAL_LABEL_PREFIX
#define LOCAL_LABEL_PREFIX "."
#define LOCAL_LABEL_PREFIX "."
 
 
/* Use a register prefix to avoid clashes with external symbols (classic
/* Use a register prefix to avoid clashes with external symbols (classic
   example: `extern char PC;' in termcap).  */
   example: `extern char PC;' in termcap).  */
 
 
#undef REGISTER_PREFIX
#undef REGISTER_PREFIX
#define REGISTER_PREFIX "%"
#define REGISTER_PREFIX "%"
 
 
/* In the machine description we can't use %R, because it will not be seen
/* In the machine description we can't use %R, because it will not be seen
   by ASM_FPRINTF.  (Isn't that a design bug?).  */
   by ASM_FPRINTF.  (Isn't that a design bug?).  */
 
 
#undef REGISTER_PREFIX_MD
#undef REGISTER_PREFIX_MD
#define REGISTER_PREFIX_MD "%%"
#define REGISTER_PREFIX_MD "%%"
 
 
/* config/m68k.md has an explicit reference to the program counter,
/* config/m68k.md has an explicit reference to the program counter,
   prefix this by the register prefix.  */
   prefix this by the register prefix.  */
 
 
#define ASM_RETURN_CASE_JUMP                            \
#define ASM_RETURN_CASE_JUMP                            \
  do {                                                  \
  do {                                                  \
    if (TARGET_COLDFIRE)                                \
    if (TARGET_COLDFIRE)                                \
      {                                                 \
      {                                                 \
        if (ADDRESS_REG_P (operands[0]))         \
        if (ADDRESS_REG_P (operands[0]))         \
          return "jmp %%pc@(2,%0:l)";                   \
          return "jmp %%pc@(2,%0:l)";                   \
        else                                            \
        else                                            \
          return "ext%.l %0\n\tjmp %%pc@(2,%0:l)";      \
          return "ext%.l %0\n\tjmp %%pc@(2,%0:l)";      \
      }                                                 \
      }                                                 \
    else                                                \
    else                                                \
      return "jmp %%pc@(2,%0:w)";                       \
      return "jmp %%pc@(2,%0:w)";                       \
  } while (0)
  } while (0)
 
 
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
 
 
/* If defined, a C expression whose value is a string containing the
/* If defined, a C expression whose value is a string containing the
   assembler operation to identify the following data as uninitialized global
   assembler operation to identify the following data as uninitialized global
   data.  */
   data.  */
 
 
#define BSS_SECTION_ASM_OP      "\t.section\t.bss"
#define BSS_SECTION_ASM_OP      "\t.section\t.bss"
 
 
/* A C statement (sans semicolon) to output to the stdio stream
/* A C statement (sans semicolon) to output to the stdio stream
   FILE the assembler definition of uninitialized global DECL named
   FILE the assembler definition of uninitialized global DECL named
   NAME whose size is SIZE bytes and alignment is ALIGN bytes.
   NAME whose size is SIZE bytes and alignment is ALIGN bytes.
   Try to use asm_output_aligned_bss to implement this macro.  */
   Try to use asm_output_aligned_bss to implement this macro.  */
 
 
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
  asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
  asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
 
 
/* Switch into a generic section.  */
/* Switch into a generic section.  */
#undef TARGET_ASM_NAMED_SECTION
#undef TARGET_ASM_NAMED_SECTION
#define TARGET_ASM_NAMED_SECTION  m68k_coff_asm_named_section
#define TARGET_ASM_NAMED_SECTION  m68k_coff_asm_named_section
 
 
/* Don't assume anything about startfiles.  */
/* Don't assume anything about startfiles.  */
 
 
#undef STARTFILE_SPEC
#undef STARTFILE_SPEC
#define STARTFILE_SPEC ""
#define STARTFILE_SPEC ""
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.