Commit d18d5478 by Jakub Jelinek Committed by Jakub Jelinek

darwin.h (SECTION_NO_ANCHOR): Remove.

	* config/darwin.h (SECTION_NO_ANCHOR): Remove.
	* config/darwin.c (SECTION_NO_ANCHOR): Define.
	(darwin_init_sections): Remove assertion.

From-SVN: r169802
parent ba9e6dd5
2011-02-03 Jakub Jelinek <jakub@redhat.com>
* config/darwin.h (SECTION_NO_ANCHOR): Remove.
* config/darwin.c (SECTION_NO_ANCHOR): Define.
(darwin_init_sections): Remove assertion.
2011-02-03 Nick Clifton <nickc@redhat.com>
* config/rx/predicates.md (rx_zs_comparison_operator): Remove
......
/* Functions for generic Darwin as target machine for GNU C compiler.
Copyright (C) 1989, 1990, 1991, 1992, 1993, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007, 2008, 2009, 2010
2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Apple Computer Inc.
......@@ -160,6 +160,11 @@ output_objc_section_asm_op (const void *directive)
output_section_asm_op (directive);
}
/* Private flag applied to disable section-anchors in a particular section. */
#define SECTION_NO_ANCHOR SECTION_MACH_DEP
/* Implement TARGET_ASM_INIT_SECTIONS. */
void
......@@ -177,10 +182,6 @@ darwin_init_sections (void)
readonly_data_section = darwin_sections[const_section];
exception_section = darwin_sections[darwin_exception_section];
eh_frame_section = darwin_sections[darwin_eh_frame_section];
/* Make sure that there is no conflict between the 'no anchor' section
flag declared in darwin.h and the section flags declared in output.h. */
gcc_assert (SECTION_NO_ANCHOR > SECTION_MACH_DEP);
}
int
......
/* Target definitions for Darwin (Mac OS X) systems.
Copyright (C) 1989, 1990, 1991, 1992, 1993, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007, 2008, 2009, 2010
2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Apple Computer Inc.
......@@ -651,11 +651,6 @@ int darwin_label_is_anonymous_local_objc_name (const char *name);
/* The generic version, archs should over-ride where required. */
#define MACHOPIC_NL_SYMBOL_PTR_SECTION ".non_lazy_symbol_pointer"
/* Private flag applied to disable section-anchors in a particular section.
This needs to be kept in sync with the flags used by varasm.c (defined in
output.h). */
#define SECTION_NO_ANCHOR 0x2000000
/* Declare the section variables. */
#ifndef USED_FOR_TARGET
enum darwin_section_enum {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment