]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
output.h (output_constant): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Jan 2014 20:13:10 +0000 (20:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 20 Jan 2014 20:13:10 +0000 (20:13 +0000)
* output.h (output_constant): Delete.
* varasm.c (output_constant): Make private.

From-SVN: r206855

gcc/ChangeLog
gcc/output.h
gcc/varasm.c

index 7815479a7116123014e53d8e56252b9ead91db95..01ef0cadcf19f6e33734d686dc18e7bc4c4ed066 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-20  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * output.h (output_constant): Delete.
+       * varasm.c (output_constant): Make private.
+
 2014-01-20  Alex Velenko  <Alex.Velenko@arm.com>
 
        * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check.
index fead3d31494e411be88a93b43816c5c230fa3eb2..2b32601d861c45d81448f80291792c4742f15303 100644 (file)
@@ -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
index c975bfb9d702482694f387492f73afa4a1e05dd7..d46f0084458b60a6d8a69835334440d02dd58bcf 100644 (file)
@@ -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;