aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-06-23 22:52:14 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2003-06-23 22:52:14 +0200
commit89ce1c8f763e1c3485d97d3c8c74f75f94bf0e09 (patch)
treed7c9b0e8e53eafd5f6f0295ca3b1bf6241af32c5 /gcc/varasm.c
parent11405c93c09fb95c29b83bb6d8dccb0bed0e4d89 (diff)
downloadgcc-89ce1c8f763e1c3485d97d3c8c74f75f94bf0e09.zip
gcc-89ce1c8f763e1c3485d97d3c8c74f75f94bf0e09.tar.gz
gcc-89ce1c8f763e1c3485d97d3c8c74f75f94bf0e09.tar.bz2
i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF.
* config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0, just SYMBOL_REF. * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31 mode, as it requires pic register loaded. * varasm.c (resolve_unique_section): Remove prototype. No longer static. * tree.h (resolve_unique_section): New prototype. cp/ * method.c (thunk_labelno): New variable. (make_alias_for_thunk): New function. (use_thunk): Use it if defined ASM_OUTPUT_DEF. Put the thunk into the same section as the function it is calling. Include gt-cp-method.h. * Make-lang.in (gt-cp-method.h): Depend on s-gtype. (cp/method.o): Depend on gt-cp-method.h. * config-lang.in (gtfiles): Add $(srcdir)/cp/method.c. From-SVN: r68389
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index a76d23a..091bbb3 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -183,7 +183,6 @@ static void asm_output_aligned_bss
static bool asm_emit_uninitialised PARAMS ((tree, const char*,
unsigned HOST_WIDE_INT,
unsigned HOST_WIDE_INT));
-static void resolve_unique_section PARAMS ((tree, int, int));
static void mark_weak PARAMS ((tree));
enum in_section { no_section, in_text, in_data, in_named
@@ -460,7 +459,7 @@ named_section (decl, name, reloc)
/* If required, set DECL_SECTION_NAME to a unique name. */
-static void
+void
resolve_unique_section (decl, reloc, flag_function_or_data_sections)
tree decl;
int reloc ATTRIBUTE_UNUSED;