summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>2010-03-24 16:07:51 +0000
committerMike Stump <mrs@gcc.gnu.org>2010-03-24 16:07:51 +0000
commitb98aa20c89ab5c5b237e5fad0294589a1c4a3cd0 (patch)
tree452c58c4d56f94af5fc21aafedfbe0a02bb023a7 /gcc/config/darwin.c
parentd0ed412a967910ba8fe96f328a22dc72e945181a (diff)
downloadgcc-b98aa20c89ab5c5b237e5fad0294589a1c4a3cd0.tar.gz
re PR java/43504 (many libjava testsuite regressions on x86_64-apple-darwin10)
PR java/43504 Revert fix for PR target/33120. From-SVN: r157697
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index da12c057ca9..101da9305c7 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1788,41 +1788,5 @@ darwin_patch_builtins (void)
#undef PATCH_BUILTIN_VARIADIC
}
-void
-darwin_output_aligned_bss(FILE *fp, tree decl, const char *name,
- unsigned HOST_WIDE_INT size, unsigned int align)
-{
- bool weak = (DECL_P (decl)
- && DECL_WEAK (decl)
- && !lookup_attribute ("weak_import",
- DECL_ATTRIBUTES (decl)));
- if (size == 0)
- size = 1;
- align = floor_log2 (align / BITS_PER_UNIT);
- if (DECL_ONE_ONLY (decl) || weak) {
- if (TREE_READONLY (decl) || TREE_CONSTANT (decl))
- switch_to_section (darwin_sections[const_data_coal_section]);
- else
- switch_to_section (darwin_sections[data_coal_section]);
- ASM_OUTPUT_ALIGN (fp, align);
- ASM_DECLARE_OBJECT_NAME (fp, name, decl);
- ASM_OUTPUT_SKIP (fp, size);
- return;
- }
-
- fputs (".zerofill ", fp);
- /* We uniquely name sections based upon the alignment as otherwise
- all symbols in the section would get that alignment. */
- if (TREE_READONLY (decl) || TREE_CONSTANT (decl))
- fputs ("__TEXT, ", fp);
- else
- fputs ("__DATA, ", fp);
- fprintf (fp, "__bss%d, ", align);
- assemble_name (fp, name);
- fprintf (fp, ", "HOST_WIDE_INT_PRINT_UNSIGNED", %u\n",
- size, align);
- (* targetm.encode_section_info) (decl, DECL_RTL (decl), false);
- machopic_define_symbol (DECL_RTL (decl));
-}
#include "gt-darwin.h"