summaryrefslogtreecommitdiff
path: root/tools/ovl_offset.pl (follow)
Commit message (Collapse)AuthorAge
* Fix .ncbss from possibly overlapping .ncdata in plugins/codecs.Michael Sevakis2013-07-11
| | | | | | | | | | | | | | | | | (Take #2) If .bss wasn't large enough, and .ncdata was empty, .ncbss would be at an address overlapping the alignment-padded end of .ncdata and and linking would fail with an overlap error. Adds plugin load end address that accounts for IRAM going past the final .bss sections, making IRAM overlay compatible. load_code could also use this instead of the file size. The .lds becomes a bit more straightforward and explicit when assigning addresses. Change-Id: Id0c33f257710e97ece2c831e0feaaa32c1a14e05
* Make overlay plugins work again.Frank Gevaerts2012-05-19
| | | | | | | | | | | | Overlay plugins got broken because ovl_offset.pl assumes the audio buffer ends where the plugin buffer starts. Buflib however keeps its handle table there, so there are a few hundred bytes fewer available, so loading the overlay fails. We work around this by linking the overlay at a slightly lower address (1024 bytes lower). If the handle table ever grows more than that, overlays will start failing again and we either need a different solution or increase the margin a bit. Change-Id: Id98cb52da2c8c4a4bc773362a46f646774112f85
* Set x bit aka fix red...Jens Arnold2009-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20164 a1c6a512-1295-4272-9138-f99709370657
* Calculate the optimal memory location for overlay plugins, and use ↵Jens Arnold2009-03-02
plugin.lds for linking them. This gets rid of hand-adjusted archos.lds, making it easy to use overlay plugins on other lowmem targets. * Fix some duplicate and incorrect dependencies. * Change the way libs are filtered, so that a lib can be specified more than once. This allows to get rid of explicitly linking gcc-support.o, fixing empty plugins on some simulator platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20163 a1c6a512-1295-4272-9138-f99709370657