aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-01-20 20:13:10 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-01-20 20:13:10 +0000
commit99482090e5b3b3151c81298a4a2219d0cf1865fb (patch)
treedb2615a16f6b61ab095fdd49eee7b26e5fa6bdaf /gcc
parent66bc6a9ecc5cc4aba9473abdc54930dfdcb1358e (diff)
downloadgcc-99482090e5b3b3151c81298a4a2219d0cf1865fb.zip
gcc-99482090e5b3b3151c81298a4a2219d0cf1865fb.tar.gz
gcc-99482090e5b3b3151c81298a4a2219d0cf1865fb.tar.bz2
output.h (output_constant): Delete.
* output.h (output_constant): Delete. * varasm.c (output_constant): Make private. From-SVN: r206855
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/output.h12
-rw-r--r--gcc/varasm.c6
3 files changed, 8 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7815479..01ef0ca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/output.h b/gcc/output.h
index fead3d3..2b32601 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 c975bfb..d46f008 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;