Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make TABLES appear before __MERGED by introducing a fake symbol in the TABLES section in the first file that goes into linking (TMap.asm[060] needs to be first, because it has all the startup code.) This works around a bug where vlink would place _LinkerDB (the symbol that all base-relative data addressing is relative to) into the last BSS section (formalery TABLES) instead of __MERGED. Now __MERGED is encountered after TABLES and thus _LinkerDB ends up in the right one. Define _custom as absolute global symbol. This way we don't need to link against amiga.lib
- Loading branch information
Showing
4 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters