Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. /* Definitions for Unix assembler syntax for the Intel 80386.
  2.    Copyright (C) 1988, 1994, 1999, 2000, 2001, 2002, 2007, 2009
  3.    Free Software Foundation, Inc.
  4.  
  5. This file is part of GCC.
  6.  
  7. GCC is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 3, or (at your option)
  10. any later version.
  11.  
  12. GCC is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. Under Section 7 of GPL version 3, you are granted additional
  18. permissions described in the GCC Runtime Library Exception, version
  19. 3.1, as published by the Free Software Foundation.
  20.  
  21. You should have received a copy of the GNU General Public License and
  22. a copy of the GCC Runtime Library Exception along with this program;
  23. see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
  24. <http://www.gnu.org/licenses/>.  */
  25.  
  26. /* This file defines the aspects of assembler syntax
  27.    that are the same for all the i386 Unix systems
  28.    (though they may differ in non-Unix systems).  */
  29.  
  30. /* Define macro used to output shift-double opcodes when the shift
  31.    count is in %cl.  Some assemblers require %cl as an argument;
  32.    some don't.  This macro controls what to do: by default, don't
  33.    print %cl.  */
  34. #define SHIFT_DOUBLE_OMITS_COUNT 1
  35. /* Define the syntax of pseudo-ops, labels and comments.  */
  36.  
  37. /* String containing the assembler's comment-starter.
  38.    Note the trailing space is necessary in case the character
  39.    that immediately follows the comment is '*'.  If this happens
  40.    and the space is not there the assembler will interpret this
  41.    as the start of a C-like slash-star comment and complain when
  42.    there is no terminator.  */
  43.  
  44. #define ASM_COMMENT_START "/ "
  45.  
  46. /* Output to assembler file text saying following lines
  47.    may contain character constants, extra white space, comments, etc.  */
  48.  
  49. #define ASM_APP_ON "/APP\n"
  50.  
  51. /* Output to assembler file text saying following lines
  52.    no longer contain unusual constructs.  */
  53.  
  54. #define ASM_APP_OFF "/NO_APP\n"
  55.  
  56. /* Output before read-only data.  */
  57.  
  58. #define TEXT_SECTION_ASM_OP "\t.text"
  59.  
  60. /* Output before writable (initialized) data.  */
  61.  
  62. #define DATA_SECTION_ASM_OP "\t.data"
  63.  
  64. /* Output before writable (uninitialized) data.  */
  65.  
  66. #define BSS_SECTION_ASM_OP "\t.bss"
  67.  
  68. /* Globalizing directive for a label.  */
  69. #define GLOBAL_ASM_OP ".globl "
  70.  
  71. /* By default, target has a 80387, uses IEEE compatible arithmetic,
  72.    and returns float values in the 387.  */
  73. #undef TARGET_SUBTARGET_DEFAULT
  74. #define TARGET_SUBTARGET_DEFAULT \
  75.         (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS)
  76.  
  77. /* By default, 64-bit mode uses 128-bit long double.  */
  78. #undef TARGET_SUBTARGET64_DEFAULT
  79. #define TARGET_SUBTARGET64_DEFAULT \
  80.         MASK_128BIT_LONG_DOUBLE
  81.