OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [or32/] [linux-elf.h] - Blame information for rev 523

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
/* 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
/* This is how we tell the assembler that two symbols have the same value.  */
34
#define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \
35
  do                                       \
36
    {                                      \
37
      assemble_name (FILE, NAME1);         \
38
      fputs (" = ", FILE);                 \
39
      assemble_name (FILE, NAME2);         \
40
      fputc ('\n', FILE);                  \
41
    }                                      \
42
    while (0)
43
 
44
 
45
#if 0
46
/* Node: Label Output */
47
 
48
#define SET_ASM_OP      "\t.set\t"
49
 
50
#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN)  \
51
  (*targetm.asm_out.globalize_label) (FILE, XSTR (FUN, 0))
52
 
53
#define ASM_WEAKEN_LABEL(FILE, NAME)    \
54
  do                                    \
55
    {                                   \
56
      fputs ("\t.weak\t", (FILE));      \
57
      assemble_name ((FILE), (NAME));   \
58
      fputc ('\n', (FILE));             \
59
    }                                   \
60
  while (0)
61 484 jeremybenn
 
62 282 jeremybenn
#endif
63 484 jeremybenn
 
64
/* The GNU C++ standard library requires that these macros be defined.  */
65
#undef CPLUSPLUS_CPP_SPEC
66
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
67 523 jeremybenn
 
68
#undef DRIVER_SELF_SPECS

powered by: WebSVN 2.1.0

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