diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-01-21 04:15:59 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-01-21 04:15:59 +0000 |
commit | 7a64f7b8d66f81748f711b5511e716abd63548e0 (patch) | |
tree | 54dfcc2826b25017f24d545bdc505859be4a3c23 /ld/mri.c | |
parent | 753e3eb6f2b4236b9a357c2550b3b0df65f0221e (diff) | |
download | gdb-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/mri.c')
-rw-r--r-- | ld/mri.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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 |