aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-14 18:19:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-14 18:19:09 +0000
commit341a243eaf86f5e0e1534698240cf215794f4771 (patch)
tree1e9afbcb55cdfa686ce8918bf81ce92b95aee8fd /gcc/varasm.c
parentda09e3172ddd820e2115b5c3eb72b5bc023c983b (diff)
downloadgcc-341a243eaf86f5e0e1534698240cf215794f4771.zip
gcc-341a243eaf86f5e0e1534698240cf215794f4771.tar.gz
gcc-341a243eaf86f5e0e1534698240cf215794f4771.tar.bz2
c-pragma.c (handle_pragma_token): Wrap variables `name' and `value' in HANDLE_PRAGMA_WEAK.
* c-pragma.c (handle_pragma_token): Wrap variables `name' and `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP. * genrecog.c (make_insn_sequence): Call memset, not bzero. * jump.c (find_insert_position): Don't declare or define unless !HAVE_conditional_arithmetic. (returnjump_p_1, delete_prior_computation): Add static prototypes. * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes. * recog.c (offsettable_address_p): Prototype function pointer. (preprocess_constraints): Call memset, not bzero. * tree.c (tree_node_kind_names): Constify a char*. Make static. (gcc_obstack_init): Don't declare. (fix_sizetype): Add static prototype. (gcc_obstack_init): Use prototype casts in call to _obstack_begin. (tree_cons): Call memset, not bzero. * varasm.c (remove_from_pending_weak_list): Wrap declaration and definition in macro ASM_WEAKEN_LABEL. (mark_const_hash_entry): Add static prototype. From-SVN: r29410
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index b3817cc..779aeaa 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -177,7 +177,9 @@ static void mark_constants PROTO((rtx));
static int output_addressed_constants PROTO((tree));
static void output_after_function_constants PROTO((void));
static void output_constructor PROTO((tree, int));
+#ifdef ASM_WEAKEN_LABEL
static void remove_from_pending_weak_list PROTO ((char *));
+#endif
#ifdef ASM_OUTPUT_BSS
static void asm_output_bss PROTO((FILE *, tree, char *, int, int));
#endif
@@ -188,6 +190,7 @@ static void asm_output_aligned_bss PROTO((FILE *, tree, char *, int, int));
#endif /* BSS_SECTION_ASM_OP */
static void mark_pool_constant PROTO((struct pool_constant *));
static void mark_pool_sym_hash_table PROTO((struct pool_sym **));
+static void mark_const_hash_entry PROTO((void *));
static enum in_section { no_section, in_text, in_data, in_named
#ifdef BSS_SECTION_ASM_OP
@@ -4445,6 +4448,7 @@ weak_finish ()
/* Remove NAME from the pending list of weak symbols. This prevents
the compiler from emitting multiple .weak directives which confuses
some assemblers. */
+#ifdef ASM_WEAKEN_LABEL
static void
remove_from_pending_weak_list (name)
char *name ATTRIBUTE_UNUSED;
@@ -4461,6 +4465,7 @@ remove_from_pending_weak_list (name)
}
#endif
}
+#endif
void
assemble_alias (decl, target)