diff options
author | Mike Stump <mrs@apple.com> | 2004-08-21 17:02:52 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2004-08-21 17:02:52 +0000 |
commit | bdfd0ed47e4b2449c1bd87f38aef92091e16feff (patch) | |
tree | ee8c1501752d6347807de662af82b1e334e68e45 /gcc | |
parent | 6afe78f3ca6bf5bddcb6183d406ed4fa8bbe38a1 (diff) | |
download | gcc-bdfd0ed47e4b2449c1bd87f38aef92091e16feff.zip gcc-bdfd0ed47e4b2449c1bd87f38aef92091e16feff.tar.gz gcc-bdfd0ed47e4b2449c1bd87f38aef92091e16feff.tar.bz2 |
darwin.h (SUBTARGET_OPTIONS): Move from here, to...
* config/rs6000/darwin.h (SUBTARGET_OPTIONS): Move from here, to...
(darwin_fix_and_continue): Likewise.
(darwin_fix_and_continue_switch): Likewise.
* config/darwin.h (SUBTARGET_OPTIONS): ...here, to fix -mone-byte-bool.
(darwin_fix_and_continue): Likewise.
(darwin_fix_and_continue_switch): Likewise.
From-SVN: r86365
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/darwin.h | 9 | ||||
-rw-r--r-- | gcc/config/rs6000/darwin.h | 10 |
3 files changed, 17 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f557d40..67412fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2004-08-21 Mike Stump <mrs@apple.com> + + * config/rs6000/darwin.h (SUBTARGET_OPTIONS): Move from here, to... + (darwin_fix_and_continue): Likewise. + (darwin_fix_and_continue_switch): Likewise. + * config/darwin.h (SUBTARGET_OPTIONS): ...here, to fix -mone-byte-bool. + (darwin_fix_and_continue): Likewise. + (darwin_fix_and_continue_switch): Likewise. + 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net> PR c++/16030 diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index cd37567..0099e0b 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -140,9 +140,16 @@ Boston, MA 02111-1307, USA. */ 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 } + {"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. */ diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index f1d5e76..b2b8e28 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -381,16 +381,6 @@ extern const char *darwin_one_byte_bool; #define HAS_MD_FALLBACK_FRAME_STATE_FOR 1 -#undef SUBTARGET_OPTIONS -#define SUBTARGET_OPTIONS \ - {"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} - -extern int darwin_fix_and_continue; -extern const char *darwin_fix_and_continue_switch; - /* 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 |