From c2db721acba829f0b93e685f698b7795a84d9c2f Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Mon, 20 Jan 2014 20:13:10 +0000 Subject: [PATCH] * output.h (output_constant): Delete. * varasm.c (output_constant): Make private. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206855 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/output.h | 12 ------------ gcc/varasm.c | 6 +++--- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7815479a711..01ef0cadcf1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-20 Eric Botcazou + + * output.h (output_constant): Delete. + * varasm.c (output_constant): Make private. + 2014-01-20 Alex Velenko * config/aarch64/aarch64-simd.md (vec_perm): Add BE check. diff --git a/gcc/output.h b/gcc/output.h index fead3d31494..2b32601d861 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -290,18 +290,6 @@ extern void output_object_blocks (void); extern void output_quoted_string (FILE *, const char *); -/* Output assembler code for constant EXP to FILE, with no label. - This includes the pseudo-op such as ".int" or ".byte", and a newline. - Assumes output_addressed_constants has been done on EXP already. - - Generate at least SIZE bytes of assembler data, padding at the end - with zeros if necessary. SIZE must always be specified. The returned - value is the actual number of bytes of assembler data generated, which - may be bigger than SIZE if the object contains a variable length field. - - ALIGN is the alignment in bits that may be assumed for the data. */ -extern unsigned HOST_WIDE_INT output_constant (tree, unsigned HOST_WIDE_INT, unsigned int); - /* When outputting delayed branch sequences, this rtx holds the sequence being output. It is null when no delayed branch sequence is being output, so it can be used as a test in the diff --git a/gcc/varasm.c b/gcc/varasm.c index c975bfb9d70..d46f0084458 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -117,8 +117,8 @@ static int compare_constant (const tree, const tree); static tree copy_constant (tree); static void output_constant_def_contents (rtx); static void output_addressed_constants (tree); -static unsigned HOST_WIDE_INT array_size_for_constructor (tree); -static unsigned min_align (unsigned, unsigned); +static unsigned HOST_WIDE_INT output_constant (tree, unsigned HOST_WIDE_INT, + unsigned int); static void globalize_decl (tree); static bool decl_readonly_section_1 (enum section_category); #ifdef BSS_SECTION_ASM_OP @@ -4602,7 +4602,7 @@ static unsigned HOST_WIDE_INT ALIGN is the alignment of the data in bits. */ -unsigned HOST_WIDE_INT +static unsigned HOST_WIDE_INT output_constant (tree exp, unsigned HOST_WIDE_INT size, unsigned int align) { enum tree_code code; -- 2.11.4.GIT