From cb274b8f30263f8af2e46d628381ac99d9ca7b6c Mon Sep 17 00:00:00 2001 From: amylaar Date: Sat, 6 Nov 2010 15:04:52 +0000 Subject: PR middle-end/46314 gcc: * target.def (generate_internal_label): New asm_out hook. * output.h (default_generate_internal_label): Declare. * varasm.c (default_generate_internal_label): Define. gcc/cp: * method.c (make_alias_for_thunk): Use targetm.asm_out.generate_internal_label. gcc/java: * class.c: Include target.h. (make_local_function_alias): Use targetm.asm_out.generate_internal_label. * expr.c (lookup_label, generate_name): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166404 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/varasm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/varasm.c') diff --git a/gcc/varasm.c b/gcc/varasm.c index 4739410081a..fe60bb2397d 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -6607,6 +6607,16 @@ default_emit_except_table_label (FILE * stream ATTRIBUTE_UNUSED) { } +/* This is how to output an internal numbered label where PREFIX is + the class of label and LABELNO is the number within the class. */ + +void +default_generate_internal_label (char *buf, const char *prefix, + unsigned long labelno) +{ + ASM_GENERATE_INTERNAL_LABEL (buf, prefix, labelno); +} + /* This is how to output an internal numbered label where PREFIX is the class of label and LABELNO is the number within the class. */ -- cgit v1.2.1