Force a link error if a function is used from the wrong code chunk.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 1 Jan 2010 17:46:54 +0000 (12:46 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 1 Jan 2010 18:05:23 +0000 (13:05 -0500)
commitfdca41825dd5ed2f2d1ced2f6ecbd9077c4f6b86
tree5db7205e68e436bb0541c8a0b6cc94f815e4be1f
parentdad41d9f217cef9dc6c404d409f6c27b0454b73f
Force a link error if a function is used from the wrong code chunk.

Force functions intended for other code segments to be discarded
    during link - this will cause a link error if it used.
Clean up rom layout code to ensure discarded sections are not used.
src/types.h
tools/layoutrom.py