mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 21:22:20 +08:00
* 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.
This commit is contained in:
11
ld/ldexp.c
11
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);
|
||||
|
Reference in New Issue
Block a user