* output.h (unlikely_section_label): Delete declaration.
(unlikely_text_section_name): Likewise.
* varasm.c (unlikely_section_label_printed): Make static.
(unlikely_section_label): Likewise.
(unlikely_text_section_name): Likewise.
From-SVN: r87313
2004-09-10 Geoffrey Keating <geoffk@apple.com>
+ * output.h (unlikely_section_label): Delete declaration.
+ (unlikely_text_section_name): Likewise.
+ * varasm.c (unlikely_section_label_printed): Make static.
+ (unlikely_section_label): Likewise.
+ (unlikely_text_section_name): Likewise.
+ (assemble_start_function): Use reconcat.
+
* rtl.def (REG): Add comment to describe third field.
2004-09-10 Andrew Pinski <apinski@apple.com>
* config/cris/cris.md ("return"): For location of return address,
also check cris_return_address_on_stack.
->>>>>>> 2.5354
2004-09-09 Diego Novillo <dnovillo@redhat.com>
* tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in
config/rs6000/linux64.h: Likewise. Split out get_sigcontext
function. Use ARG_POINTER_REGNUM for 32-bit temp reg too.
->>>>>>> 2.5334
2004-09-07 Jan Hubicka <jh@suse.cz>
* cse.c (fold_rtx): Avoid building of
/* The first weak object in the file. */
extern const char *weak_global_object_name;
-/* Label at start of unlikely section, when partitioning hot/cold basic
- blocks. */
-extern char *unlikely_section_label;
-
/* Nonzero if function being compiled doesn't contain any calls
(ignoring the prologue and epilogue). This is set prior to
local register allocation and is valid for the remaining
extern bool decl_readonly_section (tree, int);
extern bool decl_readonly_section_1 (tree, int, int);
-/* The following global variable indicates the section name to be used
- for the current cold section, when partitioning hot and cold basic
- blocks into separate sections. */
-
-extern char *unlikely_text_section_name;
-
/* This can be used to compute RELOC for the function above, when
given a constant expression. */
extern int compute_reloc_for_constant (tree);
partitions hot and cold basic blocks into separate sections of the .o
file. */
-bool unlikely_section_label_printed = false;
+static bool unlikely_section_label_printed = false;
/* The following global variable indicates the label name to be put at
the start of the first cold section within each function, when
partitioning basic blocks into hot and cold sections. */
-char *unlikely_section_label = NULL;
+static char *unlikely_section_label = NULL;
/* The following global variable indicates the section name to be used
for the current cold section, when partitioning hot and cold basic
blocks into separate sections. */
-char *unlikely_text_section_name = NULL;
+static char *unlikely_text_section_name = NULL;
/* We give all constants their own alias set. Perhaps redundant with
MEM_READONLY_P, but pre-dates it. */
unlikely_section_label_printed = false;
unlikely_text_section_name = NULL;
- if (unlikely_section_label)
- free (unlikely_section_label);
- unlikely_section_label = xmalloc ((strlen (fnname) + 18) * sizeof (char));
- sprintf (unlikely_section_label, "%s_unlikely_section", fnname);
+ unlikely_section_label = reconcat (unlikely_section_label,
+ fnname, ".unlikely_section", NULL);
/* The following code does not need preprocessing in the assembler. */