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/] [or32/] [linux-elf.h] - Blame information for rev 455

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

Line No. Rev Author Line
1 38 julius
/* 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 242 jeremybenn
/* Make this match or32.h */
34 38 julius
#undef  USER_LABEL_PREFIX
35 242 jeremybenn
#define USER_LABEL_PREFIX ""
36 38 julius
 
37
 
38
/* This is how we tell the assembler that two symbols have the same value.  */
39
#define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \
40
  do                                       \
41
    {                                      \
42
      assemble_name (FILE, NAME1);         \
43
      fputs (" = ", FILE);                 \
44
      assemble_name (FILE, NAME2);         \
45
      fputc ('\n', FILE);                  \
46
    }                                      \
47
    while (0)
48
 
49
 
50
#if 0
51
/* Node: Label Output */
52
 
53
#define SET_ASM_OP      "\t.set\t"
54
 
55
#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN)  \
56
  (*targetm.asm_out.globalize_label) (FILE, XSTR (FUN, 0))
57
 
58
#define ASM_WEAKEN_LABEL(FILE, NAME)    \
59
  do                                    \
60
    {                                   \
61
      fputs ("\t.weak\t", (FILE));      \
62
      assemble_name ((FILE), (NAME));   \
63
      fputc ('\n', (FILE));             \
64
    }                                   \
65
  while (0)
66
#endif

powered by: WebSVN 2.1.0

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