ld/
authorAlan Modra <amodra@gmail.com>
Wed, 18 Apr 2007 03:55:10 +0000 (03:55 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 18 Apr 2007 03:55:10 +0000 (03:55 +0000)
commit152d792f471303cf361c7c5dd5bba2d5dcc3e727
tree7f57895fca6d263f1e28d73eca4ffe89d3bd0519
parent4904bbd9d14123e56b89b97fb563012257ca9607
ld/
* ldlang.h (enum section_type): Add overlay_section.
* ldlang.c (lang_add_section): Handle flags for overlay_section
as per normal_section.
(lang_size_sections_1): When setting lma, detect overlays by
os->sectype rather than by looking for overlapping vmas.
(lang_enter_overlay_section): Use overlay_section type.
(lang_leave_overlay): Set first overlay section to normal.
ld/testsuite/
* ld-spu/ovl.lnk: Use OVERLAY keyword.
ld/ChangeLog
ld/ldlang.c
ld/ldlang.h
ld/testsuite/ChangeLog
ld/testsuite/ld-spu/ovl.lnk