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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [config/] [te-solaris.h] - Blame information for rev 859

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

Line No. Rev Author Line
1 205 julius
/* Copyright 2008, 2010 Free Software Foundation, Inc.
2
 
3
   This file is part of GAS, the GNU Assembler.
4
 
5
   GAS is free software; you can redistribute it and/or modify
6
   it under the terms of the GNU General Public License as
7
   published by the Free Software Foundation; either version 3,
8
   or (at your option) any later version.
9
 
10
   GAS is distributed in the hope that it will be useful, but
11
   WITHOUT ANY WARRANTY; without even the implied warranty of
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
13
   the GNU General Public License for more details.
14
 
15
   You should have received a copy of the GNU General Public License
16
   along with GAS; see the file COPYING.  If not, write to the Free
17
   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
18
   02110-1301, USA.  */
19
 
20
#define TE_SOLARIS
21
 
22
#define LOCAL_LABELS_DOLLAR 1
23
#define LOCAL_LABELS_FB 1
24
 
25
#include "obj-format.h"
26
 
27
/* The Sun linker doesn't merge read-only and read-write sections into
28
   a single section so we must force all EH frame sections to use the
29
   same flags.  For SPARC and 32-bit i386 this is read-write, whilst
30
   for x86_64 this is read-only, matching GCC behavior.
31
 
32
   See the definition of EH_TABLES_CAN_BE_READ_ONLY in
33
   gcc/config/i386/sol2.h in the GCC sources and the thread starting at
34
   http://sourceware.org/ml/binutils/2010-01/msg00401.html.  */
35
#ifdef TC_SPARC
36
#define DWARF2_EH_FRAME_READ_ONLY SEC_NO_FLAGS
37
#else
38
#define DWARF2_EH_FRAME_READ_ONLY \
39
  (bfd_get_arch_size (stdoutput) == 64 ? SEC_READONLY : SEC_NO_FLAGS)
40
#endif

powered by: WebSVN 2.1.0

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