diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-11-22 09:22:52 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-11-22 09:22:52 +0100 |
commit | a7fe25b885e77e8bc7d31a24b3a39330af7ce896 (patch) | |
tree | 7469da4a5aa75fe9e17224ad66d315aa58c26db1 /gcc/output.h | |
parent | 3b13901446c8019b68e5de6406bc7d3d3ce69a3e (diff) | |
download | gcc-a7fe25b885e77e8bc7d31a24b3a39330af7ce896.zip gcc-a7fe25b885e77e8bc7d31a24b3a39330af7ce896.tar.gz gcc-a7fe25b885e77e8bc7d31a24b3a39330af7ce896.tar.bz2 |
re PR target/37170 (gcc.dg/weak/weak-1.c)
PR target/37170
* final.c (mark_symbol_refs_as_used): New function.
* output.h (mark_symbol_refs_as_used): New prototype.
* config/s390/s390.c (s390_mark_symbol_ref_as_used): Removed.
(s390_output_pool_entry): Use mark_symbol_refs_as_used.
* config/arm/arm.md (consttable_4): Likewise.
From-SVN: r142113
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/output.h b/gcc/output.h index 51adcd2..79b628f 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -1,7 +1,7 @@ /* Declarations for insn-output.c. These functions are defined in recog.c, final.c, and varasm.c. Copyright (C) 1987, 1991, 1994, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GCC. @@ -97,6 +97,9 @@ extern int label_to_alignment (rtx); /* Output a LABEL_REF, or a bare CODE_LABEL, as an assembler symbol. */ extern void output_asm_label (rtx); +/* Marks SYMBOL_REFs in x as referenced through use of assemble_external. */ +extern void mark_symbol_refs_as_used (rtx); + /* Print a memory reference operand for address X using machine-dependent assembler syntax. */ extern void output_address (rtx); |