aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2002-09-12 19:46:34 +0000
committerStan Shebs <shebs@gcc.gnu.org>2002-09-12 19:46:34 +0000
commit3f64e54373b3632e8359cd529078e740f67430e5 (patch)
tree9f5477043c0734438a17e6de2456bc28658db7ce
parent52bd31bbf73e748fed7b32288ed2528e8e1175b5 (diff)
downloadgcc-3f64e54373b3632e8359cd529078e740f67430e5.zip
gcc-3f64e54373b3632e8359cd529078e740f67430e5.tar.gz
gcc-3f64e54373b3632e8359cd529078e740f67430e5.tar.bz2
darwin.c (machopic_finish): Remove #if 0 chunks.
* config/darwin.c (machopic_finish): Remove #if 0 chunks. (machopic_operand_p): Ditto. From-SVN: r57079
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.c21
2 files changed, 6 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ea95d0..97c3617 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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>
* config/arm/arm.c (arm_compute_initial_elimination_offset):
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index fc162d0..f1370b9 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -859,18 +859,11 @@ machopic_finish (asm_out_file)
{
const char *const sym_name = IDENTIFIER_POINTER (TREE_VALUE (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))
continue;
- if (machopic_ident_defined_p (TREE_VALUE (temp))
-#if 0 /* add back when we have private externs */
- || (decl && DECL_PRIVATE_EXTERN (decl))
-#endif
- )
+ if (machopic_ident_defined_p (TREE_VALUE (temp)))
{
data_section ();
assemble_align (GET_MODE_ALIGNMENT (Pmode));
@@ -920,18 +913,6 @@ machopic_operand_p (op)
&& machopic_name_defined_p (XSTR (XEXP (op, 1), 0)))
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;
}