darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update comment.

2006-09-07  Eric Christopher  <echristo@apple.com>

        * config/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update
        comment.
        * config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE):
        Redefine.

From-SVN: r116774
This commit is contained in:
Eric Christopher 2006-09-08 00:22:49 +00:00 committed by Eric Christopher
parent d96da27e3a
commit 2e71a7a31e
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-09-07 Eric Christopher <echristo@apple.com>
* config/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE): Update
comment.
* config/i386/darwin.h (MACHO_SYMBOL_FLAG_VARIABLE):
Redefine.
2006-09-07 Geoffrey Keating <geoffk@apple.com>
* dwarf2out.c: Remove strange characters from comment above

View File

@ -698,7 +698,9 @@ extern GTY(()) section * darwin_sections[NUM_DARWIN_SECTIONS];
/* 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. */
variable has been defined in this translation unit.
When porting Mach-O to new architectures you need to make
sure these aren't clobbered by the backend. */
#define MACHO_SYMBOL_FLAG_VARIABLE (SYMBOL_FLAG_MACH_DEP)
#define MACHO_SYMBOL_FLAG_DEFINED ((SYMBOL_FLAG_MACH_DEP) << 1)

View File

@ -223,3 +223,8 @@ __enable_execute_stack (void *addr) \
#undef TARGET_SET_DEFAULT_TYPE_ATTRIBUTES
#define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES darwin_set_default_type_attributes
/* This needs to move since i386 uses the first flag and other flags are
used in Mach-O. */
#undef MACHO_SYMBOL_FLAG_VARIABLE
#define MACHO_SYMBOL_FLAG_VARIABLE ((SYMBOL_FLAG_MACH_DEP) << 3)