aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-01-21 04:15:59 +0000
committerBen Elliston <bje@au.ibm.com>2005-01-21 04:15:59 +0000
commit7a64f7b8d66f81748f711b5511e716abd63548e0 (patch)
tree54dfcc2826b25017f24d545bdc505859be4a3c23 /ld/ldexp.c
parent753e3eb6f2b4236b9a357c2550b3b0df65f0221e (diff)
downloadgdb-7a64f7b8d66f81748f711b5511e716abd63548e0.zip
gdb-7a64f7b8d66f81748f711b5511e716abd63548e0.tar.gz
gdb-7a64f7b8d66f81748f711b5511e716abd63548e0.tar.bz2
* ldlang.c (lang_reasonable_defaults): Remove.
(lang_process): Don't call lang_reasonable_defaults. * ldexp.c (exp_assop): Remove #if 0'd code. (exp_print_tree): Likewise. * ldlang.c (lang_memory_region_lookup): Likewise. (open_output): Likewise. (lang_do_assignments_1): Likewise. (lang_place_orphans): Likewise. (lang_enter_output_section_statement): Likewise. (lang_reasonable_defaults): Likewise. * ldlang.h (struct lang_input_statement_struct): Likewise. * mri.c (mri_draw_tree): Likewise. (mri_load): Likewise. * pe-dll.c (generate_reloc): Likewise. (make_import_fixup_entry): Likewise. (pe_as16): Likewise. * emultempl/beos.em (set_pe_subsystem): Likewise. * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. * emultempl/pe.em: Likewise. * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index f971ecf..8336f52 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -935,10 +935,6 @@ exp_assop (int code, const char *dst, etree_type *src)
value.assign.dst = dst;
value.assign.type.node_class = etree_assign;
-#if 0
- if (exp_fold_tree_no_dot (&value, &result))
- return exp_intop (result);
-#endif
new = stat_alloc (sizeof (new->assign));
memcpy (new, &value, sizeof (new->assign));
return new;
@@ -997,13 +993,6 @@ exp_print_tree (etree_type *tree)
minfo ("%s+0x%v", tree->rel.section->name, tree->rel.value);
return;
case etree_assign:
-#if 0
- if (tree->assign.dst->sdefs != NULL)
- fprintf (config.map_file, "%s (%x) ", tree->assign.dst->name,
- tree->assign.dst->sdefs->value);
- else
- fprintf (config.map_file, "%s (UNDEFINED)", tree->assign.dst->name);
-#endif
fprintf (config.map_file, "%s", tree->assign.dst);
exp_print_token (tree->type.node_code, TRUE);
exp_print_tree (tree->assign.src);