From 7a64f7b8d66f81748f711b5511e716abd63548e0 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 21 Jan 2005 04:15:59 +0000 Subject: * 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. --- ld/mri.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'ld/mri.c') diff --git a/ld/mri.c b/ld/mri.c index aa344f66384..9ed4ca50e00 100644 --- a/ld/mri.c +++ b/ld/mri.c @@ -120,19 +120,6 @@ mri_draw_tree (void) if (done_tree) return; -#if 0 /* We don't bother with memory regions. */ - /* Create the regions. */ - { - lang_memory_region_type *r; - - r = lang_memory_region_lookup("long"); - r->current = r->origin = exp_get_vma (base, (bfd_vma)0, "origin", - lang_first_phase_enum); - r->length = (bfd_size_type) exp_get_vma (0, ~(bfd_vma) 0, "length", - lang_first_phase_enum); - } -#endif - /* Now build the statements for the ldlang machine. */ /* Attach the addresses of any which have addresses, @@ -255,9 +242,6 @@ mri_load (const char *name) { base = 0; lang_add_input_file (name, lang_input_file_is_file_enum, NULL); -#if 0 - lang_leave_output_section_statement (0, "*default*"); -#endif } void -- cgit v1.2.3