summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-19 00:43:03 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-19 00:43:03 +0000
commitf0ed0e8a52bc2aada0e3f4b71c157aa6442cc43c (patch)
treeea5d03b0aaee03b493d57579a2aa9286740b2ad3 /gcc/config/darwin.h
parent9858d888671294ad272204b0ace61e31c3cd4a0f (diff)
downloadgcc-f0ed0e8a52bc2aada0e3f4b71c157aa6442cc43c.tar.gz
* doc/invoke.texi (-mfix-and-continue): Add support for
fast turn around debugging. (-ffix-and-continue): Likewise. (-mindirect-data): Likewise. (-findirect-data): Likewise. * config/darwin.c (TARGET_FIX_AND_CONTINUE): Likewise. (indirect_data): Likewise. (machopic_data_defined_p): Likewise. (machopic_output_indirection): Likewise. (darwin_encode_section_info): Likewise. (darwin_fix_and_continue): Likewise. (darwin_fix_and_continue_switch): Likewise. * config/darwin.h (MACHO_SYMBOL_STATIC): Likewise. * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. (SUBTARGET_OPTION_TRANSLATE_TABLE): Likewise. (SUBTARGET_OPTIONS): Likewise. (darwin_fix_and_continue): Likewise. (darwin_fix_and_continue_switch): Likewise. (TARGET_FIX_AND_CONTINUE): Likewise. * config/rs6000.c (rs6000_emit_prologue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86229 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 24945891891..cd37567215e 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -812,9 +812,17 @@ objc_section_init (void) \
/* Set on a symbol with SYMBOL_FLAG_FUNCTION or
MACHO_SYMBOL_FLAG_VARIABLE to indicate that the function or
variable has been defined in this translation unit. */
+
#define MACHO_SYMBOL_FLAG_VARIABLE (SYMBOL_FLAG_MACH_DEP)
#define MACHO_SYMBOL_FLAG_DEFINED ((SYMBOL_FLAG_MACH_DEP) << 1)
+/* Set on a symbol to indicate when fix-and-continue style code
+ generation is being used and the symbol refers to a static symbol
+ that should be rebound from new instances of a translation unit to
+ the original instance of the data. */
+
+#define MACHO_SYMBOL_STATIC ((SYMBOL_FLAG_MACH_DEP) << 2)
+
/* Symbolic names for various things we might know about a symbol. */
enum machopic_addr_class {