aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-10-21 09:20:49 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-10-21 09:20:49 +0000
commit7c6794f4843066ea2657691a94db06e5487e0097 (patch)
tree0cd83b1a7f7f39218409db38c44a7d1edc720149
parent9be10a794480e2d7a19c81cebaf02a6d2a54ff23 (diff)
downloadgcc-7c6794f4843066ea2657691a94db06e5487e0097.zip
gcc-7c6794f4843066ea2657691a94db06e5487e0097.tar.gz
gcc-7c6794f4843066ea2657691a94db06e5487e0097.tar.bz2
mips-protos.h (mips_output_aligned_bss): Delete.
gcc/ * config/mips/mips-protos.h (mips_output_aligned_bss): Delete. * config/mips/linux.h (BSS_SECTION_ASM_OP): Delete. (ASM_OUTPUT_ALIGNED_BSS): Delete. * config/mips/mips.c (mips_output_aligned_bss): Delete. From-SVN: r129527
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/mips/linux.h11
-rw-r--r--gcc/config/mips/mips-protos.h2
-rw-r--r--gcc/config/mips/mips.c21
4 files changed, 7 insertions, 34 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 83e0e0a..74526c8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2007-10-21 Richard Sandiford <rsandifo@nildram.co.uk>
+ * config/mips/mips-protos.h (mips_output_aligned_bss): Delete.
+ * config/mips/linux.h (BSS_SECTION_ASM_OP): Delete.
+ (ASM_OUTPUT_ALIGNED_BSS): Delete.
+ * config/mips/mips.c (mips_output_aligned_bss): Delete.
+
+2007-10-21 Richard Sandiford <rsandifo@nildram.co.uk>
+
* config/mips/mips.c (mips_function_ok_for_sibcall): Only forbid
sibling calls to "mips16" functions if the function satisfies
const_call_insn_operand.
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index 7a8dc72..4ee046a 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -24,17 +24,6 @@ along with GCC; see the file COPYING3. If not see
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
-/* If defined, a C expression whose value is a string containing the
- assembler operation to identify the following data as
- uninitialized global data. If not defined, and neither
- `ASM_OUTPUT_BSS' nor `ASM_OUTPUT_ALIGNED_BSS' are defined,
- uninitialized global data will be output in the data section if
- `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be
- used. */
-#define BSS_SECTION_ASM_OP "\t.section\t.bss"
-
-#define ASM_OUTPUT_ALIGNED_BSS mips_output_aligned_bss
-
#undef ASM_DECLARE_OBJECT_NAME
#define ASM_DECLARE_OBJECT_NAME mips_declare_object_name
diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h
index 646cdcd..b7e80a4 100644
--- a/gcc/config/mips/mips-protos.h
+++ b/gcc/config/mips/mips-protos.h
@@ -240,8 +240,6 @@ extern void print_operand_address (FILE *, rtx);
extern void mips_output_external (FILE *, tree, const char *);
extern void mips_output_filename (FILE *, const char *);
extern void mips_output_ascii (FILE *, const char *, size_t, const char *);
-extern void mips_output_aligned_bss (FILE *, tree, const char *,
- unsigned HOST_WIDE_INT, int);
extern void mips_output_aligned_decl_common (FILE *, tree, const char *,
unsigned HOST_WIDE_INT,
unsigned int);
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 2985871..0e647be 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -6949,27 +6949,6 @@ mips_output_ascii (FILE *stream, const char *string_param, size_t len,
}
fprintf (stream, "\"\n");
}
-
-#ifdef BSS_SECTION_ASM_OP
-/* Implement ASM_OUTPUT_ALIGNED_BSS. This differs from the default only
- in the use of sbss. */
-
-void
-mips_output_aligned_bss (FILE *stream, tree decl, const char *name,
- unsigned HOST_WIDE_INT size, int align)
-{
- extern tree last_assemble_variable_decl;
-
- if (mips_in_small_data_p (decl))
- switch_to_section (get_named_section (NULL, ".sbss", 0));
- else
- switch_to_section (bss_section);
- ASM_OUTPUT_ALIGN (stream, floor_log2 (align / BITS_PER_UNIT));
- last_assemble_variable_decl = decl;
- ASM_DECLARE_OBJECT_NAME (stream, name, decl);
- ASM_OUTPUT_SKIP (stream, size != 0 ? size : 1);
-}
-#endif
/* Emit either a label, .comm, or .lcomm directive. When using assembler
macros, mark the symbol as written so that mips_file_end won't emit an