diff options
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h index 3138ed2a99d..4fda6d57b54 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -157,6 +157,11 @@ extern int regno_clobbered_at_setjmp (int); /* Tell assembler to switch to text section. */ extern void text_section (void); +/* APPLE LOCAL begin hot/cold partitioning */ +/* Tell assembler to switch to unlikely-to-be-executed text section. */ +extern void unlikely_text_section (void); +/* APPLE LOCAL end hot/cold partitioning */ + /* Tell assembler to switch to data section. */ extern void data_section (void); @@ -167,6 +172,11 @@ extern void readonly_data_section (void); /* Determine if we're in the text section. */ extern int in_text_section (void); +/* APPLE LOCAL begin hot/cold partitioning */ +/* Determine if we're in the unlikely-to-be-executed text section. */ +extern int in_unlikely_text_section (void); +/* APPLE LOCAL end hot/cold partitioning */ + #ifdef CTORS_SECTION_ASM_OP extern void ctors_section (void); #endif @@ -516,4 +526,8 @@ extern bool default_valid_pointer_mode (enum machine_mode); extern int default_address_cost (rtx); +/* APPLE LOCAL begin coalescing */ +extern int darwin_named_section_is (const char* name); +/* APPLE LOCAL end coalescing */ + #endif /* ! GCC_OUTPUT_H */ |