shithub: rgbds

Download patch

ref: ce8a13a5625ee27d027a6d949c37ee6fb367278d
parent: ff2321a8ce30c6d0af0e38b0383361b8841914a2
author: Ben10do <Ben10do@users.noreply.github.com>
date: Mon Jun 12 15:12:24 EDT 2017

Allow local symbols to be referenced

Local symbols can now be referenced outside the scope of their parent, by using the syntax “Parent.Chlid”.

- Local symbol names are now stored internally as “Parent.Child”.
- The symbol’s scope field no longer forms a linked list of the prior local symbols; it will now always contain the parent.
- Add the ability use EXPORT and GLOBAL with local symbols.
- Reduce duplication between findsymbol() and findpsymbol(), as well as between sym_AddLocalReloc() and sym_AddReloc().