Commit 3f64e543 by Stan Shebs Committed by Stan Shebs

darwin.c (machopic_finish): Remove #if 0 chunks.

        * config/darwin.c (machopic_finish): Remove #if 0 chunks.
        (machopic_operand_p): Ditto.

From-SVN: r57079
parent 52bd31bb
2002-09-12 Stan Shebs <shebs@apple.com>
* config/darwin.c (machopic_finish): Remove #if 0 chunks.
(machopic_operand_p): Ditto.
2002-09-12 Kazu Hirata <kazu@cs.umass.edu> 2002-09-12 Kazu Hirata <kazu@cs.umass.edu>
* config/arm/arm.c (arm_compute_initial_elimination_offset): * config/arm/arm.c (arm_compute_initial_elimination_offset):
......
...@@ -859,18 +859,11 @@ machopic_finish (asm_out_file) ...@@ -859,18 +859,11 @@ machopic_finish (asm_out_file)
{ {
const char *const sym_name = IDENTIFIER_POINTER (TREE_VALUE (temp)); const char *const sym_name = IDENTIFIER_POINTER (TREE_VALUE (temp));
const char *const lazy_name = IDENTIFIER_POINTER (TREE_PURPOSE (temp)); const char *const lazy_name = IDENTIFIER_POINTER (TREE_PURPOSE (temp));
#if 0
tree decl = lookup_name_darwin (TREE_VALUE (temp));
#endif
if (! TREE_USED (temp)) if (! TREE_USED (temp))
continue; continue;
if (machopic_ident_defined_p (TREE_VALUE (temp)) if (machopic_ident_defined_p (TREE_VALUE (temp)))
#if 0 /* add back when we have private externs */
|| (decl && DECL_PRIVATE_EXTERN (decl))
#endif
)
{ {
data_section (); data_section ();
assemble_align (GET_MODE_ALIGNMENT (Pmode)); assemble_align (GET_MODE_ALIGNMENT (Pmode));
...@@ -920,18 +913,6 @@ machopic_operand_p (op) ...@@ -920,18 +913,6 @@ machopic_operand_p (op)
&& machopic_name_defined_p (XSTR (XEXP (op, 1), 0))) && machopic_name_defined_p (XSTR (XEXP (op, 1), 0)))
return 1; return 1;
#if 0 /*def TARGET_TOC*/ /* i.e., PowerPC */
/* Without this statement, the compiler crashes while compiling enquire.c
when targetting PowerPC. It is not known why this code is not needed
when targetting other processors. */
else if (GET_CODE (op) == SYMBOL_REF
&& (machopic_classify_name (XSTR (op, 0))
== MACHOPIC_DEFINED_FUNCTION))
{
return 1;
}
#endif
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment