darwin.h (SUBTARGET_OPTIONS): Move from here, to...
authorMike Stump <mrs@apple.com>
Sat, 21 Aug 2004 17:02:52 +0000 (17:02 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Sat, 21 Aug 2004 17:02:52 +0000 (17:02 +0000)
* 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

gcc/ChangeLog
gcc/config/darwin.h
gcc/config/rs6000/darwin.h

index f557d4081a3bdab4da44de4c05f073c91f0de2e1..67412fa2e5991c2d2e5d4a1c4489cfb4888c2a64 100644 (file)
@@ -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
index cd37567215e2bd79d7ff8b9cec5629cb42db6cd9..0099e0bbbd3a13ca59e02e5fcdb7a2bd2520f561 100644 (file)
@@ -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.  */
 
index f1d5e7658639dc447fa62b2d12a7fcaca86d2757..b2b8e28e375a76749657289e172aab9b9a529465 100644 (file)
@@ -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