aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-06-04 18:44:51 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2003-06-04 18:44:51 +0200
commit3edc56a9e5499b79239967350162066d99eaf95a (patch)
tree183ccc7e9327b3b5ce962ea21bd520f0b9da84dc /gcc/function.h
parentd2c49530bb30888afa711911c98fc8d9bf6ee380 (diff)
downloadgcc-3edc56a9e5499b79239967350162066d99eaf95a.zip
gcc-3edc56a9e5499b79239967350162066d99eaf95a.tar.gz
gcc-3edc56a9e5499b79239967350162066d99eaf95a.tar.bz2
function.c (trampolines_created): New variable.
* function.c (trampolines_created): New variable. (expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE. * function.h (trampolines_created): Add. * config/s390/linux.h (ASM_FILE_END): Define. * config/alpha/linux-elf.h (ASM_FILE_END): Define. * config/m68k/linux.h (ASM_FILE_END): Define. * config/rs6000/linux.h (ASM_FILE_END): Define. * config/rs6000/linux64.h (ASM_FILE_END): Define. * config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux. * config/sparc/linux.h (ASM_FILE_END): Define. * config/sparc/linux64.h (ASM_FILE_END): Define. * config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END. * config/i386/linux.h (SUBTARGET_FILE_END): Define. * config/i386/linux64.h (SUBTARGET_FILE_END): Define. From-SVN: r67447
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index d29b40c..f9db14c 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -513,6 +513,9 @@ extern GTY(()) struct function *cfun;
/* Nonzero if we've already converted virtual regs to hard regs. */
extern int virtuals_instantiated;
+/* Nonzero if at least one trampoline has been created. */
+extern int trampolines_created;
+
/* For backward compatibility... eventually these should all go away. */
#define current_function_name (cfun->name)
#define current_function_pops_args (cfun->pops_args)