* ldlang.c (lang_size_sections_1): Move check for conflicting load
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 27 May 2002 08:22:08 +0000 (08:22 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 27 May 2002 08:22:08 +0000 (08:22 +0000)
commitee3cc2e2eef036f2175d91ccba93d523d5418e23
treef8a77fba9ad489b8df3ced29474b1f87eee2acda
parent522ba268904ddac4b9c5c2dee2e3cba5c3343901
* ldlang.c (lang_size_sections_1): Move check for conflicting load
addresses and regions from here...
(lang_get_regions): ...to this new function.
(lang_leave_output_section_statement): Use lang_get_regions.
(lang_leave_overlay): Likewise.
* mri.c (mri_draw_tree): Pass null as last argument to
lang_leave_output_section_statement.
* emultempl/elf32.em (gld*_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld*_place_orphan): Likewise.
ld/ChangeLog
ld/emultempl/elf32.em
ld/emultempl/mmo.em
ld/emultempl/pe.em
ld/ldlang.c
ld/mri.c