Commit 6ac49599 by Richard Sandiford Committed by Richard Sandiford

config.gcc (*-*-darwin*): Add darwin.opt to $extra_options.

	* config.gcc (*-*-darwin*): Add darwin.opt to $extra_options.
	(i[34567]86-pc-msdosdjgpp*): Likewise i386/djgpp.opt.
	(i[34567]86-*-lynxos*, powerpc-*-lynxos*): Likewise lynx.opt.
	(i[34567]86-*-sco3.2v5*): Likewise i386/sco5.opt.
	(i[34567]86-*-pe, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
	(i[34567]86-*-uwin*): Likewise i386/cygming.opt.
	* config/darwin.h (darwin_one_byte_bool, darwin_fix_and_continue)
	(darwin_fix_and_continue_switch, SUBTARGET_OPTIONS): Delete.
	* config/darwin.c (darwin_one_byte_bool, darwin_fix_and_continue)
	(darwin_fix_and_continue_switch): Delete.
	* config/lynx.h (SUBTARGET_OS_LYNX_SWITCHES): Delete.
	(SUBTARGET_SWITCHES): Delete.
	* config/i386/i386.h (target_flags, MASK_80387, MASK_RTD)
	(MASK_ALIGN_DOUBLE, MASK_SVR3_SHLIB, MASK_IEEE_FP, MASK_FLOAT_RETURNS)
	(MASK_NO_FANCY_MATH_387, MASK_OMIT_LEAF_FRAME_POINTER)
	(MASK_STACK_PROBE, MASK_NO_ALIGN_STROPS, MASK_INLINE_ALL_STROPS)
	(MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS, MASK_MMX)
	(MASK_SSE, MASK_SSE2, MASK_SSE3, MASK_3DNOW, MASK_3DNOW_A)
	(MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT)
	(MASK_TLS_DIRECT_SEG_REFS, MASK_NO_RED_ZONE, TARGET_80387)
	(TARGET_RTD, TARGET_ALIGN_DOUBLE, TARGET_PUSH_ARGS)
	(TARGET_ACCUMULATE_OUTGOING_ARGS, TARGET_SVR3_SHLIB, TARGET_IEEE_FP)
	(TARGET_128BIT_LONG_DOUBLE, TARGET_NO_FANCY_MATH_387)
	(TARGET_USE_FANCY_MATH_387, TARGET_OMIT_LEAF_FRAME_POINTER)
	(TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Delete.
	(TARGET_FLOAT_RETURNS_IN_80387): Make an alias of TARGET_FLOAT_RETURNS.
	(TARGET_64BIT): Undef before redefining.
	(TARGET_TLS_DIRECT_SEG_REFS, TARGET_STACK_PROBE)
	(TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS, TARGET_SSE)
	(TARGET_SSE2, TARGET_SSE3, TARGET_MMX, TARGET_3DNOW, TARGET_3DNOW_A)
	(TARGET_RED_ZONE, TARGET_USE_MS_BITFIELD_LAYOUT, TARGET_SWITCHES)
	(TARGET_OPTIONS, SUBTARGET_SWITCHES, SUBTARGET_OPTIONS)
	(ix86_fpmath_string, ix86_tls_dialect_string, ix86_cmodel_string)
	(ix86_asm_string, ix86_regparm, ix86_regparm_string)
	(ix86_preferred_stack_boundary_string, ix86_branch_cost_string)
	(ix86_debug_arg_string, ix86_debug_addr_string)
	(ix86_align_loops_string, ix86_align_jumps_string)
	(ix86_align_funcs_string): Delete.
	* config/i386/cygming.h (MASK_NOP_FUN_DLLIMPORT)
	(TARGET_NOP_FUN_DLLIMPORT, SUBTARGET_SWITCHES): Delete.
	* config/i386/djgpp.h (MASK_BNU210, SUBTARGET_SWITCHES): Delete.
	(SUBTARGET_OVERRIDE_OPTIONS): Check TARGET_BNU210.
	* config/i386/lynx.h (SUBTARGET_SWITCHES): Delete.
	* config/i386/sco5.h (MASK_COFF, TARGET_ELF)
	(SUBTARGET_SWITCHES): Delete.
	* config/i386/i386.c (ix86_debug_arg_string): Delete.
	(ix86_debug_addr_string): Delete.
	(ix86_cmodel_string, ix86_asm_string, ix86_tls_dialect_string)
	(ix86_fpmath_string, ix86_regparm_string, ix86_regparm)
	(ix86_align_loops_string, ix86_align_jumps_string)
	(ix86_preferred_stack_boundary_string, ix86_branch_cost_string)
	(ix86_align_funcs_string): Make static.
	(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
	(ix86_handle_option): New function.
	(TARGET_USE_MS_BITFIELD_LAYOUT): Delete.
	(ix86_ms_bitfield_layout_p): Check TARGET_MS_BITFIELD_LAYOUT.
	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Remove handling
	of darwin_fix_and_continue_switch.
	(darwin_one_byte_bool): Delete.
	* config/rs6000/lynx.h (EXTRA_SUBTARGET_SWITCHES): Delete.
	* config/rs6000/rs6000.c (rs6000_override_options): Update assignment
	to darwin_one_byte_bool.
	* config/darwin.opt, config/lynx.opt, config/i386/cygming.opt,
	* config/i386/djgpp.opt, config/i386/i386.opt,
	* config/i386/sco5.opt: New files.

From-SVN: r98495
parent 0e5d569c
2005-04-21 Richard Sandiford <rsandifo@redhat.com>
* config.gcc (*-*-darwin*): Add darwin.opt to $extra_options.
(i[34567]86-pc-msdosdjgpp*): Likewise i386/djgpp.opt.
(i[34567]86-*-lynxos*, powerpc-*-lynxos*): Likewise lynx.opt.
(i[34567]86-*-sco3.2v5*): Likewise i386/sco5.opt.
(i[34567]86-*-pe, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*)
(i[34567]86-*-uwin*): Likewise i386/cygming.opt.
* config/darwin.h (darwin_one_byte_bool, darwin_fix_and_continue)
(darwin_fix_and_continue_switch, SUBTARGET_OPTIONS): Delete.
* config/darwin.c (darwin_one_byte_bool, darwin_fix_and_continue)
(darwin_fix_and_continue_switch): Delete.
* config/lynx.h (SUBTARGET_OS_LYNX_SWITCHES): Delete.
(SUBTARGET_SWITCHES): Delete.
* config/i386/i386.h (target_flags, MASK_80387, MASK_RTD)
(MASK_ALIGN_DOUBLE, MASK_SVR3_SHLIB, MASK_IEEE_FP, MASK_FLOAT_RETURNS)
(MASK_NO_FANCY_MATH_387, MASK_OMIT_LEAF_FRAME_POINTER)
(MASK_STACK_PROBE, MASK_NO_ALIGN_STROPS, MASK_INLINE_ALL_STROPS)
(MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS, MASK_MMX)
(MASK_SSE, MASK_SSE2, MASK_SSE3, MASK_3DNOW, MASK_3DNOW_A)
(MASK_128BIT_LONG_DOUBLE, MASK_64BIT, MASK_MS_BITFIELD_LAYOUT)
(MASK_TLS_DIRECT_SEG_REFS, MASK_NO_RED_ZONE, TARGET_80387)
(TARGET_RTD, TARGET_ALIGN_DOUBLE, TARGET_PUSH_ARGS)
(TARGET_ACCUMULATE_OUTGOING_ARGS, TARGET_SVR3_SHLIB, TARGET_IEEE_FP)
(TARGET_128BIT_LONG_DOUBLE, TARGET_NO_FANCY_MATH_387)
(TARGET_USE_FANCY_MATH_387, TARGET_OMIT_LEAF_FRAME_POINTER)
(TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Delete.
(TARGET_FLOAT_RETURNS_IN_80387): Make an alias of TARGET_FLOAT_RETURNS.
(TARGET_64BIT): Undef before redefining.
(TARGET_TLS_DIRECT_SEG_REFS, TARGET_STACK_PROBE)
(TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS, TARGET_SSE)
(TARGET_SSE2, TARGET_SSE3, TARGET_MMX, TARGET_3DNOW, TARGET_3DNOW_A)
(TARGET_RED_ZONE, TARGET_USE_MS_BITFIELD_LAYOUT, TARGET_SWITCHES)
(TARGET_OPTIONS, SUBTARGET_SWITCHES, SUBTARGET_OPTIONS)
(ix86_fpmath_string, ix86_tls_dialect_string, ix86_cmodel_string)
(ix86_asm_string, ix86_regparm, ix86_regparm_string)
(ix86_preferred_stack_boundary_string, ix86_branch_cost_string)
(ix86_debug_arg_string, ix86_debug_addr_string)
(ix86_align_loops_string, ix86_align_jumps_string)
(ix86_align_funcs_string): Delete.
* config/i386/cygming.h (MASK_NOP_FUN_DLLIMPORT)
(TARGET_NOP_FUN_DLLIMPORT, SUBTARGET_SWITCHES): Delete.
* config/i386/djgpp.h (MASK_BNU210, SUBTARGET_SWITCHES): Delete.
(SUBTARGET_OVERRIDE_OPTIONS): Check TARGET_BNU210.
* config/i386/lynx.h (SUBTARGET_SWITCHES): Delete.
* config/i386/sco5.h (MASK_COFF, TARGET_ELF)
(SUBTARGET_SWITCHES): Delete.
* config/i386/i386.c (ix86_debug_arg_string): Delete.
(ix86_debug_addr_string): Delete.
(ix86_cmodel_string, ix86_asm_string, ix86_tls_dialect_string)
(ix86_fpmath_string, ix86_regparm_string, ix86_regparm)
(ix86_align_loops_string, ix86_align_jumps_string)
(ix86_preferred_stack_boundary_string, ix86_branch_cost_string)
(ix86_align_funcs_string): Make static.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
(ix86_handle_option): New function.
(TARGET_USE_MS_BITFIELD_LAYOUT): Delete.
(ix86_ms_bitfield_layout_p): Check TARGET_MS_BITFIELD_LAYOUT.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Remove handling
of darwin_fix_and_continue_switch.
(darwin_one_byte_bool): Delete.
* config/rs6000/lynx.h (EXTRA_SUBTARGET_SWITCHES): Delete.
* config/rs6000/rs6000.c (rs6000_override_options): Update assignment
to darwin_one_byte_bool.
* config/darwin.opt, config/lynx.opt, config/i386/cygming.opt,
* config/i386/djgpp.opt, config/i386/i386.opt,
* config/i386/sco5.opt: New files.
2005-04-21 Eric Botcazou <ebotcazou@libertysurf.fr> 2005-04-21 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (reg_or_0_operand, const1_operand, * config/sparc/sparc.c (reg_or_0_operand, const1_operand,
......
...@@ -363,6 +363,7 @@ case ${target} in ...@@ -363,6 +363,7 @@ case ${target} in
tm_p_file="${tm_p_file} darwin-protos.h" tm_p_file="${tm_p_file} darwin-protos.h"
tmake_file="t-darwin t-slibgcc-darwin" tmake_file="t-darwin t-slibgcc-darwin"
target_gtfiles="\$(srcdir)/config/darwin.c" target_gtfiles="\$(srcdir)/config/darwin.c"
extra_options="${extra_options} darwin.opt"
c_target_objs="darwin-c.o" c_target_objs="darwin-c.o"
cxx_target_objs="darwin-c.o" cxx_target_objs="darwin-c.o"
extra_parts="crt2.o" extra_parts="crt2.o"
...@@ -1010,6 +1011,7 @@ i[34567]86-pc-msdosdjgpp*) ...@@ -1010,6 +1011,7 @@ i[34567]86-pc-msdosdjgpp*)
xm_file=i386/xm-djgpp.h xm_file=i386/xm-djgpp.h
tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h" tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h"
tmake_file=i386/t-djgpp tmake_file=i386/t-djgpp
extra_options="${extra_options} i386/djgpp.opt"
gnu_ld=yes gnu_ld=yes
gas=yes gas=yes
;; ;;
...@@ -1018,6 +1020,7 @@ i[34567]86-*-lynxos*) ...@@ -1018,6 +1020,7 @@ i[34567]86-*-lynxos*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/lynx.h lynx.h" tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/lynx.h lynx.h"
tmake_file="i386/t-crtstuff t-lynx" tmake_file="i386/t-crtstuff t-lynx"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
extra_options="${extra_options} lynx.opt"
thread_file=lynx thread_file=lynx
gnu_ld=yes gnu_ld=yes
gas=yes gas=yes
...@@ -1060,6 +1063,7 @@ i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 ...@@ -1060,6 +1063,7 @@ i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
fi fi
tmake_file=i386/t-sco5 tmake_file=i386/t-sco5
extra_parts="crtbegin.o crtend.o" extra_parts="crtbegin.o crtend.o"
extra_options="${extra_options} i386/sco5.opt"
use_fixproto=yes use_fixproto=yes
;; ;;
i[34567]86-*-solaris2*) i[34567]86-*-solaris2*)
...@@ -1149,6 +1153,7 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*) ...@@ -1149,6 +1153,7 @@ i[34567]86-*-pe | i[34567]86-*-cygwin*)
xm_file=i386/xm-cygwin.h xm_file=i386/xm-cygwin.h
tmake_file="i386/t-cygwin i386/t-cygming" tmake_file="i386/t-cygwin i386/t-cygming"
target_gtfiles="\$(srcdir)/config/i386/winnt.c" target_gtfiles="\$(srcdir)/config/i386/winnt.c"
extra_options="${extra_options} i386/cygming.opt"
extra_objs=winnt.o extra_objs=winnt.o
c_target_objs=cygwin2.o c_target_objs=cygwin2.o
cxx_target_objs=cygwin2.o cxx_target_objs=cygwin2.o
...@@ -1162,6 +1167,7 @@ i[34567]86-*-mingw32*) ...@@ -1162,6 +1167,7 @@ i[34567]86-*-mingw32*)
xm_file=i386/xm-mingw32.h xm_file=i386/xm-mingw32.h
tmake_file="i386/t-cygming i386/t-mingw32" tmake_file="i386/t-cygming i386/t-mingw32"
target_gtfiles="\$(srcdir)/config/i386/winnt.c" target_gtfiles="\$(srcdir)/config/i386/winnt.c"
extra_options="${extra_options} i386/cygming.opt"
extra_objs=winnt.o extra_objs=winnt.o
case ${enable_threads} in case ${enable_threads} in
"" | yes | win32) thread_file='win32' ;; "" | yes | win32) thread_file='win32' ;;
...@@ -1178,6 +1184,7 @@ i[34567]86-*-uwin*) ...@@ -1178,6 +1184,7 @@ i[34567]86-*-uwin*)
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygwin.h i386/uwin.h" tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygwin.h i386/uwin.h"
tmake_file="i386/t-cygwin i386/t-uwin" tmake_file="i386/t-cygwin i386/t-uwin"
extra_objs=winnt.o extra_objs=winnt.o
extra_options="${extra_options} i386/cygming.opt"
target_gtfiles="\$(srcdir)/config/i386/winnt.c" target_gtfiles="\$(srcdir)/config/i386/winnt.c"
if test x$enable_threads = xyes; then if test x$enable_threads = xyes; then
thread_file='win32' thread_file='win32'
...@@ -1689,6 +1696,7 @@ powerpc-*-lynxos*) ...@@ -1689,6 +1696,7 @@ powerpc-*-lynxos*)
tm_file="${tm_file} dbxelf.h elfos.h rs6000/sysv4.h rs6000/lynx.h lynx.h" tm_file="${tm_file} dbxelf.h elfos.h rs6000/sysv4.h rs6000/lynx.h lynx.h"
tmake_file="t-lynx rs6000/t-lynx" tmake_file="t-lynx rs6000/t-lynx"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
extra_options="${extra_options} lynx.opt"
thread_file=lynx thread_file=lynx
gnu_ld=yes gnu_ld=yes
gas=yes gas=yes
......
...@@ -77,10 +77,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -77,10 +77,6 @@ Boston, MA 02111-1307, USA. */
the code that handles @code{static} data indirection. */ the code that handles @code{static} data indirection. */
/* Nonzero if the user passes the -mone-byte-bool switch, which forces
sizeof(bool) to be 1. */
const char *darwin_one_byte_bool = 0;
int int
name_needs_quotes (const char *name) name_needs_quotes (const char *name)
{ {
...@@ -1397,13 +1393,4 @@ darwin_file_end (void) ...@@ -1397,13 +1393,4 @@ darwin_file_end (void)
fprintf (asm_out_file, "\t.subsections_via_symbols\n"); fprintf (asm_out_file, "\t.subsections_via_symbols\n");
} }
/* True, iff we're generating fast turn around debugging code. When
true, we arrange for function prologues to start with 4 nops so
that gdb may insert code to redirect them, and for data to accessed
indirectly. The runtime uses this indirection to forward
references for data to the original instance of that data. */
int darwin_fix_and_continue;
const char *darwin_fix_and_continue_switch;
#include "gt-darwin.h" #include "gt-darwin.h"
...@@ -140,24 +140,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -140,24 +140,6 @@ Boston, MA 02111-1307, USA. */
{ "-unexported_symbols_list", "-Zunexported_symbols_list" }, \ { "-unexported_symbols_list", "-Zunexported_symbols_list" }, \
SUBTARGET_OPTION_TRANSLATE_TABLE SUBTARGET_OPTION_TRANSLATE_TABLE
/* Nonzero if the user has chosen to force sizeof(bool) to be 1
by providing the -mone-byte-bool switch. It would be better
to use SUBTARGET_SWITCHES for this instead of SUBTARGET_OPTIONS,
but there are no more bits in rs6000 TARGET_SWITCHES. Note
that this switch has no "no-" variant. */
extern const char *darwin_one_byte_bool;
extern int darwin_fix_and_continue;
extern const char *darwin_fix_and_continue_switch;
#undef SUBTARGET_OPTIONS
#define SUBTARGET_OPTIONS \
{"one-byte-bool", &darwin_one_byte_bool, N_("Set sizeof(bool) to 1"), 0 }, \
{"fix-and-continue", &darwin_fix_and_continue_switch, \
N_("Generate code suitable for fast turn around debugging"), 0}, \
{"no-fix-and-continue", &darwin_fix_and_continue_switch, \
N_("Don't generate code suitable for fast turn around debugging"), 0}
/* These compiler options take n arguments. */ /* These compiler options take n arguments. */
#undef WORD_SWITCH_TAKES_ARG #undef WORD_SWITCH_TAKES_ARG
......
; Processor-independent options for Darwin.
; Copyright (C) 2005 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING. If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
mone-byte-bool
Target RejectNegative Report Var(darwin_one_byte_bool)
Set sizeof(bool) to 1
mfix-and-continue
Target Report Var(darwin_fix_and_continue)
Generate code suitable for fast turn around debugging
...@@ -50,26 +50,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -50,26 +50,6 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h> #include <stdio.h>
/* Masks for subtarget switches used by other files. */
#define MASK_NOP_FUN_DLLIMPORT 0x08000000 /* Ignore dllimport for functions */
/* Used in winnt.c. */
#define TARGET_NOP_FUN_DLLIMPORT (target_flags & MASK_NOP_FUN_DLLIMPORT)
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
{ "cygwin", 0, N_("Use the Cygwin interface") }, \
{ "no-cygwin", 0, N_("Use the Mingw32 interface") }, \
{ "windows", 0, N_("Create GUI application") }, \
{ "no-win32", 0, N_("Don't set Windows defines") }, \
{ "win32", 0, N_("Set Windows defines") }, \
{ "console", 0, N_("Create console application") },\
{ "dll", 0, N_("Generate code for a DLL") }, \
{ "nop-fun-dllimport", MASK_NOP_FUN_DLLIMPORT, \
N_("Ignore dllimport for functions") }, \
{ "no-nop-fun-dllimport", -MASK_NOP_FUN_DLLIMPORT, "" }, \
{ "threads", 0, N_("Use Mingw-specific thread support") },
#define MAYBE_UWIN_CPP_BUILTINS() /* Nothing. */ #define MAYBE_UWIN_CPP_BUILTINS() /* Nothing. */
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
......
; Cygwin- and MinGW-specific options.
; Copyright (C) 2005 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING. If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
mconsole
Target RejectNegative
Create console application
mcygwin
Target
Use the Cygwin interface
mdll
Target RejectNegative
Generate code for a DLL
mnop-fun-dllimport
Target Report Var(TARGET_NOP_FUN_DLLIMPORT)
Ignore dllimport for functions
mthreads
Target RejectNegative
Use Mingw-specific thread support
mwin32
Target
Set Windows defines
mwindows
Target
Create GUI application
...@@ -169,24 +169,14 @@ Boston, MA 02111-1307, USA. */ ...@@ -169,24 +169,14 @@ Boston, MA 02111-1307, USA. */
/* Used to be defined in xm-djgpp.h, but moved here for cross-compilers. */ /* Used to be defined in xm-djgpp.h, but moved here for cross-compilers. */
#define LIBSTDCXX "-lstdcxx" #define LIBSTDCXX "-lstdcxx"
/* -mbnu210 is now ignored and obsolete. It was used to enable support for
weak symbols, and .gnu.linkonce support. */
#undef MASK_BNU210
#define MASK_BNU210 (0x40000000)
#define TARGET_VERSION fprintf (stderr, " (80386, MS-DOS DJGPP)"); #define TARGET_VERSION fprintf (stderr, " (80386, MS-DOS DJGPP)");
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
{ "no-bnu210", -MASK_BNU210, "Ignored (obsolete)" }, \
{ "bnu210", MASK_BNU210, "Ignored (obsolete)" },
/* Warn that -mbnu210 is now obsolete. */ /* Warn that -mbnu210 is now obsolete. */
#undef SUBTARGET_OVERRIDE_OPTIONS #undef SUBTARGET_OVERRIDE_OPTIONS
#define SUBTARGET_OVERRIDE_OPTIONS \ #define SUBTARGET_OVERRIDE_OPTIONS \
do \ do \
{ \ { \
if (target_flags & MASK_BNU210) \ if (TARGET_BNU210) \
{ \ { \
warning ("-mbnu210 is ignored (option is obsolete)"); \ warning ("-mbnu210 is ignored (option is obsolete)"); \
} \ } \
......
; DJGPP-specific options.
; Copyright (C) 2005 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING. If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
;; -mbnu210 is now ignored and obsolete. It was used to enable support for
;; weak symbols, and .gnu.linkonce support.
mbnu210
Target Var(TARGET_BNU210)
Ignored (obsolete)
...@@ -787,17 +787,15 @@ struct ix86_frame ...@@ -787,17 +787,15 @@ struct ix86_frame
bool save_regs_using_mov; bool save_regs_using_mov;
}; };
/* Used to enable/disable debugging features. */
const char *ix86_debug_arg_string, *ix86_debug_addr_string;
/* Code model option as passed by user. */ /* Code model option as passed by user. */
const char *ix86_cmodel_string; static const char *ix86_cmodel_string;
/* Parsed value. */ /* Parsed value. */
enum cmodel ix86_cmodel; enum cmodel ix86_cmodel;
/* Asm dialect. */ /* Asm dialect. */
const char *ix86_asm_string; static const char *ix86_asm_string;
enum asm_dialect ix86_asm_dialect = ASM_ATT; enum asm_dialect ix86_asm_dialect = ASM_ATT;
/* TLS dialext. */ /* TLS dialext. */
const char *ix86_tls_dialect_string; static const char *ix86_tls_dialect_string;
enum tls_dialect ix86_tls_dialect = TLS_DIALECT_GNU; enum tls_dialect ix86_tls_dialect = TLS_DIALECT_GNU;
/* Which unit we are generating floating point math for. */ /* Which unit we are generating floating point math for. */
...@@ -811,42 +809,43 @@ enum processor_type ix86_arch; ...@@ -811,42 +809,43 @@ enum processor_type ix86_arch;
/* Strings to hold which cpu and instruction set architecture to use. */ /* Strings to hold which cpu and instruction set architecture to use. */
const char *ix86_tune_string; /* for -mtune=<xxx> */ const char *ix86_tune_string; /* for -mtune=<xxx> */
const char *ix86_arch_string; /* for -march=<xxx> */ const char *ix86_arch_string; /* for -march=<xxx> */
const char *ix86_fpmath_string; /* for -mfpmath=<xxx> */ static const char *ix86_fpmath_string; /* for -mfpmath=<xxx> */
/* # of registers to use to pass arguments. */ /* # of registers to use to pass arguments. */
const char *ix86_regparm_string; static const char *ix86_regparm_string;
/* true if sse prefetch instruction is not NOOP. */ /* true if sse prefetch instruction is not NOOP. */
int x86_prefetch_sse; int x86_prefetch_sse;
/* ix86_regparm_string as a number */ /* ix86_regparm_string as a number */
int ix86_regparm; static int ix86_regparm;
/* Alignment to use for loops and jumps: */ /* Alignment to use for loops and jumps: */
/* Power of two alignment for loops. */ /* Power of two alignment for loops. */
const char *ix86_align_loops_string; static const char *ix86_align_loops_string;
/* Power of two alignment for non-loop jumps. */ /* Power of two alignment for non-loop jumps. */
const char *ix86_align_jumps_string; static const char *ix86_align_jumps_string;
/* Power of two alignment for stack boundary in bytes. */ /* Power of two alignment for stack boundary in bytes. */
const char *ix86_preferred_stack_boundary_string; static const char *ix86_preferred_stack_boundary_string;
/* Preferred alignment for stack boundary in bits. */ /* Preferred alignment for stack boundary in bits. */
unsigned int ix86_preferred_stack_boundary; unsigned int ix86_preferred_stack_boundary;
/* Values 1-5: see jump.c */ /* Values 1-5: see jump.c */
int ix86_branch_cost; int ix86_branch_cost;
const char *ix86_branch_cost_string; static const char *ix86_branch_cost_string;
/* Power of two alignment for functions. */ /* Power of two alignment for functions. */
const char *ix86_align_funcs_string; static const char *ix86_align_funcs_string;
/* Prefix built by ASM_GENERATE_INTERNAL_LABEL. */ /* Prefix built by ASM_GENERATE_INTERNAL_LABEL. */
char internal_label_prefix[16]; char internal_label_prefix[16];
int internal_label_prefix_len; int internal_label_prefix_len;
static bool ix86_handle_option (size_t, const char *, int);
static void output_pic_addr_const (FILE *, rtx, int); static void output_pic_addr_const (FILE *, rtx, int);
static void put_condition_code (enum rtx_code, enum machine_mode, static void put_condition_code (enum rtx_code, enum machine_mode,
int, int, FILE *); int, int, FILE *);
...@@ -1045,6 +1044,16 @@ static void init_ext_80387_constants (void); ...@@ -1045,6 +1044,16 @@ static void init_ext_80387_constants (void);
#undef TARGET_ASM_FILE_START #undef TARGET_ASM_FILE_START
#define TARGET_ASM_FILE_START x86_file_start #define TARGET_ASM_FILE_START x86_file_start
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS \
(TARGET_DEFAULT \
| TARGET_64BIT_DEFAULT \
| TARGET_SUBTARGET_DEFAULT \
| TARGET_TLS_DIRECT_SEG_REFS_DEFAULT)
#undef TARGET_HANDLE_OPTION
#define TARGET_HANDLE_OPTION ix86_handle_option
#undef TARGET_RTX_COSTS #undef TARGET_RTX_COSTS
#define TARGET_RTX_COSTS ix86_rtx_costs #define TARGET_RTX_COSTS ix86_rtx_costs
#undef TARGET_ADDRESS_COST #undef TARGET_ADDRESS_COST
...@@ -1095,6 +1104,98 @@ struct gcc_target targetm = TARGET_INITIALIZER; ...@@ -1095,6 +1104,98 @@ struct gcc_target targetm = TARGET_INITIALIZER;
#define DEFAULT_PCC_STRUCT_RETURN 1 #define DEFAULT_PCC_STRUCT_RETURN 1
#endif #endif
/* Implement TARGET_HANDLE_OPTION. */
static bool
ix86_handle_option (size_t code, const char *arg, int value)
{
switch (code)
{
case OPT_m3dnow:
if (!value)
{
target_flags &= ~MASK_3DNOW_A;
target_flags_explicit |= MASK_3DNOW_A;
}
return true;
case OPT_malign_functions_:
ix86_align_funcs_string = arg;
return true;
case OPT_malign_jumps_:
ix86_align_jumps_string = arg;
return true;
case OPT_malign_loops_:
ix86_align_loops_string = arg;
return true;
case OPT_march_:
ix86_arch_string = arg;
return true;
case OPT_masm_:
ix86_asm_string = arg;
return true;
case OPT_mbranch_cost_:
ix86_branch_cost_string = arg;
return true;
case OPT_mcmodel_:
ix86_cmodel_string = arg;
return true;
case OPT_mfpmath_:
ix86_fpmath_string = arg;
return true;
case OPT_mmmx:
if (!value)
{
target_flags &= ~(MASK_3DNOW | MASK_3DNOW_A);
target_flags_explicit |= MASK_3DNOW | MASK_3DNOW_A;
}
return true;
case OPT_mpreferred_stack_boundary_:
ix86_preferred_stack_boundary_string = arg;
return true;
case OPT_mregparm_:
ix86_regparm_string = arg;
return true;
case OPT_msse:
if (!value)
{
target_flags &= ~(MASK_SSE2 | MASK_SSE3);
target_flags_explicit |= MASK_SSE2 | MASK_SSE3;
}
return true;
case OPT_msse2:
if (!value)
{
target_flags &= ~MASK_SSE3;
target_flags_explicit |= MASK_SSE3;
}
return true;
case OPT_mtls_dialect_:
ix86_tls_dialect_string = arg;
return true;
case OPT_mtune_:
ix86_tune_string = arg;
return true;
default:
return true;
}
}
/* Sometimes certain combinations of command options do not make /* Sometimes certain combinations of command options do not make
sense on a particular target machine. You can define a macro sense on a particular target machine. You can define a macro
`OVERRIDE_OPTIONS' to take account of this. This macro, if `OVERRIDE_OPTIONS' to take account of this. This macro, if
...@@ -15908,10 +16009,6 @@ x86_order_regs_for_local_alloc (void) ...@@ -15908,10 +16009,6 @@ x86_order_regs_for_local_alloc (void)
reg_alloc_order [pos++] = 0; reg_alloc_order [pos++] = 0;
} }
#ifndef TARGET_USE_MS_BITFIELD_LAYOUT
#define TARGET_USE_MS_BITFIELD_LAYOUT 0
#endif
/* Handle a "ms_struct" or "gcc_struct" attribute; arguments as in /* Handle a "ms_struct" or "gcc_struct" attribute; arguments as in
struct attribute_spec.handler. */ struct attribute_spec.handler. */
static tree static tree
...@@ -15951,7 +16048,7 @@ ix86_handle_struct_attribute (tree *node, tree name, ...@@ -15951,7 +16048,7 @@ ix86_handle_struct_attribute (tree *node, tree name,
static bool static bool
ix86_ms_bitfield_layout_p (tree record_type) ix86_ms_bitfield_layout_p (tree record_type)
{ {
return (TARGET_USE_MS_BITFIELD_LAYOUT && return (TARGET_MS_BITFIELD_LAYOUT &&
!lookup_attribute ("gcc_struct", TYPE_ATTRIBUTES (record_type))) !lookup_attribute ("gcc_struct", TYPE_ATTRIBUTES (record_type)))
|| lookup_attribute ("ms_struct", TYPE_ATTRIBUTES (record_type)); || lookup_attribute ("ms_struct", TYPE_ATTRIBUTES (record_type));
} }
......
; Options for the IA-32 and AMD64 ports of the compiler.
; Copyright (C) 2005 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING. If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
m128bit-long-double
Target RejectNegative Report Mask(128BIT_LONG_DOUBLE)
sizeof(long double) is 16
m32
Target RejectNegative Report InverseMask(64BIT)
Generate 32bit i386 code
m386
Target RejectNegative Undocumented
;; Deprecated
m3dnow
Target Report Mask(3DNOW)
Support 3DNow! built-in functions
m486
Target RejectNegative Undocumented
;; Deprecated
m64
Target RejectNegative Report Mask(64BIT)
Generate 64bit x86-64 code
m80387
Target Report Mask(80387)
Use hardware fp
m96bit-long-double
Target RejectNegative Report InverseMask(128BIT_LONG_DOUBLE)
sizeof(long double) is 12
maccumulate-outgoing-args
Target Report Mask(ACCUMULATE_OUTGOING_ARGS)
Reserve space for outgoing arguments in the function prologue
malign-double
Target Report Mask(ALIGN_DOUBLE)
Align some doubles on dword boundary
malign-functions=
Target RejectNegative Joined
Function starts are aligned to this power of 2
malign-jumps=
Target RejectNegative Joined
Jump targets are aligned to this power of 2
malign-loops=
Target RejectNegative Joined
Loop code aligned to this power of 2
malign-stringops
Target RejectNegative Report InverseMask(NO_ALIGN_STRINGOPS, ALIGN_STRINGOPS)
Align destination of the string operations
march=
Target RejectNegative Joined
Generate code for given CPU
masm=
Target RejectNegative Joined
Use given assembler dialect
mbranch-cost=
Target RejectNegative Joined
Branches are this expensive (1-5, arbitrary units)
mcmodel=
Target RejectNegative Joined
Use given x86-64 code model
mdebug-addr
Target RejectNegative Var(TARGET_DEBUG_ADDR) Undocumented
mdebug-arg
Target RejectNegative Var(TARGET_DEBUG_ARG) Undocumented
mfancy-math-387
Target RejectNegative Report InverseMask(NO_FANCY_MATH_387, USE_FANCY_MATH_387)
Generate sin, cos, sqrt for FPU
mfp-ret-in-387
Target Report Mask(FLOAT_RETURNS)
Return values of functions in FPU registers
mfpmath=
Target RejectNegative Joined
Generate floating point mathematics using given instruction set
mhard-float
Target RejectNegative Mask(80387) MaskExists
Use hardware fp
mieee-fp
Target Report Mask(IEEE_FP)
Use IEEE math for fp comparisons
minline-all-stringops
Target Report Mask(INLINE_ALL_STRINGOPS)
Inline all known string operations
mintel-syntax
Target Undocumented
;; Deprecated
mmmx
Target Report Mask(MMX)
Support MMX built-in functions
mms-bitfields
Target Report Mask(MS_BITFIELD_LAYOUT)
Use native (MS) bitfield layout
mno-align-stringops
Target RejectNegative Report Mask(NO_ALIGN_STRINGOPS) Undocumented
mno-fancy-math-387
Target RejectNegative Report Mask(NO_FANCY_MATH_387) Undocumented
mno-push-args
Target RejectNegative Report Mask(NO_PUSH_ARGS) Undocumented
mno-red-zone
Target RejectNegative Report Mask(NO_RED_ZONE) Undocumented
momit-leaf-frame-pointer
Target Report Mask(OMIT_LEAF_FRAME_POINTER)
Omit the frame pointer in leaf functions
mpentium
Target RejectNegative Undocumented
;; Deprecated
mpentiumpro
Target RejectNegative Undocumented
;; Deprecated
mpreferred-stack-boundary=
Target RejectNegative Joined
Attempt to keep stack aligned to this power of 2
mpush-args
Target Report InverseMask(NO_PUSH_ARGS, PUSH_ARGS)
Use push instructions to save outgoing arguments
mred-zone
Target RejectNegative Report InverseMask(NO_RED_ZONE, RED_ZONE)
Use red-zone in the x86-64 code
mregparm=
Target RejectNegative Joined
Number of registers used to pass integer arguments
mrtd
Target Report Mask(RTD)
Alternate calling convention
msoft-float
Target InverseMask(80387)
Do not use hardware fp
msse
Target Report Mask(SSE)
Support MMX and SSE built-in functions and code generation
msse2
Target Report Mask(SSE2)
Support MMX, SSE and SSE2 built-in functions and code generation
msse3
Target Report Mask(SSE3)
Support MMX, SSE, SSE2 and SSE3 built-in functions and code generation
msvr3-shlib
Target Report Mask(SVR3_SHLIB)
Uninitialized locals in .bss
mstack-arg-probe
Target Report Mask(STACK_PROBE)
Enable stack probing
mtls-dialect=
Target RejectNegative Joined
Use given thread-local storage dialect
mtls-direct-seg-refs
Target Report Mask(TLS_DIRECT_SEG_REFS)
Use direct references against %gs when accessing tls data
mtune=
Target RejectNegative Joined
Schedule code for given CPU
;; Support Athlon 3Dnow builtins
Mask(3DNOW_A)
...@@ -71,12 +71,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -71,12 +71,6 @@ Boston, MA 02111-1307, USA. */
} while (0) } while (0)
#endif #endif
/* Since i386.h defines an empty SUBTARGET_SWITCHES the definition in
config/lynx.h is omitted. */
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES SUBTARGET_OS_LYNX_SWITCHES
/* Undefine SUBTARGET_EXTRA_SPECS it is empty anyway. We define it in /* Undefine SUBTARGET_EXTRA_SPECS it is empty anyway. We define it in
config/lynx.h. */ config/lynx.h. */
......
...@@ -281,14 +281,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -281,14 +281,6 @@ Boston, MA 02111-1307, USA. */
#define LIBGCC_SPEC \ #define LIBGCC_SPEC \
"%{!shared:%{!G:-lgcc}}" "%{!shared:%{!G:-lgcc}}"
/* Here for legacy support only so we still accept -melf flag */
#define MASK_COFF 010000000000 /* Mask for COFF generation */
#define TARGET_ELF (1)
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
{ "elf", -MASK_COFF, N_("Generate ELF output") },
/* Handle special EH pointer encodings. Absolute, pc-relative, and /* Handle special EH pointer encodings. Absolute, pc-relative, and
indirect are handled automatically. */ indirect are handled automatically. */
#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ #define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
......
; SCO Unix-specific options.
; Copyright (C) 2005 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING. If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
;; Legacy option
melf
Target RejectNegative
Generate ELF output
...@@ -129,20 +129,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -129,20 +129,6 @@ Boston, MA 02111-1307, USA. */
%{mthreads: thread/crtn.o%s} %{!mthreads: crtn.o%s}" %{mthreads: thread/crtn.o%s} %{!mthreads: crtn.o%s}"
#endif #endif
/* Because of the %{m*} in cc1_options these options get substituted
for cc1. We ignore them here. */
#ifndef SUBTARGET_OS_LYNX_SWITCHES
# define SUBTARGET_OS_LYNX_SWITCHES \
{ "shared", 0, N_("Use shared libraries") }, \
{ "threads", 0, N_("Support multi-threading") }, \
{ "legacy-threads", 0, N_("Support legacy multi-threading") },
#endif
#ifndef SUBTARGET_SWITCHES
# define SUBTARGET_SWITCHES SUBTARGET_OS_LYNX_SWITCHES
#endif
/* Define the actual types of some ANSI-mandated types. */ /* Define the actual types of some ANSI-mandated types. */
#ifndef SIZE_TYPE #ifndef SIZE_TYPE
......
; Processor-independent options for LynxOS.
; Copyright (C) 2005 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 2, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING. If not, write to the Free
; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
; 02111-1307, USA.
mlegacy-threads
Target RejectNegative
Support legacy multi-threading
mshared
Target RejectNegative
Use shared libraries
mthreads
Target RejectNegative
Support multi-threading
...@@ -95,17 +95,6 @@ do { \ ...@@ -95,17 +95,6 @@ do { \
warning ("-fpic is not supported; -fPIC assumed"); \ warning ("-fpic is not supported; -fPIC assumed"); \
flag_pic = 2; \ flag_pic = 2; \
} \ } \
\
/* Handle -mfix-and-continue. */ \
if (darwin_fix_and_continue_switch) \
{ \
const char *base = darwin_fix_and_continue_switch; \
while (base[-1] != 'm') base--; \
\
if (*darwin_fix_and_continue_switch != '\0') \
error ("invalid option %qs", base); \
darwin_fix_and_continue = (base[0] != 'n'); \
} \
} \ } \
if (TARGET_64BIT && ! TARGET_POWERPC64) \ if (TARGET_64BIT && ! TARGET_POWERPC64) \
{ \ { \
...@@ -391,7 +380,6 @@ do { \ ...@@ -391,7 +380,6 @@ do { \
/* For binary compatibility with 2.95; Darwin C APIs use bool from /* For binary compatibility with 2.95; Darwin C APIs use bool from
stdbool.h, which was an int-sized enum in 2.95. Users can explicitly stdbool.h, which was an int-sized enum in 2.95. Users can explicitly
choose to have sizeof(bool)==1 with the -mone-byte-bool switch. */ choose to have sizeof(bool)==1 with the -mone-byte-bool switch. */
extern const char *darwin_one_byte_bool;
#define BOOL_TYPE_SIZE (darwin_one_byte_bool ? CHAR_TYPE_SIZE : INT_TYPE_SIZE) #define BOOL_TYPE_SIZE (darwin_one_byte_bool ? CHAR_TYPE_SIZE : INT_TYPE_SIZE)
#undef REGISTER_TARGET_PRAGMAS #undef REGISTER_TARGET_PRAGMAS
......
...@@ -89,9 +89,6 @@ ...@@ -89,9 +89,6 @@
#undef ASM_APP_OFF #undef ASM_APP_OFF
#define ASM_APP_OFF "#NO_APP\n" #define ASM_APP_OFF "#NO_APP\n"
#undef EXTRA_SUBTARGET_SWITCHES
#define EXTRA_SUBTARGET_SWITCHES SUBTARGET_OS_LYNX_SWITCHES
/* LynxOS does not do anything with .fixup plus let's not create /* LynxOS does not do anything with .fixup plus let's not create
writable section for linkonce.r and linkonce.t. */ writable section for linkonce.r and linkonce.t. */
......
...@@ -1311,9 +1311,8 @@ rs6000_override_options (const char *default_cpu) ...@@ -1311,9 +1311,8 @@ rs6000_override_options (const char *default_cpu)
if (DEFAULT_ABI == ABI_DARWIN && TARGET_64BIT) if (DEFAULT_ABI == ABI_DARWIN && TARGET_64BIT)
{ {
rs6000_darwin64_abi = 1; rs6000_darwin64_abi = 1;
/* Setting to empty string is same as "-mone-byte-bool". */
#if TARGET_MACHO #if TARGET_MACHO
darwin_one_byte_bool = ""; darwin_one_byte_bool = 1;
#endif #endif
/* Default to natural alignment, for better performance. */ /* Default to natural alignment, for better performance. */
rs6000_alignment_flags = MASK_ALIGN_NATURAL; rs6000_alignment_flags = MASK_ALIGN_NATURAL;
......
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