PR18452, ld allows overlapping sections
authorAlan Modra <amodra@gmail.com>
Fri, 8 Apr 2016 08:22:03 +0000 (17:52 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 8 Apr 2016 14:11:44 +0000 (23:41 +0930)
commit136a43b762ce7bc692645cc0d9d50c934f9aa392
treedb533380053e2f10f28e97d5209a471bf643c9b7
parent065005336492337c92d06e87544646635a5b9566
PR18452, ld allows overlapping sections

PR 18452
* ldlang.c (maybe_overlays): Delete.
(lang_size_sections_1): Remove code setting maybe_overlays.
(lang_check_section_addresses): Instead detect overlays by
exact match of section VMAs here.  Fix memory leak.
ld/ChangeLog
ld/ldlang.c