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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gcc/] [gcc-3.4.4/] [gcc/] [config/] [or32/] [linux-elf.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1612 phoenix
/* Definitions for or32 running Linux-based GNU systems using ELF
2
   Copyright (C) 2002, 2005
3
   Free Software Foundation, Inc.
4
   Contributed by Marko Mlinar <markom@opencores.org>
5
 
6
This file is part of GNU CC.
7
 
8
GNU CC is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2, or (at your option)
11
any later version.
12
 
13
GNU CC is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
GNU General Public License for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with this program; see the file COPYING.  If not, write to
20
the Free Software Foundation, 59 Temple Place - Suite 330,
21
Boston, MA 02111-1307, USA.  */
22
 
23
/* elfos.h should have already been included.  Now just override
24
   any conflicting definitions and add any extras.  */
25
 
26
/* Run-time Target Specification.  */
27
#undef  TARGET_VERSION
28
#define TARGET_VERSION  fputs (" (OR32 GNU/Linux with ELF)", stderr);
29
 
30
/* Do not assume anything about header files.  */
31
#define NO_IMPLICIT_EXTERN_C
32
 
33
#undef  USER_LABEL_PREFIX
34
#define USER_LABEL_PREFIX "_"
35
 
36
 
37
/* This is how we tell the assembler that two symbols have the same value.  */
38
#define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \
39
  do                                       \
40
    {                                      \
41
      assemble_name (FILE, NAME1);         \
42
      fputs (" = ", FILE);                 \
43
      assemble_name (FILE, NAME2);         \
44
      fputc ('\n', FILE);                  \
45
    }                                      \
46
    while (0)
47
 
48
 
49
#if 0
50
/* Node: Label Output */
51
 
52
#define SET_ASM_OP      "\t.set\t"
53
 
54
#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN)  \
55
  (*targetm.asm_out.globalize_label) (FILE, XSTR (FUN, 0))
56
 
57
#define ASM_WEAKEN_LABEL(FILE, NAME)    \
58
  do                                    \
59
    {                                   \
60
      fputs ("\t.weak\t", (FILE));      \
61
      assemble_name ((FILE), (NAME));   \
62
      fputc ('\n', (FILE));             \
63
    }                                   \
64
  while (0)
65
#endif

powered by: WebSVN 2.1.0

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